diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-02-12 14:03:27 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-13 09:21:44 +0100 |
commit | 64b873ccba69a6311e03de1c68585f32f5a86524 (patch) | |
tree | 186ffb7ad10ba36b51a6ce68f300ce57c40bbfca /arch/arm/mach-vexpress/include | |
parent | ed4da3f2de93bf445f10b762aeb1fc75967b5660 (diff) | |
download | barebox-64b873ccba69a6311e03de1c68585f32f5a86524.tar.gz barebox-64b873ccba69a6311e03de1c68585f32f5a86524.tar.xz |
vexpress: detect the board periph mapping and detecting the sp804 mapping
at 0x10011000 for a9 legacy otherwise at 0x1c110000
as the new board also support Cortex-A9
so this is working
qemu/arm-softmmu/qemu-system-arm -M vexpress-a15 -m 1024 -smp 1 -kernel build/vexpress/barebox -pflash build/vexpress/flash -nographic -cpu cortex-a9
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-vexpress/include')
-rw-r--r-- | arch/arm/mach-vexpress/include/mach/devices.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-vexpress/include/mach/devices.h b/arch/arm/mach-vexpress/include/mach/devices.h index adeada8ab5..3146a475eb 100644 --- a/arch/arm/mach-vexpress/include/mach/devices.h +++ b/arch/arm/mach-vexpress/include/mach/devices.h @@ -7,13 +7,13 @@ #ifndef __ASM_ARCH_DEVICES_H__ #define __ASM_ARCH_DEVICES_H__ -void vexpress_a9_add_ddram(u32 ddr0_size, u32 ddr1_size); +void vexpress_a9_legacy_add_ddram(u32 ddr0_size, u32 ddr1_size); void vexpress_add_ddram(u32 size); -void vexpress_a9_register_uart(unsigned id); +void vexpress_a9_legacy_register_uart(unsigned id); void vexpress_register_uart(unsigned id); -void vexpress_a9_init(void); +void vexpress_a9_legacy_init(void); void vexpress_init(void); extern void *v2m_wdt_base; |