mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-08-17 10:46:16 -04:00
nmdk8815: fix onenand support
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
0176c03a24
commit
2579019b82
@ -48,7 +48,6 @@
|
|||||||
#define CONFIG_SYS_NO_FLASH
|
#define CONFIG_SYS_NO_FLASH
|
||||||
/* There is NAND storage */
|
/* There is NAND storage */
|
||||||
#define CONFIG_NAND_NOMADIK
|
#define CONFIG_NAND_NOMADIK
|
||||||
#define CONFIG_CMD_NAND
|
|
||||||
#define CONFIG_CMD_JFFS2
|
#define CONFIG_CMD_JFFS2
|
||||||
|
|
||||||
/* user interface */
|
/* user interface */
|
||||||
@ -131,7 +130,7 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_BOOT_ONENAND
|
#ifdef CONFIG_BOOT_ONENAND
|
||||||
|
|
||||||
# undef CONFIG_CMD_NAND /* Temporary: nand and onenand can't coexist */
|
# define CONFIG_CMD_ONENAND /* Temporary: nand and onenand can't coexist */
|
||||||
/* Partition Size Start
|
/* Partition Size Start
|
||||||
* XloaderTOC + X-Loader 256KB 0x00000000
|
* XloaderTOC + X-Loader 256KB 0x00000000
|
||||||
* Memory init function 256KB 0x00040000
|
* Memory init function 256KB 0x00040000
|
||||||
@ -149,7 +148,7 @@
|
|||||||
|
|
||||||
#else /* ! CONFIG_BOOT_ONENAND */
|
#else /* ! CONFIG_BOOT_ONENAND */
|
||||||
|
|
||||||
# undef CONFIG_CMD_ONENAND /* Temporary: nand and onenand can't coexist */
|
# define CONFIG_CMD_NAND /* Temporary: nand and onenand can't coexist */
|
||||||
|
|
||||||
# define CONFIG_JFFS2_DEV "nand0"
|
# define CONFIG_JFFS2_DEV "nand0"
|
||||||
# define CONFIG_JFFS2_NAND 1 /* For the jffs2 support*/
|
# define CONFIG_JFFS2_NAND 1 /* For the jffs2 support*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user