mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-21 02:33:07 +00:00
31325e1b8b
This patch reduces the stm32mp1 environment size and builds dynamically the DFU board configuration with gpt and mtd partitions and information from defconfig (CONFIG_DFU_ALT_RAM0). Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
22 lines
388 B
Text
22 lines
388 B
Text
if TARGET_DH_STM32MP1_PDK2
|
|
|
|
config SYS_BOARD
|
|
default "dh_stm32mp1"
|
|
|
|
config SYS_VENDOR
|
|
default "dhelectronics"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "dh_stm32mp1"
|
|
|
|
config ENV_SECT_SIZE
|
|
default 0x10000 if ENV_IS_IN_SPI_FLASH
|
|
|
|
config ENV_OFFSET
|
|
default 0x1E0000 if ENV_IS_IN_SPI_FLASH
|
|
|
|
config ENV_OFFSET_REDUND
|
|
default 0x1F0000 if ENV_IS_IN_SPI_FLASH
|
|
|
|
source "board/st/common/Kconfig"
|
|
endif
|