blob: e66b2427d958d4d25c9546fec8d25452b1835413 [file] [log] [blame]
Jan Kiszka8ff2ff82021-09-18 08:17:53 +02001# SPDX-License-Identifier: GPL-2.0+
2#
Su Baocheng0dcd3372023-02-28 19:19:09 +01003# Copyright (c) Siemens AG, 2018-2022
Jan Kiszka8ff2ff82021-09-18 08:17:53 +02004#
5# Authors:
6# Le Jin <le.jin@siemens.com>
7# Jan Kiszka <jan.kiszka@siemens.com>
8
Su Baocheng0dcd3372023-02-28 19:19:09 +01009choice
10 prompt "Siemens SIMATIC IOT2050 boards"
11 optional
12
13config 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
20config 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
27endchoice
28
29config IOT2050_A53_COMMON
30 bool
Jan Kiszka8ff2ff82021-09-18 08:17:53 +020031 select ARM64
Andrew Davis1be5e972022-07-15 10:25:27 -050032 select SOC_K3_AM654
Jan Kiszka8ff2ff82021-09-18 08:17:53 +020033 select BOARD_LATE_INIT
34 select SYS_DISABLE_DCACHE_OPS
35 select BINMAN
36
Su Baocheng0dcd3372023-02-28 19:19:09 +010037if IOT2050_A53_COMMON
Jan Kiszka8ff2ff82021-09-18 08:17:53 +020038
39config SYS_BOARD
40 default "iot2050"
41
42config SYS_VENDOR
43 default "siemens"
44
45config SYS_CONFIG_NAME
46 default "iot2050"
47
48config IOT2050_BOOT_SWITCH
49 bool "Disable eMMC boot via USER button (Advanced version only)"
50 default y
51
Jan Kiszkaaebb5b92023-02-28 19:19:18 +010052config 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 Kiszka8ff2ff82021-09-18 08:17:53 +020059endif