The MUX_MMIO is enabled both in SPL as well as U-Boot proper. Hence,
add SPL_MUX_MMIO dependency from HBMC driver.

Signed-off-by: Anurag Dutta <a-du...@ti.com>
---
 drivers/mtd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig
index 2b7f5e5ed7b..729db904200 100644
--- a/drivers/mtd/Kconfig
+++ b/drivers/mtd/Kconfig
@@ -202,7 +202,7 @@ config RENESAS_RPC_HF
 
 config HBMC_AM654
        bool "HyperBus controller driver for AM65x SoC"
-       depends on MULTIPLEXER && MUX_MMIO
+       depends on MULTIPLEXER && (MUX_MMIO || SPL_MUX_MMIO) 
        help
         This is the driver for HyperBus controller on TI's AM65x and
         other SoCs
-- 
2.34.1

Reply via email to