summaryrefslogtreecommitdiff
path: root/board/siemens/iot2050
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2023-02-28 21:19:18 +0300
committerTom Rini <trini@konsulko.com>2023-03-29 18:58:26 +0300
commit367b1bf2ceb320e8862c6014b7138fa126268161 (patch)
tree7eaa2057a0fa5012de6f09efea9a3c9ed09fbb85 /board/siemens/iot2050
parent033ab460d0930e4f7d365279f1c39d914b5e88a4 (diff)
downloadu-boot-367b1bf2ceb320e8862c6014b7138fa126268161.tar.xz
arm: dts: iot2050: Optionally embed OTP programming data into image
Use external blob otpcmd.bin to replace the 0xff filled OTP programming command block to create a firmware image that provisions the OTP on first boot. This otpcmd.bin is generated from the customer keys using steps described in the meta-iot2050 integration layer for the device. Based on original patch by Baocheng Su. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'board/siemens/iot2050')
-rw-r--r--board/siemens/iot2050/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/siemens/iot2050/Kconfig b/board/siemens/iot2050/Kconfig
index a2b40881d1..e66b2427d9 100644
--- a/board/siemens/iot2050/Kconfig
+++ b/board/siemens/iot2050/Kconfig
@@ -49,4 +49,11 @@ config IOT2050_BOOT_SWITCH
bool "Disable eMMC boot via USER button (Advanced version only)"
default y
+config IOT2050_EMBED_OTPCMD
+ bool "Embed OTP programming data"
+ help
+ Embed signed OTP programming data 'otpcmd.bin' into the firmware
+ image. This data will be evaluated and executed on first boot of the
+ device.
+
endif