mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-15 14:43:49 +09:00
[Motion-PRO] Add MTD and JFFS2 support, also add default partition
definition.
This commit is contained in:
parent
de1de02a7c
commit
7d98ba770a
@ -51,6 +51,7 @@
|
|||||||
CFG_CMD_PING | \
|
CFG_CMD_PING | \
|
||||||
CFG_CMD_IDE | \
|
CFG_CMD_IDE | \
|
||||||
CFG_CMD_FAT | \
|
CFG_CMD_FAT | \
|
||||||
|
CFG_CMD_JFFS2 | \
|
||||||
CFG_CMD_I2C | \
|
CFG_CMD_I2C | \
|
||||||
CFG_CMD_DATE | \
|
CFG_CMD_DATE | \
|
||||||
CFG_CMD_EEPROM)
|
CFG_CMD_EEPROM)
|
||||||
@ -260,6 +261,14 @@
|
|||||||
#define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */
|
#define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */
|
||||||
#define CONFIG_FLASH_16BIT /* Flash is 16-bit */
|
#define CONFIG_FLASH_16BIT /* Flash is 16-bit */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* MTD configuration
|
||||||
|
*/
|
||||||
|
#define CONFIG_JFFS2_CMDLINE
|
||||||
|
#define MTDIDS_DEFAULT "nor0=motionpro-0"
|
||||||
|
#define MTDPARTS_DEFAULT "mtdparts=motionpro-0:" \
|
||||||
|
"13m(fs),2m(kernel),256k(uboot)," \
|
||||||
|
"64k(env),64k(dtb),-(user_data)"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IDE/ATA configuration
|
* IDE/ATA configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user