summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9260_lowlevel_init.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-01-25 08:29:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-02-04 15:52:39 +0100
commit168b2630e2c10eec24569ae964ce494024dd89d5 (patch)
tree1b64516e54f2737c70cd58a9b5306b61b2731707 /arch/arm/mach-at91/at91sam9260_lowlevel_init.c
parentaf7e02951eb4dfb46659a1ea6de683f247f0f1ec (diff)
downloadbarebox-168b2630e2c10eec24569ae964ce494024dd89d5.tar.gz
barebox-168b2630e2c10eec24569ae964ce494024dd89d5.tar.xz
ARM AT91: switch at91sam9 to barebox_arm_entry part1
This switches the at91sam926x, 9g10 and 9g20 over to barebox_arm_entry. For these SoCs we currently support reading back the memory size from the SDRAM controller, so all of these can have a common reset() function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260_lowlevel_init.c')
-rw-r--r--arch/arm/mach-at91/at91sam9260_lowlevel_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/at91sam9260_lowlevel_init.c b/arch/arm/mach-at91/at91sam9260_lowlevel_init.c
index c2cf8bfcb5..875c7678fc 100644
--- a/arch/arm/mach-at91/at91sam9260_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam9260_lowlevel_init.c
@@ -31,4 +31,6 @@ void __naked __bare_init reset(void)
at91sam926x_lowlevel_init(IOMEM(AT91SAM9260_BASE_PIOC), false,
AT91_MATRIX_EBICSA);
+
+ barebox_arm_entry(AT91_CHIPSELECT_1, at91_get_sdram_size(), 0);
}