]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: stm32: Implement board coding on AV96
authorMarek Vasut <marex@denx.de>
Wed, 22 Apr 2020 11:18:11 +0000 (13:18 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Thu, 14 May 2020 07:02:12 +0000 (09:02 +0200)
commit731fd50e27fb3e9e55eb508cebebc7a111616a30
tree1a249cb61826db64a8b8bcbb470209fac20869e2
parent65e38e81acb0c1eb0b0478626b1985e9ae9055c6
ARM: stm32: Implement board coding on AV96

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
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi
arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
board/dhelectronics/dh_stm32mp1/Kconfig
board/dhelectronics/dh_stm32mp1/board.c
board/dhelectronics/dh_stm32mp1/u-boot-dhcom.its [new file with mode: 0644]
board/dhelectronics/dh_stm32mp1/u-boot-dhcor.its [new file with mode: 0644]
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
include/configs/dh_stm32mp1.h [new file with mode: 0644]