]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: rawnand: omap_gpmc: Enable build for K2/K3 platforms
authorRoger Quadros <rogerq@kernel.org>
Tue, 11 Oct 2022 11:50:00 +0000 (14:50 +0300)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sat, 10 Dec 2022 10:11:25 +0000 (11:11 +0100)
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 <rogerq@kernel.org>
Reviewed-By: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/all/20221011115012.6181-3-rogerq@kernel.org
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/Kconfig

index da2c5795bc32cea77791ddc312fd05c76a949c1b..8aaba8b1a2cf74dd049a29244e9602dba64a61a3 100644 (file)
@@ -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