mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
Add JFFS2 command support on OneNAND
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
This commit is contained in:
parent
f5c3ba7978
commit
1a7f8ccec9
3 changed files with 187 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue