aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2017-09-27 23:03:12 +0530
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-10-01 00:33:33 +0200
commit532cb7f5ada0cc3779c33606d760ec99f6aa847a (patch)
treeaeddf4854f2785a1587d7fec9ccf0ef58eae94b5 /include
parenta982d5156db0587f5118a118c7e9f18d4c70891d (diff)
downloadu-boot-532cb7f5ada0cc3779c33606d760ec99f6aa847a.zip
u-boot-532cb7f5ada0cc3779c33606d760ec99f6aa847a.tar.gz
u-boot-532cb7f5ada0cc3779c33606d760ec99f6aa847a.tar.bz2
rk3288: vyasa: Add TPL support
Since the size of SPL can't be exceeded 0x8000 bytes in RK3288, it is not possible add new SPL features like Falcon mode or etc. So add TPL stage so-that adding new features to SPL is possible. - TPL: DRAM init, clocks - SPL: MMC, falcon, etc Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/rk3288_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index e9e3c40..34f2558 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -32,7 +32,11 @@
#define CONFIG_SYS_INIT_SP_ADDR 0x00100000
#define CONFIG_SYS_LOAD_ADDR 0x00800800
#define CONFIG_SPL_STACK 0xff718000
-#define CONFIG_SPL_TEXT_BASE 0xff704004
+#if defined(CONFIG_SPL_BUILD) && defined(CONFIG_TPL_BOOTROM_SUPPORT)
+# define CONFIG_SPL_TEXT_BASE 0x0
+#else
+# define CONFIG_SPL_TEXT_BASE 0xff704004
+#endif
/* MMC/SD IP block */
#define CONFIG_BOUNCE_BUFFER