mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
configs: am65x_evm: Add support for DFU related configs
Add offset and environment related configs used for booting from DFU. Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
#ifdef CONFIG_TARGET_AM654_A53_EVM
|
#ifdef CONFIG_TARGET_AM654_A53_EVM
|
||||||
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SPL_TEXT_BASE + \
|
#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SPL_TEXT_BASE + \
|
||||||
CONFIG_SYS_K3_NON_SECURE_MSRAM_SIZE)
|
CONFIG_SYS_K3_NON_SECURE_MSRAM_SIZE)
|
||||||
|
#define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x20000
|
||||||
#else
|
#else
|
||||||
/*
|
/*
|
||||||
* Maximum size in memory allocated to the SPL BSS. Keep it as tight as
|
* Maximum size in memory allocated to the SPL BSS. Keep it as tight as
|
||||||
@@ -44,6 +45,7 @@
|
|||||||
/* Configure R5 SPL post-relocation malloc pool in DDR */
|
/* Configure R5 SPL post-relocation malloc pool in DDR */
|
||||||
#define CONFIG_SYS_SPL_MALLOC_START 0x84000000
|
#define CONFIG_SYS_SPL_MALLOC_START 0x84000000
|
||||||
#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_16M
|
#define CONFIG_SYS_SPL_MALLOC_SIZE SZ_16M
|
||||||
|
#define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x5000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_K3_SPL_ATF
|
#ifdef CONFIG_SYS_K3_SPL_ATF
|
||||||
@@ -124,8 +126,8 @@
|
|||||||
"rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs\0"
|
"rootfstype=ubifs root=ubi0:rootfs rw ubi.mtd=ospi.rootfs\0"
|
||||||
|
|
||||||
#define EXTRA_ENV_DFUARGS \
|
#define EXTRA_ENV_DFUARGS \
|
||||||
"dfu_bufsiz=0x20000\0" \
|
|
||||||
DFU_ALT_INFO_MMC \
|
DFU_ALT_INFO_MMC \
|
||||||
|
DFU_ALT_INFO_RAM \
|
||||||
DFU_ALT_INFO_EMMC \
|
DFU_ALT_INFO_EMMC \
|
||||||
DFU_ALT_INFO_OSPI
|
DFU_ALT_INFO_OSPI
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user