9
0
Fork 0
Commit Graph

7 Commits

Author SHA1 Message Date
Sascha Hauer 4fa54b7e5d 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>
2012-12-06 13:43:08 +01:00
Sascha Hauer 6e94a6d8db ARM i.MX esdctl.h: Add double include protection
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-11-27 20:51:10 +01:00
Sascha Hauer 7a334ccdec ARM i.MX: Use SoC specific base to access sdram controller registers
This redefines the sdram controller registers as offsets to the base
rather than as absolute addresses. All users are fixed to use the
SoC specific base address.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-10-17 20:22:01 +02:00
Sascha Hauer af7f5e1ca9 ARM i.MX esdctl: Add some missing bitfields
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-03-03 16:15:56 +01:00
Sascha Hauer db194e3724 i.MX esdctl: Add register bits from redboot
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-10-22 19:31:57 +02:00
Sascha Hauer ee397c9b54 i.MX: remove __REG from esd controller regs. use readl/writel instead
So far these registers are unused in C, so we can remove the __REG without
harm.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-05-03 15:05:38 +02:00
Jean-Christophe PLAGNIOL-VILLARD f6a579da9c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00