summaryrefslogtreecommitdiff
path: root/include/configs/rk3399_common.h
diff options
context:
space:
mode:
authorKever Yang <kever.yang@rock-chips.com>2017-06-14 16:14:18 +0800
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-06-23 16:40:23 +0200
commit5302feb69590fe5db06aad723cf5bcf675a15ce7 (patch)
tree4ff74bf150da536d206978e3c0fa742fa87c7e94 /include/configs/rk3399_common.h
parentbeca2901fd09f265b6a9b521d31276f93404cd6a (diff)
rockchip: rk3399: correct SPL_MAX_SIZE
The SPL_MAX_SIZE is the internal memory size minux the space used by bootrom. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'include/configs/rk3399_common.h')
-rw-r--r--include/configs/rk3399_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 7a8a442336..44dad570d3 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -31,7 +31,7 @@
#define CONFIG_SYS_LOAD_ADDR 0x00800800
#define CONFIG_SPL_STACK 0xff8effff
#define CONFIG_SPL_TEXT_BASE 0xff8c2000
-#define CONFIG_SPL_MAX_SIZE 0x30000
+#define CONFIG_SPL_MAX_SIZE 0x30000 - 0x2000
/* BSS setup */
#define CONFIG_SPL_BSS_START_ADDR 0xff8e0000
#define CONFIG_SPL_BSS_MAX_SIZE 0x10000