1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Configuration header file for IOT2050
4 * Copyright (c) Siemens AG, 2018-2021
7 * Le Jin <le.jin@siemens.com>
8 * Jan Kiszka <jan.kiszka@siemens.com>
11 #ifndef __CONFIG_IOT2050_H
12 #define __CONFIG_IOT2050_H
14 #include <linux/sizes.h>
16 #if IS_ENABLED(CONFIG_CMD_USB)
17 # define BOOT_TARGET_USB(func) \
22 # define BOOT_TARGET_USB(func)
26 * This defines all MMC devices, even if the basic variant has no mmc1.
27 * The non-supported device will be removed from the boot targets during
28 * runtime, when that board was detected.
30 #define BOOT_TARGET_DEVICES(func) \
35 #include <config_distro_bootcmd.h>
37 #define CFG_EXTRA_ENV_SETTINGS \
38 DEFAULT_LINUX_BOOT_ENV \
41 #include <configs/ti_armv7_common.h>
43 #ifdef CONFIG_ENV_WRITEABLE_LIST
44 #define CFG_ENV_FLAGS_LIST_STATIC \
45 "board_uuid:sw,board_name:sw,board_serial:sw,board_a5e:sw," \
46 "mlfb:sw,fw_version:sw,seboot_version:sw," \
47 "m2_manuel_config:sw," \
48 "eth1addr:mw,eth2addr:mw,watchdog_timeout_ms:dw,boot_targets:sw"
51 #endif /* __CONFIG_IOT2050_H */