mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
731fd50e27
The AV96 board does exist in multiple variants. To cater for all of them, implement board code handling. There are two GPIOs which code the type of the board, read them out and use the value to pick the correct device tree from an fitImage. Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com> Signed-off-by: Marek Vasut <marex@denx.de> Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: Patrick Delaunay <patrick.delaunay@st.com> Cc: Patrice Chotard <patrice.chotard@st.com> Change-Id: Iddb330b9a66500495885457cbe17edc0eacaaf43
22 lines
355 B
Plaintext
22 lines
355 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
|
|
|
|
endif
|