[PATCH 5/6] microblaze: Get rid of setting for SPL_NOR/XIP support

Michal Simek michal.simek at xilinx.com
Wed Nov 4 16:18:18 CET 2020


SPL_NOR/XIP is not enabled in SPL that's why no reason to keep macros for
it. These macros are hardcoded to certain offset which doesn't work for
generic target. Information has to be found at run time based on DT anyway.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 include/configs/microblaze-generic.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 72550113cefa..cc68327266e8 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -163,14 +163,7 @@
 
 /* SPL part */
 
-#ifdef CONFIG_SYS_FLASH_BASE
-# define CONFIG_SYS_UBOOT_BASE		CONFIG_SYS_FLASH_BASE
-#endif
-
 /* for booting directly linux */
-
-#define CONFIG_SYS_FDT_BASE		(CONFIG_SYS_FLASH_BASE + \
-					 0x40000)
 #define CONFIG_SYS_SPL_ARGS_ADDR	(CONFIG_SYS_TEXT_BASE + \
 					 0x1000000)
 
-- 
2.29.2



More information about the U-Boot mailing list