mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
Convert CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT to Kconfig
This converts the following to Kconfig: CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT In order to do this conversion, expose this option to the user and use "save" not "safe" in the text. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
d5bfef2fcd
commit
4d69303299
5 changed files with 4 additions and 4 deletions
|
@ -61,6 +61,7 @@ CONFIG_AT91_GPIO=y
|
|||
# CONFIG_MMC is not set
|
||||
CONFIG_MTD=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT=y
|
||||
# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
|
||||
CONFIG_NAND_ATMEL=y
|
||||
CONFIG_SYS_NAND_BLOCK_SIZE=0x20000
|
||||
|
|
|
@ -47,6 +47,7 @@ CONFIG_CLK_AT91=y
|
|||
CONFIG_AT91_GPIO=y
|
||||
CONFIG_GENERIC_ATMEL_MCI=y
|
||||
CONFIG_MTD=y
|
||||
CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT=y
|
||||
# CONFIG_SYS_NAND_USE_FLASH_BBT is not set
|
||||
CONFIG_NAND_ATMEL=y
|
||||
CONFIG_DM_ETH=y
|
||||
|
|
|
@ -10,9 +10,9 @@ config SYS_NAND_SELF_INIT
|
|||
NAND initialization process.
|
||||
|
||||
config SYS_NAND_DRIVER_ECC_LAYOUT
|
||||
bool
|
||||
bool "Omit standard ECC layouts to save space"
|
||||
help
|
||||
Omit standard ECC layouts to safe space. Select this if your driver
|
||||
Omit standard ECC layouts to save space. Select this if your driver
|
||||
is known to provide its own ECC layout.
|
||||
|
||||
config SYS_NAND_USE_FLASH_BBT
|
||||
|
|
|
@ -66,7 +66,6 @@
|
|||
#define CONFIG_SYS_NAND_MASK_CLE (1 << 22)
|
||||
#define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PC14
|
||||
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PC8
|
||||
#define CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT
|
||||
#endif
|
||||
|
||||
/* Ethernet */
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#define CONFIG_SYS_NAND_MASK_CLE BIT(22)
|
||||
#define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PC14
|
||||
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PD3
|
||||
#define CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT
|
||||
#endif
|
||||
|
||||
/* Ethernet */
|
||||
|
|
Loading…
Reference in a new issue