#undef ubi_msg
#define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__)
- #define DEV_TYPE_NONE 0
- #define DEV_TYPE_NAND 1
- #define DEV_TYPE_ONENAND 2
- #define DEV_TYPE_NOR 3
-
/* Private own data */
static struct ubi_device *ubi;
- static char buffer[80];
- static int ubi_initialized;
-
- struct selected_dev {
- char part_name[80];
- int selected;
- int nr;
- struct mtd_info *mtd_info;
- };
-
- static struct selected_dev ubi_dev;
#ifdef CONFIG_CMD_UBIFS
-int ubifs_is_mounted(void);
-void cmd_ubifs_umount(void);
+#include <ubifs_uboot.h>
#endif
static void display_volume_info(struct ubi_device *ubi)