nand: atmel: Rework ATMEL_EBI and DM_NAND_ATMEL interaction
authorTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 15:31:36 +0000 (09:31 -0600)
committerMichael Trimarchi <michael@amarulasolutions.com>
Thu, 9 Oct 2025 18:57:27 +0000 (20:57 +0200)
commitef0f6e7a9993067e96660ae029080d7e944da1f2
tree1e0e40ebe8b1d548d7e6e7785701d8b443afbbe5
parent178d18862af33072c0791ec05241402bdb49cd1e
nand: atmel: Rework ATMEL_EBI and DM_NAND_ATMEL interaction

The way that the NAND driver under DM_NAND_ATMEL is probed is by the
dummy memory driver controlled by ATMEL_EBI. Rather than require that
for NAND to work both be enabled, make NAND select ATMEL_EBI and do not
prompt for ATMEL_EBI as it only triggers the probe for NAND.

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
drivers/memory/Kconfig
drivers/mtd/nand/raw/Kconfig