u-boot/board/siemens/iot2050
Jan Kiszka 352ed65df7 iot2050: Add support for configuring M.2 connector
The M.2 slots of the related IOT2050 variant need to be configured
according to the plugged cards. This tries to detect the card using the
M.2 configuration pins of the B-key slot. If that fails, a U-Boot
environment variable can be set to configure manually. This variable is
write-permitted also in secure boot mode as it is not able to undermine
the integrity of the booted system.

The configuration is then applied to mux the serdes and to fix up the
device tree passed to or loaded by the bootloader. The fix-ups are
coming from device tree overlays that are embedded into the firmware
image and there also integrity protected. The OS remains free to load
a device tree to which they do not apply: U-Boot will not fail to boot
in that case.

Based on original patch by Chao Zeng.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2023-03-29 11:58:26 -04:00
..
board.c iot2050: Add support for configuring M.2 connector 2023-03-29 11:58:26 -04:00
config.mk board: siemens: Add support for SIMATIC IOT2050 devices 2021-10-03 14:40:56 -04:00
iot2050.env iot2050: Add watchdog start to bootcmd 2023-03-29 11:58:26 -04:00
Kconfig arm: dts: iot2050: Optionally embed OTP programming data into image 2023-03-29 11:58:26 -04:00
MAINTAINERS board: siemens: Add support for SIMATIC IOT2050 devices 2021-10-03 14:40:56 -04:00
Makefile board: siemens: Add support for SIMATIC IOT2050 devices 2021-10-03 14:40:56 -04:00