summaryrefslogtreecommitdiff
path: root/include/configs/ls2080a_common.h
diff options
context:
space:
mode:
authorSantan Kumar <santan.kumar@nxp.com>2017-05-05 10:12:28 (GMT)
committerYork Sun <york.sun@nxp.com>2017-06-02 02:57:07 (GMT)
commitfaed6bde11e11156fd8ca0f60edebcfb10b5a7ff (patch)
treec58595b19b06ed8bce35717e141052da3fed6ba4 /include/configs/ls2080a_common.h
parent5aa03ddd7ff67dce143a5ea5dbaa85e6aaaab23f (diff)
downloadu-boot-faed6bde11e11156fd8ca0f60edebcfb10b5a7ff.tar.xz
armv8: ls2080a: Reorganise NAND_BOOT code in config flag
Add CONFIG_NAND_BOOT config flag to organise NAND_BOOT specific code in config flag like -nand-boot specfic errata errata_rcw_src() -CONFIG_SYS_NAND_U_BOOT_DST,etc Signed-off-by: Santan Kumar <santan.kumar@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Signed-off-by: Abhimanyu Saini <abhimanyu.saini@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'include/configs/ls2080a_common.h')
-rw-r--r--include/configs/ls2080a_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
index 3706b1a..43c5fef 100644
--- a/include/configs/ls2080a_common.h
+++ b/include/configs/ls2080a_common.h
@@ -233,8 +233,10 @@ unsigned long long get_qixis_addr(void);
#define CONFIG_SPL_TARGET "u-boot-with-spl.bin"
#define CONFIG_SPL_TEXT_BASE 0x1800a000
+#ifdef CONFIG_NAND_BOOT
#define CONFIG_SYS_NAND_U_BOOT_DST 0x80400000
#define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_NAND_U_BOOT_DST
+#endif
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00100000
#define CONFIG_SYS_SPL_MALLOC_START 0x80200000
#define CONFIG_SYS_MONITOR_LEN (640 * 1024)