summaryrefslogtreecommitdiff
path: root/include/soc
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2023-01-11 18:40:18 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-01-18 11:52:06 +0100
commit667a019618c91d41cb1b59390f4480e3c9a5eb45 (patch)
treecac8b485eda06547ce55076391bb50809f945fe3 /include/soc
parent0ab712f507f2a8c020b7edb032b68944185ed862 (diff)
downloadbarebox-667a019618c91d41cb1b59390f4480e3c9a5eb45.tar.gz
memory: add Atmel EBI driver
This driver is used to configure the EBI (external bus interface) when the device-tree is used. This bus supports NANDs, external Ethernet controller, SRAMs, ATA devices, etc. We import it from Linux in barebox in preparation for importing a newer state of the Atmel NAND controller driver. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230111174023.1719129-11-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/at91/atmel-sfr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/at91/atmel-sfr.h b/include/soc/at91/atmel-sfr.h
index 7418c5cab4..8e75508165 100644
--- a/include/soc/at91/atmel-sfr.h
+++ b/include/soc/at91/atmel-sfr.h
@@ -11,6 +11,7 @@
#define _LINUX_MFD_SYSCON_ATMEL_SFR_H
#define AT91_SFR_DDRCFG 0x04 /* DDR Configuration Register */
+#define AT91_SFR_CCFG_EBICSA 0x04 /* EBI Chip Select Register */
/* 0x08 ~ 0x0c: Reserved */
#define AT91_SFR_OHCIICR 0x10 /* OHCI INT Configuration Register */
#define AT91_SFR_OHCIISR 0x14 /* OHCI INT Status Register */