mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-18 22:58:13 +01:00
microblaze: Unify of setting for SPL_NOR/XIP support
XIP is not enabled in SPL. SPL_NOR is enabled but any macro setting with using SYS_FLASH_BASE are wrong because it is not aligned with DM. That's why change these macro and align them with TEXT_BASE macro. Information should be find at run time based on DT but implementation is not done yet. Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
a3c43fb01a
commit
09996b4d84
@ -163,14 +163,12 @@
|
|||||||
|
|
||||||
/* SPL part */
|
/* SPL part */
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_FLASH_BASE
|
#define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE
|
||||||
# define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_FLASH_BASE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* for booting directly linux */
|
/* for booting directly linux */
|
||||||
|
#define CONFIG_SYS_FDT_BASE (CONFIG_SYS_TEXT_BASE + \
|
||||||
#define CONFIG_SYS_FDT_BASE (CONFIG_SYS_FLASH_BASE + \
|
|
||||||
0x40000)
|
0x40000)
|
||||||
|
|
||||||
#define CONFIG_SYS_SPL_ARGS_ADDR (CONFIG_SYS_TEXT_BASE + \
|
#define CONFIG_SYS_SPL_ARGS_ADDR (CONFIG_SYS_TEXT_BASE + \
|
||||||
0x1000000)
|
0x1000000)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user