summaryrefslogtreecommitdiff
path: root/drivers/memory
diff options
context:
space:
mode:
authorBastien Curutchet <[email protected]>2024-10-21 17:13:27 +0200
committerTom Rini <[email protected]>2024-10-29 18:45:22 -0600
commitf437f786cdba7bd909c480977cfc4de5ab004c3f (patch)
tree7397b6c95f8acaea56fdeb4d828e2c6a851d5ced /drivers/memory
parent1ba44c8eed7c1c623f7010401bb0b8d2e59a8d8a (diff)
memory: ti-aemif: Add ARCH_DAVINCI to architectures that uses TI_AEMIF
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 <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/memory')
-rw-r--r--drivers/memory/Kconfig2
-rw-r--r--drivers/memory/ti-aemif.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/memory/Kconfig b/drivers/memory/Kconfig
index d10edd27746..7c40f176987 100644
--- a/drivers/memory/Kconfig
+++ b/drivers/memory/Kconfig
@@ -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
diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c
index 8e7ddde970b..82a9c8cf7b9 100644
--- a/drivers/memory/ti-aemif.c
+++ b/drivers/memory/ti-aemif.c
@@ -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)