Merge tag 'dm-pull-12jun20' of git://git.denx.de/u-boot-dm into next
patman improvements to allow it to work with Zephyr change to how sequence numbers are assigned to devices minor fixes and improvements
This commit is contained in:
@@ -28,9 +28,10 @@
|
||||
* 0x020000 - 0x120000 : SPI.u-boot (1MiB)
|
||||
* 0x120000 - 0x130000 : SPI.u-boot-env1 (64KiB)
|
||||
* 0x130000 - 0x140000 : SPI.u-boot-env2 (64KiB)
|
||||
* 0x140000 - 0x540000 : SPI.swupdate-kernel-FIT (4MiB)
|
||||
* 0x540000 - 0x1540000 : SPI.swupdate-initramfs (16MiB)
|
||||
* 0x1540000 - 0x1640000 : SPI.factory (1MiB)
|
||||
* 0x140000 - 0x740000 : SPI.swupdate-kernel-FIT (6MiB)
|
||||
* 0x740000 - 0x1B40000 : SPI.swupdate-initramfs (20MiB)
|
||||
* 0x1B40000 - 0x1F00000 : SPI.reserved (3840KiB)
|
||||
* 0x1F00000 - 0x2000000 : SPI.factory (1MiB)
|
||||
*/
|
||||
|
||||
/* SPI Flash Configs */
|
||||
|
||||
@@ -24,16 +24,14 @@
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
/*#define CONFIG_ENABLE_DDR_TRAINING_DEBUG*/
|
||||
#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv8/u-boot-spl.lds"
|
||||
#define CONFIG_SPL_STACK 0x990000
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x0095e000
|
||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x2000 /* 8 KB */
|
||||
#define CONFIG_SYS_SPL_MALLOC_START 0x42200000
|
||||
#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_512K /* 512 KB */
|
||||
#define CONFIG_SPL_STACK 0x960000
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x0098FC00
|
||||
#define CONFIG_SPL_BSS_MAX_SIZE 0x400 /* 1 KB */
|
||||
#define CONFIG_SYS_SPL_MALLOC_START 0x42200000
|
||||
#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_512K /* 512 KB */
|
||||
#define CONFIG_SYS_ICACHE_OFF
|
||||
#define CONFIG_SYS_DCACHE_OFF
|
||||
|
||||
#define CONFIG_MALLOC_F_ADDR 0x940000
|
||||
|
||||
#define CONFIG_SPL_ABORT_ON_RAW_IMAGE
|
||||
|
||||
#undef CONFIG_DM_MMC
|
||||
|
||||
@@ -94,9 +94,9 @@
|
||||
#endif
|
||||
|
||||
#define SANDBOX_ETH_SETTINGS "ethaddr=00:00:11:22:33:44\0" \
|
||||
"eth1addr=00:00:11:22:33:45\0" \
|
||||
"eth3addr=00:00:11:22:33:46\0" \
|
||||
"eth5addr=00:00:11:22:33:47\0" \
|
||||
"eth3addr=00:00:11:22:33:45\0" \
|
||||
"eth5addr=00:00:11:22:33:46\0" \
|
||||
"eth6addr=00:00:11:22:33:47\0" \
|
||||
"ipaddr=1.2.3.4\0"
|
||||
|
||||
#define MEM_LAYOUT_ENV_SETTINGS \
|
||||
|
||||
@@ -983,6 +983,8 @@ static inline u64 dev_translate_dma_address(const struct udevice *dev,
|
||||
|
||||
static inline int dev_read_alias_highest_id(const char *stem)
|
||||
{
|
||||
if (!CONFIG_IS_ENABLED(OF_LIBFDT))
|
||||
return -1;
|
||||
return fdtdec_get_alias_highest_id(gd->fdt_blob, stem);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user