summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/imx1-regs.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-10-16 09:43:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-12-06 13:43:08 +0100
commit4fa54b7e5d201a3962dbed318540855ef3553f19 (patch)
treeb084340b9f987e057739990cafba1cd7974b07fc /arch/arm/mach-imx/include/mach/imx1-regs.h
parent65c1ee9cc0dcd49526403da9244128781596ecfc (diff)
downloadbarebox-4fa54b7e5d201a3962dbed318540855ef3553f19.tar.gz
barebox-4fa54b7e5d201a3962dbed318540855ef3553f19.tar.xz
ARM i.MX: Add driver to get sdram base and size
The code initializing the SDRAM controller is not at the same place where SDRAM is registered with barebox. To reduce the risk of registering wrong SDRAM sizes this patch adds a driver for the ESDCTL which reads back the configured SDRAM size and registers the memory found with barebox. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/imx1-regs.h')
-rw-r--r--arch/arm/mach-imx/include/mach/imx1-regs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/include/mach/imx1-regs.h b/arch/arm/mach-imx/include/mach/imx1-regs.h
index df6ede5b24..69e57e3cfd 100644
--- a/arch/arm/mach-imx/include/mach/imx1-regs.h
+++ b/arch/arm/mach-imx/include/mach/imx1-regs.h
@@ -4,6 +4,9 @@
#define MX1_IO_BASE_ADDR 0x00200000
#define MX1_IO_SIZE SZ_1M
+#define MX1_CSD0_BASE_ADDR 0x08000000
+#define MX1_CSD1_BASE_ADDR 0x0c000000
+
#define MX1_CS0_PHYS 0x10000000
#define MX1_CS0_SIZE 0x02000000