]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
memory: ti-aemif: Add ARCH_DAVINCI to architectures that uses TI_AEMIF
authorBastien Curutchet <bastien.curutchet@bootlin.com>
Mon, 21 Oct 2024 15:13:27 +0000 (17:13 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Oct 2024 00:45:22 +0000 (18:45 -0600)
TI_AEMIF configuration doesn't depend on ARCH_DAVINCI while the AEMIF
controller is present in the DaVinci SoCs.

Add ARCH_DAVINCI to the potential users of the TI_AEMIF driver
Add <asm/io.h> to driver's includes to fix build issue on ARCH_DAVINCI

Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/memory/Kconfig
drivers/memory/ti-aemif.c

index d10edd2774677f2bb76a32bc71cbcee309f181b7..7c40f176987d72cd1514d187caf04eaf947e90ad 100644 (file)
@@ -39,7 +39,7 @@ config STM32_FMC2_EBI
 
 config TI_AEMIF
        tristate "Texas Instruments AEMIF driver"
-       depends on ARCH_KEYSTONE
+       depends on ARCH_KEYSTONE || ARCH_DAVINCI
        help
          This driver is for the AEMIF module available in Texas Instruments
          SoCs. AEMIF stands for Asynchronous External Memory Interface and
index 8e7ddde970bd3ceb276ce711aa8b2409021c3caa..82a9c8cf7b981e57fa5c81574f59bc86e530a08b 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <asm/arch/hardware.h>
+#include <asm/io.h>
 #include <asm/ti-common/ti-aemif.h>
 
 #define AEMIF_WAITCYCLE_CONFIG         (0x4)