From faed6bde11e11156fd8ca0f60edebcfb10b5a7ff Mon Sep 17 00:00:00 2001 From: Santan Kumar Date: Fri, 5 May 2017 15:42:28 +0530 Subject: 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 Signed-off-by: Priyanka Jain Signed-off-by: Abhimanyu Saini Reviewed-by: York Sun --- include/configs/ls2080a_common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/configs/ls2080a_common.h') diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h index 3706b1a4c4..43c5fef9b9 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) -- cgit