Commit d55c8159bddd133610e18174b4c4d02a3484a173

Authored by Ezequiel Garcia
Committed by Michal Simek
1 parent f25ac66c52

nand: arasan: Select CONFIG_SYS_NAND_SELF_INIT

The Arasan NFC driver requires the self-init mode,
so it should select it.

Instead of having the config header define the macro,
it's cleaner to select the option at the Kconfig level.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff

drivers/mtd/nand/Kconfig
... ... @@ -123,6 +123,7 @@
123 123  
124 124 config NAND_ARASAN
125 125 bool "Configure Arasan Nand"
  126 + select SYS_NAND_SELF_INIT
126 127 imply CMD_NAND
127 128 help
128 129 This enables Nand driver support for Arasan nand flash
include/configs/xilinx_zynqmp.h
... ... @@ -76,7 +76,6 @@
76 76  
77 77 #ifdef CONFIG_NAND_ARASAN
78 78 # define CONFIG_SYS_MAX_NAND_DEVICE 1
79   -# define CONFIG_SYS_NAND_SELF_INIT
80 79 # define CONFIG_SYS_NAND_ONFI_DETECTION
81 80 # define CONFIG_MTD_DEVICE
82 81 #endif