mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
Convert CONFIG_NAND_KMETER1 et al to Kconfig
This converts the following to Kconfig: CONFIG_NAND_ECC_BCH CONFIG_NAND_KIRKWOOD CONFIG_NAND_KMETER1 Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
6c03a65275
commit
9200011e95
5 changed files with 14 additions and 4 deletions
|
@ -34,7 +34,6 @@
|
|||
* NAND configuration
|
||||
*/
|
||||
#ifdef CONFIG_CMD_NAND
|
||||
#define CONFIG_NAND_KIRKWOOD
|
||||
#define CFG_SYS_NAND_BASE 0xD8000000 /* MV_DEFADR_NANDF */
|
||||
#define NAND_ALLOW_ERASE_ALL 1
|
||||
#endif
|
||||
|
|
|
@ -235,6 +235,7 @@ CONFIG_FLASH_CFI_MTD=y
|
|||
CONFIG_SYS_FLASH_PROTECTION=y
|
||||
CONFIG_SYS_FLASH_CFI=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_NAND_KMETER1=y
|
||||
CONFIG_DM_ETH_PHY=y
|
||||
CONFIG_QE_UEC=y
|
||||
# CONFIG_PCI is not set
|
||||
|
|
|
@ -225,6 +225,19 @@ config NAND_FSL_IFC
|
|||
help
|
||||
Enable the Freescale Integrated Flash Controller NAND driver.
|
||||
|
||||
config NAND_KIRKWOOD
|
||||
bool "Support for Kirkwood NAND controller"
|
||||
depends on ARCH_KIRKWOOD
|
||||
default y
|
||||
|
||||
config NAND_ECC_BCH
|
||||
bool
|
||||
|
||||
config NAND_KMETER1
|
||||
bool "Support KMETER1 NAND controller"
|
||||
depends on VENDOR_KM
|
||||
select NAND_ECC_BCH
|
||||
|
||||
config NAND_LPC32XX_MLC
|
||||
bool "Support LPC32XX_MLC controller"
|
||||
select SYS_NAND_SELF_INIT
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
{1, {I2C_NULL_HOP} } }
|
||||
|
||||
#if defined(CONFIG_CMD_NAND)
|
||||
#define CONFIG_NAND_KMETER1
|
||||
#define CFG_SYS_NAND_BASE CFG_SYS_KMBEC_FPGA_BASE
|
||||
#endif
|
||||
|
||||
|
|
|
@ -9,8 +9,6 @@
|
|||
#define __CONFIG_H
|
||||
|
||||
#define CONFIG_HOSTNAME "kmcoge5ne"
|
||||
#define CONFIG_NAND_ECC_BCH
|
||||
#define CONFIG_NAND_KMETER1
|
||||
#define NAND_MAX_CHIPS 1
|
||||
#define CFG_SYS_NAND_BASE CFG_SYS_KMBEC_FPGA_BASE /* PRIO_BASE_ADDRESS */
|
||||
|
||||
|
|
Loading…
Reference in a new issue