mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-06 19:40:42 +09: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>
23 lines
388 B
Plaintext
23 lines
388 B
Plaintext
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
|