Jan Kiszka | a2db09e | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Configuration header file for IOT2050 |
| 4 | * Copyright (c) Siemens AG, 2018-2021 |
| 5 | * |
| 6 | * Authors: |
| 7 | * Le Jin <le.jin@siemens.com> |
| 8 | * Jan Kiszka <jan.kiszka@siemens.com> |
| 9 | */ |
| 10 | |
| 11 | #ifndef __CONFIG_IOT2050_H |
| 12 | #define __CONFIG_IOT2050_H |
| 13 | |
| 14 | #include <linux/sizes.h> |
| 15 | |
Jan Kiszka | a2db09e | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 16 | #include <configs/ti_armv7_common.h> |
| 17 | |
Jan Kiszka | 00e1c45 | 2023-07-27 06:34:52 +0200 | [diff] [blame^] | 18 | /* |
| 19 | * This defines all MMC devices, even if the basic variant has no mmc1. |
| 20 | * The non-supported device will be removed from the boot targets during |
| 21 | * runtime, when that board was detected. |
| 22 | */ |
| 23 | #undef BOOT_TARGET_DEVICES |
| 24 | #define BOOT_TARGET_DEVICES(func) \ |
| 25 | func(MMC, mmc, 1) \ |
| 26 | func(MMC, mmc, 0) \ |
| 27 | BOOT_TARGET_USB(func) |
| 28 | |
Jan Kiszka | 08cba53 | 2023-02-28 19:19:14 +0100 | [diff] [blame] | 29 | #ifdef CONFIG_ENV_WRITEABLE_LIST |
| 30 | #define CFG_ENV_FLAGS_LIST_STATIC \ |
| 31 | "board_uuid:sw,board_name:sw,board_serial:sw,board_a5e:sw," \ |
| 32 | "mlfb:sw,fw_version:sw,seboot_version:sw," \ |
Jan Kiszka | 352ed65 | 2023-02-28 19:19:23 +0100 | [diff] [blame] | 33 | "m2_manuel_config:sw," \ |
Jan Kiszka | 08cba53 | 2023-02-28 19:19:14 +0100 | [diff] [blame] | 34 | "eth1addr:mw,eth2addr:mw,watchdog_timeout_ms:dw,boot_targets:sw" |
| 35 | #endif |
| 36 | |
Jan Kiszka | a2db09e | 2021-09-18 08:17:53 +0200 | [diff] [blame] | 37 | #endif /* __CONFIG_IOT2050_H */ |