Skip to content

Commit ea11788

Browse files
bastien-curutchetmiquelraynal
authored andcommitted
mtd: rawnand: davinci: Always depends on TI_AEMIF
DAVINCI_NAND depends on TI_AEMIF only when ARCH_KEYSTONE is selected while the NAND controller is also always a part of the AEMIF controller on DaVinci SoCs. Set a dependency on TI_AEMIF regardless of the selected architecture. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Bastien Curutchet <[email protected]> Signed-off-by: Miquel Raynal <[email protected]>
1 parent 376a0b9 commit ea11788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/mtd/nand/raw/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@ config MTD_NAND_SH_FLCTL
279279

280280
config MTD_NAND_DAVINCI
281281
tristate "DaVinci/Keystone NAND controller"
282-
depends on ARCH_DAVINCI || (ARCH_KEYSTONE && TI_AEMIF) || COMPILE_TEST
283-
depends on HAS_IOMEM
282+
depends on COMPILE_TEST || ARCH_DAVINCI || ARCH_KEYSTONE
283+
depends on HAS_IOMEM && TI_AEMIF
284284
help
285285
Enable the driver for NAND flash chips on Texas Instruments
286286
DaVinci/Keystone processors.

0 commit comments

Comments
 (0)