ARM: socfpga: remove unneeded NAND config options
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 2 Sep 2017 01:53:11 +0000 (10:53 +0900)
committerMarek Vasut <marex@denx.de>
Sat, 23 Sep 2017 13:13:20 +0000 (15:13 +0200)
CONFIG_NAND_DENALI select's CONFIG_SYS_NAND_SELF_INIT, so the
NAND initialization process is driven by the driver itself.
CONFIG_SYS_NAND_MAX_CHIPS and CONFIG_SYS_NAND_BASE are unused.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/socfpga_common.h

index 9897e11b5913461c4ced0d99e4b495249da98099..7b5417a75bca351ad233fcd771857d346a890fb3 100644 (file)
  */
 #ifdef CONFIG_NAND_DENALI
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
-#define CONFIG_SYS_NAND_MAX_CHIPS      1
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 #define CONFIG_NAND_DENALI_ECC_SIZE    512
 #define CONFIG_SYS_NAND_REGS_BASE      SOCFPGA_NANDREGS_ADDRESS
 #define CONFIG_SYS_NAND_DATA_BASE      SOCFPGA_NANDDATA_ADDRESS
-#define CONFIG_SYS_NAND_BASE           (CONFIG_SYS_NAND_DATA_BASE + 0x10)
 #endif
 
 /*