From: Roger Quadros Date: Tue, 11 Oct 2022 11:50:00 +0000 (+0300) Subject: mtd: rawnand: omap_gpmc: Enable build for K2/K3 platforms X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=472229fcfc84e850b78c39f86638c194f78ab89d;p=u-boot.git mtd: rawnand: omap_gpmc: Enable build for K2/K3 platforms The GPMC module is present on some K2 and K3 SoCs. Enable building GPMC NAND driver for K2/K3 platforms. Signed-off-by: Roger Quadros Reviewed-By: Michael Trimarchi Link: https://lore.kernel.org/all/20221011115012.6181-3-rogerq@kernel.org Signed-off-by: Dario Binacchi --- diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig index da2c5795bc..8aaba8b1a2 100644 --- a/drivers/mtd/nand/raw/Kconfig +++ b/drivers/mtd/nand/raw/Kconfig @@ -197,7 +197,7 @@ config NAND_LPC32XX_SLC config NAND_OMAP_GPMC bool "Support OMAP GPMC NAND controller" - depends on ARCH_OMAP2PLUS + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 help Enables omap_gpmc.c driver for OMAPx and AMxxxx platforms. GPMC controller is used for parallel NAND flash devices, and can