mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Add JFFS2 command support on OneNAND
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
committed by
Wolfgang Denk
parent
f5c3ba7978
commit
1a7f8ccec9
@@ -28,9 +28,12 @@
|
||||
#include <linux/list.h>
|
||||
|
||||
/* mtd device types */
|
||||
#define MTD_DEV_TYPE_NOR 0x0001
|
||||
#define MTD_DEV_TYPE_NAND 0x0002
|
||||
#define MTD_DEV_TYPE(type) ((type == MTD_DEV_TYPE_NAND) ? "nand" : "nor")
|
||||
#define MTD_DEV_TYPE_NOR 0x0001
|
||||
#define MTD_DEV_TYPE_NAND 0x0002
|
||||
#define MTD_DEV_TYPE_ONENAND 0x0004
|
||||
|
||||
#define MTD_DEV_TYPE(type) ((type == MTD_DEV_TYPE_NAND) ? "nand" : \
|
||||
(type == MTD_DEV_TYPE_ONENAND) ? "onenand" : "nor")
|
||||
|
||||
struct mtd_device {
|
||||
struct list_head link;
|
||||
|
Reference in New Issue
Block a user