summaryrefslogtreecommitdiffstats
path: root/include/configs
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-05-25 12:27:44 -0400
committerTom Rini <trini@konsulko.com>2016-05-25 12:27:44 -0400
commit1b80e79586b0b777afa6a905961000c8495828cc (patch)
tree283a3a4883479022785ba0bfea05e62a460f7d96 /include/configs
parent826d06dbdd0e29ab0d8bd76d1ca640e2dfdb076c (diff)
parentd7e103c08f5bb29d8126eaef3b7b6d6bafacea80 (diff)
downloadtalos-obmc-uboot-1b80e79586b0b777afa6a905961000c8495828cc.tar.gz
talos-obmc-uboot-1b80e79586b0b777afa6a905961000c8495828cc.zip
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/uniphier.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 18cb963844..10fd8c21ea 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -104,7 +104,11 @@
#define COUNTER_FREQUENCY 50000000
#define CONFIG_GICV3
#define GICD_BASE 0x5fe00000
+#if defined(CONFIG_ARCH_UNIPHIER_LD11)
+#define GICR_BASE 0x5fe40000
+#elif defined(CONFIG_ARCH_UNIPHIER_LD20)
#define GICR_BASE 0x5fe80000
+#endif
#else
/* Time clock 1MHz */
#define CONFIG_SYS_TIMER_RATE 1000000
@@ -270,7 +274,9 @@
#define CONFIG_SPL_TEXT_BASE 0x00100000
#endif
-#if defined(CONFIG_ARCH_UNIPHIER_LD20)
+#if defined(CONFIG_ARCH_UNIPHIER_LD11)
+#define CONFIG_SPL_STACK (0x30014c00)
+#elif defined(CONFIG_ARCH_UNIPHIER_LD20)
#define CONFIG_SPL_STACK (0x3001c000)
#else
#define CONFIG_SPL_STACK (0x00100000)
@@ -301,7 +307,11 @@
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
#define CONFIG_SPL_MAX_FOOTPRINT 0x10000
#define CONFIG_SPL_MAX_SIZE 0x10000
+#if defined(CONFIG_ARCH_UNIPHIER_LD11)
+#define CONFIG_SPL_BSS_START_ADDR 0x30012000
+#elif defined(CONFIG_ARCH_UNIPHIER_LD20)
#define CONFIG_SPL_BSS_START_ADDR 0x30016000
+#endif
#define CONFIG_SPL_BSS_MAX_SIZE 0x2000
#endif /* __CONFIG_UNIPHIER_COMMON_H__ */
OpenPOWER on IntegriCloud