]> git.baikalelectronics.ru Git - uboot.git/commit
board: siemens: iot2050: Split the build for PG1 and PG2
authorSu Baocheng <baocheng.su@siemens.com>
Tue, 28 Feb 2023 18:19:09 +0000 (19:19 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Mar 2023 15:58:25 +0000 (11:58 -0400)
commitafc3bc7ffd20492b056951bd07265452fb7dda9c
tree92f722a51c543b083a5fe230caab7c09952b0dbd
parent8cbea975d6205f62e27f3cddba583f418374ad34
board: siemens: iot2050: Split the build for PG1 and PG2

Due to different signature keys, the PG1 and the PG2 boards can no
longer use the same FSBL (tiboot3). This makes it impossible anyway to
maintaine a single flash.bin for both variants, so we can also split the
build.

A new target is added to indicates the build is for PG1 vs. PG2 boards.
Hence now the variants have separated defconfig files.

The runtime board_is_sr1() check does make no sense anymore, so remove
it and replace with build time check.

Documentation is updated accordingly. New binary artifacts are already
available via meta-iot2050.

Signed-off-by: Su Baocheng <baocheng.su@siemens.com>
[Jan: refactor config option into targets, tweak some wordings]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi
board/siemens/iot2050/Kconfig
board/siemens/iot2050/board.c
configs/iot2050_defconfig [deleted file]
configs/iot2050_pg1_defconfig [new file with mode: 0644]
configs/iot2050_pg2_defconfig [new file with mode: 0644]
doc/board/siemens/iot2050.rst