diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-11-04 16:12:20 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-11-20 10:42:53 +0100 |
commit | 09996b4d8466a31c300d5de37c3cf8ff33f151a7 (patch) | |
tree | b208007e26924484a71c30f6817e402867d470ed /include | |
parent | a3c43fb01a1b63b9bb279835aeab730d55683097 (diff) | |
download | u-boot-09996b4d8466a31c300d5de37c3cf8ff33f151a7.tar.gz u-boot-09996b4d8466a31c300d5de37c3cf8ff33f151a7.tar.bz2 u-boot-09996b4d8466a31c300d5de37c3cf8ff33f151a7.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/microblaze-generic.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 72550113ce..c31a788074 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -163,14 +163,12 @@ /* SPL part */ -#ifdef CONFIG_SYS_FLASH_BASE -# define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_FLASH_BASE -#endif +#define CONFIG_SYS_UBOOT_BASE CONFIG_SYS_TEXT_BASE /* for booting directly linux */ +#define CONFIG_SYS_FDT_BASE (CONFIG_SYS_TEXT_BASE + \ + 0x40000) -#define CONFIG_SYS_FDT_BASE (CONFIG_SYS_FLASH_BASE + \ - 0x40000) #define CONFIG_SYS_SPL_ARGS_ADDR (CONFIG_SYS_TEXT_BASE + \ 0x1000000) |