mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
moveconfig: prepare moving CONFIG_SYS_SPI_U_BOOT_OFFS to Kconfig step 3
Exact two boards are referencing CONFIG_SYS_SPI_U_BOOT_OFFS to another define, we replace this manually with the value for having a clean run of moveconfig.py afterwards. Signed-off-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
This commit is contained in:
parent
abf9e5d0f2
commit
2c24a83b04
2 changed files with 6 additions and 2 deletions
|
@ -38,7 +38,9 @@
|
|||
#define CONFIG_SPL_PAD_TO 0x10000
|
||||
|
||||
#define CONFIG_SPI_ADDR 0x30000000
|
||||
#define CONFIG_SYS_SPI_U_BOOT_OFFS CONFIG_SPL_PAD_TO
|
||||
#ifdef CONFIG_SPL_SPI_LOAD
|
||||
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x10000
|
||||
#endif
|
||||
#define CONFIG_SYS_UBOOT_BASE (CONFIG_SPI_ADDR + CONFIG_SPL_PAD_TO)
|
||||
|
||||
/* SPL -> Uboot */
|
||||
|
|
|
@ -43,7 +43,9 @@
|
|||
CONFIG_SYS_SPL_MALLOC_SIZE + \
|
||||
SPL_MALLOC_F_SIZE + \
|
||||
KEYSTONE_SPL_STACK_SIZE - 4)
|
||||
#define CONFIG_SYS_SPI_U_BOOT_OFFS CONFIG_SPL_PAD_TO
|
||||
#ifdef CONFIG_SPL_SPI_LOAD
|
||||
#define CONFIG_SYS_SPI_U_BOOT_OFFS 0x10000
|
||||
#endif
|
||||
|
||||
/* SRAM scratch space entries */
|
||||
#define SRAM_SCRATCH_SPACE_ADDR CONFIG_SPL_STACK + 0x8
|
||||
|
|
Loading…
Reference in a new issue