Jan Kiszka | 8ff2ff8 | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
Su Baocheng | 0dcd337 | 2023-02-28 19:19:09 +0100 | [diff] [blame] | 3 | # Copyright (c) Siemens AG, 2018-2022 |
Jan Kiszka | 8ff2ff8 | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 4 | # |
| 5 | # Authors: |
| 6 | # Le Jin <le.jin@siemens.com> |
| 7 | # Jan Kiszka <jan.kiszka@siemens.com> |
| 8 | |
Su Baocheng | 0dcd337 | 2023-02-28 19:19:09 +0100 | [diff] [blame] | 9 | choice |
| 10 | prompt "Siemens SIMATIC IOT2050 boards" |
| 11 | optional |
| 12 | |
| 13 | config TARGET_IOT2050_A53_PG1 |
| 14 | bool "IOT2050 PG1 running on A53" |
| 15 | select IOT2050_A53_COMMON |
| 16 | help |
| 17 | This builds U-Boot for the Product Generation 1 (PG1) of the IOT2050 |
| 18 | devices. |
| 19 | |
| 20 | config TARGET_IOT2050_A53_PG2 |
| 21 | bool "IOT2050 PG2 running on A53" |
| 22 | select IOT2050_A53_COMMON |
| 23 | help |
| 24 | This builds U-Boot for the Product Generation 2 (PG2) of the IOT2050 |
| 25 | devices. |
| 26 | |
| 27 | endchoice |
| 28 | |
| 29 | config IOT2050_A53_COMMON |
| 30 | bool |
Jan Kiszka | 8ff2ff8 | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 31 | select ARM64 |
Andrew Davis | 1be5e97 | 2022-07-15 10:25:27 -0500 | [diff] [blame] | 32 | select SOC_K3_AM654 |
Jan Kiszka | 8ff2ff8 | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 33 | select BOARD_LATE_INIT |
| 34 | select SYS_DISABLE_DCACHE_OPS |
| 35 | select BINMAN |
| 36 | |
Su Baocheng | 0dcd337 | 2023-02-28 19:19:09 +0100 | [diff] [blame] | 37 | if IOT2050_A53_COMMON |
Jan Kiszka | 8ff2ff8 | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 38 | |
| 39 | config SYS_BOARD |
| 40 | default "iot2050" |
| 41 | |
| 42 | config SYS_VENDOR |
| 43 | default "siemens" |
| 44 | |
| 45 | config SYS_CONFIG_NAME |
| 46 | default "iot2050" |
| 47 | |
| 48 | config IOT2050_BOOT_SWITCH |
| 49 | bool "Disable eMMC boot via USER button (Advanced version only)" |
| 50 | default y |
| 51 | |
Jan Kiszka | aebb5b9 | 2023-02-28 19:19:18 +0100 | [diff] [blame] | 52 | config IOT2050_EMBED_OTPCMD |
| 53 | bool "Embed OTP programming data" |
| 54 | help |
| 55 | Embed signed OTP programming data 'otpcmd.bin' into the firmware |
| 56 | image. This data will be evaluated and executed on first boot of the |
| 57 | device. |
| 58 | |
Jan Kiszka | 8ff2ff8 | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 59 | endif |