diff options
author | Kyungmin Park <kmpark@infradead.org> | 2008-08-27 14:45:20 +0900 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-09-06 22:50:08 +0200 |
commit | 1a7f8ccec981648ccd38fca2535490582eee08e6 (patch) | |
tree | 888fc9b891ce35676332a56ddbfd69576f991045 /include/jffs2 | |
parent | f5c3ba79788b0e39baab7026d374fe375dd1a43f (diff) | |
download | u-boot-imx-1a7f8ccec981648ccd38fca2535490582eee08e6.zip u-boot-imx-1a7f8ccec981648ccd38fca2535490582eee08e6.tar.gz u-boot-imx-1a7f8ccec981648ccd38fca2535490582eee08e6.tar.bz2 |
Add JFFS2 command support on OneNAND
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/jffs2')
-rw-r--r-- | include/jffs2/load_kernel.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/jffs2/load_kernel.h b/include/jffs2/load_kernel.h index 882a80e..551fd0c 100644 --- a/include/jffs2/load_kernel.h +++ b/include/jffs2/load_kernel.h @@ -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; |