summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorDavid Feng <fenghua@phytium.com.cn>2014-03-14 14:26:27 +0800
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-04-08 00:15:12 +0200
commitc71645ad2bd5179ad21e2501c26f574e9688f02a (patch)
tree7fe5ff7851b04cec6ecd5d46ef5306f295597787 /include/configs
parent91290cf728dd871c86f370119899789398d956af (diff)
downloadu-boot-imx-c71645ad2bd5179ad21e2501c26f574e9688f02a.zip
u-boot-imx-c71645ad2bd5179ad21e2501c26f574e9688f02a.tar.gz
u-boot-imx-c71645ad2bd5179ad21e2501c26f574e9688f02a.tar.bz2
arm64 patch: gicv3 support
This patch add gicv3 support to uboot armv8 platform. Changes for v2: - rename arm/cpu/armv8/gic.S with arm/lib/gic_64.S - move smp_kick_all_cpus() from gic.S to start.S, it would be implementation dependent. - Each core initialize it's own ReDistributor instead of master initializeing all ReDistributors. This is advised by arnab.basu <arnab.basu@freescale.com>. Signed-off-by: David Feng <fenghua@phytium.com.cn>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/vexpress_aemv8a.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h
index e851702..dff6adc 100644
--- a/include/configs/vexpress_aemv8a.h
+++ b/include/configs/vexpress_aemv8a.h
@@ -12,6 +12,8 @@
#define CONFIG_REMAKE_ELF
+#define CONFIG_GICV3
+
/*#define CONFIG_ARMV8_SWITCH_TO_EL1*/
/*#define CONFIG_SYS_GENERIC_BOARD*/
@@ -93,8 +95,13 @@
#define COUNTER_FREQUENCY (0x1800000) /* 24MHz */
/* Generic Interrupt Controller Definitions */
+#ifdef CONFIG_GICV3
+#define GICD_BASE (0x2f000000)
+#define GICR_BASE (0x2f100000)
+#else
#define GICD_BASE (0x2C001000)
#define GICC_BASE (0x2C002000)
+#endif
#define CONFIG_SYS_MEMTEST_START V2M_BASE
#define CONFIG_SYS_MEMTEST_END (V2M_BASE + 0x80000000)