nand: Kconfig: Change dependency for NAND_ARASAN
authorMichal Simek <michal.simek@xilinx.com>
Wed, 19 Aug 2020 07:59:52 +0000 (09:59 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 23 Sep 2020 08:31:40 +0000 (10:31 +0200)
commita253092d499969bcf774de98dc5374328bf74d15
tree975b9857b91da1a4c6346322381758a615503dc6
parented6d31c8a67449f24cbf5a5ae56ba675d41ffa8e
nand: Kconfig: Change dependency for NAND_ARASAN

NAND_ARASAN selecting DM_MTD uunconditionally. Driver can be enabled with
!DM that's why Kconfig it showing it as error:

WARNING: unmet direct dependencies detected for DM_MTD
  Depends on [n]: DM [=n]
  Selected by [y]:
  - NAND_ARASAN [=y] && MTD_RAW_NAND [=y]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
configs/xilinx_zynqmp_mini_nand_defconfig
configs/xilinx_zynqmp_mini_nand_single_defconfig
configs/xilinx_zynqmp_virt_defconfig
drivers/mtd/nand/raw/Kconfig