summaryrefslogtreecommitdiff
path: root/include/configs/P1010RDB.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-01-22 17:09:24 -0500
committerTom Rini <trini@konsulko.com>2019-01-26 22:55:53 -0500
commita6d6812a212cf2ac263b23e68e6cbf719e64ac20 (patch)
tree98e84a0687c1adfdf5b2b18916a55dbcf768c526 /include/configs/P1010RDB.h
parent0da90255083681a02b24528f80da9d4062ff634a (diff)
downloadu-boot-a6d6812a212cf2ac263b23e68e6cbf719e64ac20.tar.gz
u-boot-a6d6812a212cf2ac263b23e68e6cbf719e64ac20.tar.bz2
u-boot-a6d6812a212cf2ac263b23e68e6cbf719e64ac20.zip
PowerPC: Stop re-using CONFIG_SPL_TEXT_BASE for TPL
Rather than checking for CONFIG_TPL_BUILD and then re-defining CONFIG_SPL_TEXT_BASE make use of CONFIG_TPL_TEXT_BASE directly. Cc: York Sun <york.sun@nxp.com> Cc: Po Liu <po.liu@nxp.com> Cc: Qiang Zhao <qiang.zhao@nxp.com> Cc: Timur Tabi <timur@tabi.org> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/P1010RDB.h')
-rw-r--r--include/configs/P1010RDB.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 18f70f04af..134ffe5271 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -78,7 +78,7 @@
#define CONFIG_SPL_NAND_INIT
#define CONFIG_SPL_COMMON_INIT_DDR
#define CONFIG_SPL_MAX_SIZE (128 << 10)
-#define CONFIG_SPL_TEXT_BASE 0xD0001000
+#define CONFIG_TPL_TEXT_BASE 0xD0001000
#define CONFIG_SYS_MPC85XX_NO_RESETVEC
#define CONFIG_SYS_NAND_U_BOOT_SIZE (576 << 10)
#define CONFIG_SYS_NAND_U_BOOT_DST (0x11000000)
@@ -111,7 +111,9 @@
#define CONFIG_RESET_VECTOR_ADDRESS 0xeffffffc
#endif
-#ifdef CONFIG_SPL_BUILD
+#ifdef CONFIG_TPL_BUILD
+#define CONFIG_SYS_MONITOR_BASE CONFIG_TPL_TEXT_BASE
+#elif defined(CONFIG_SPL_BUILD)
#define CONFIG_SYS_MONITOR_BASE CONFIG_SPL_TEXT_BASE
#else
#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE /* start of monitor */