summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIcenowy Zheng <[email protected]>2018-07-21 16:20:25 +0800
committerJagan Teki <[email protected]>2018-07-31 11:38:13 +0530
commit6958c3031998a34f5fb2afdd91584e40d78f09f0 (patch)
tree074bdbf20500de2cd8fbf6742ab6cb0ba706f791 /include
parente5715e712a17834fe6d80d31381ac72d71656bd4 (diff)
sunxi: change GIC address on H6
As the Allwinner H6 chip has a new memory map, its GIC MMIO address is thus different. Change the address on H6. Signed-off-by: Icenowy Zheng <[email protected]> Reviewed-by: Andre Przywara <[email protected]> Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Jagan Teki <[email protected]> Tested-by: Jagan Teki <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sun50i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/sun50i.h b/include/configs/sun50i.h
index 5ce2cde388c..e029218cf8a 100644
--- a/include/configs/sun50i.h
+++ b/include/configs/sun50i.h
@@ -17,8 +17,13 @@
#define CONFIG_SUNXI_USB_PHYS 1
+#ifndef CONFIG_MACH_SUN50I_H6
#define GICD_BASE 0x1c81000
#define GICC_BASE 0x1c82000
+#else
+#define GICD_BASE 0x3021000
+#define GICC_BASE 0x3022000
+#endif
/*
* Include common sunxi configuration where most the settings are