mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
cmd: ubi: delete useless and misleading definitions
These definitions are simply not used and are misleading because similar definitions exist in jffs2/load_kernel.h and are used widely to define MTD device types (which is, by the way, totally redundant with what the MTD core does). Remove these definitions. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
This commit is contained in:
committed by
Jagan Teki
parent
b0036f7004
commit
b01c146d18
@@ -27,11 +27,6 @@
|
|||||||
#undef ubi_msg
|
#undef ubi_msg
|
||||||
#define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__)
|
#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 */
|
/* Private own data */
|
||||||
static struct ubi_device *ubi;
|
static struct ubi_device *ubi;
|
||||||
static char buffer[80];
|
static char buffer[80];
|
||||||
|
Reference in New Issue
Block a user