summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2014-12-30 17:24:02 +0800
committerStefano Babic <sbabic@denx.de>2015-01-22 09:55:47 +0100
commitf9e89ffd16b734997e6eacb32293899ceaed49ee (patch)
treeb236dddbb3c7c3aecd54d9f91fa0bfce2c813740 /include
parentd9efd47c036e8990d001baf245f5d0a31cfcb56b (diff)
downloadu-boot-imx-f9e89ffd16b734997e6eacb32293899ceaed49ee.zip
u-boot-imx-f9e89ffd16b734997e6eacb32293899ceaed49ee.tar.gz
u-boot-imx-f9e89ffd16b734997e6eacb32293899ceaed49ee.tar.bz2
imx:mx6 add mx6sx in imx spl header file
Since mx6sx's memory space is different to mx6dq, redefine the SPL related macro for mx6sx chip. Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx6_spl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/imx6_spl.h b/include/configs/imx6_spl.h
index 1b9c277..21c5dce 100644
--- a/include/configs/imx6_spl.h
+++ b/include/configs/imx6_spl.h
@@ -61,11 +61,19 @@
#define CONFIG_SPL_LIBDISK_SUPPORT
#endif
+#if defined(CONFIG_MX6SX)
+#define CONFIG_SPL_BSS_START_ADDR 0x88200000
+#define CONFIG_SPL_BSS_MAX_SIZE 0x100000 /* 1 MB */
+#define CONFIG_SYS_SPL_MALLOC_START 0x88300000
+#define CONFIG_SYS_SPL_MALLOC_SIZE 0x3200000 /* 50 MB */
+#define CONFIG_SYS_TEXT_BASE 0x87800000
+#else
#define CONFIG_SPL_BSS_START_ADDR 0x18200000
#define CONFIG_SPL_BSS_MAX_SIZE 0x100000 /* 1 MB */
#define CONFIG_SYS_SPL_MALLOC_START 0x18300000
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x3200000 /* 50 MB */
#define CONFIG_SYS_TEXT_BASE 0x17800000
#endif
+#endif
#endif