]> git.baikalelectronics.ru Git - uboot.git/commitdiff
iot2050: Migrate settings into board env file
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 28 Feb 2023 18:19:12 +0000 (19:19 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 29 Mar 2023 15:58:26 +0000 (11:58 -0400)
Anything that is not boot-env related is better kept there by now.

At this chance, also drop a stale comment from iot2050.h

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
board/siemens/iot2050/iot2050.env [new file with mode: 0644]
include/configs/iot2050.h

diff --git a/board/siemens/iot2050/iot2050.env b/board/siemens/iot2050/iot2050.env
new file mode 100644 (file)
index 0000000..4bd93f0
--- /dev/null
@@ -0,0 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) Siemens AG, 2023
+ *
+ * Authors:
+ *   Jan Kiszka <jan.kiszka@siemens.com>
+ */
+
+usb_pgood_delay=900
index cfff46ce339897425b6d9a854307cdb79a02a206..8dfeaddf541c1e3e676e19c78b4cf3ef3ffb6a1f 100644 (file)
 
 #include <linux/sizes.h>
 
-/* SPL Loader Configuration */
-
-/* U-Boot general configuration */
-#define EXTRA_ENV_IOT2050_BOARD_SETTINGS                               \
-       "usb_pgood_delay=900\0"
-
 #if IS_ENABLED(CONFIG_CMD_USB)
 # define BOOT_TARGET_USB(func) \
        func(USB, usb, 0) \
 
 #include <config_distro_bootcmd.h>
 
-#define CFG_EXTRA_ENV_SETTINGS                                 \
+#define CFG_EXTRA_ENV_SETTINGS                                         \
        DEFAULT_LINUX_BOOT_ENV                                          \
-       BOOTENV                                                         \
-       EXTRA_ENV_IOT2050_BOARD_SETTINGS
+       BOOTENV
 
 #include <configs/ti_armv7_common.h>