mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-09-26 16:21:25 +02:00
iot2050: Migrate settings into board env file
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>
This commit is contained in:
parent
6ac9131702
commit
d5436aad14
9
board/siemens/iot2050/iot2050.env
Normal file
9
board/siemens/iot2050/iot2050.env
Normal file
@ -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
|
@ -13,12 +13,6 @@
|
|||||||
|
|
||||||
#include <linux/sizes.h>
|
#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)
|
#if IS_ENABLED(CONFIG_CMD_USB)
|
||||||
# define BOOT_TARGET_USB(func) \
|
# define BOOT_TARGET_USB(func) \
|
||||||
func(USB, usb, 0) \
|
func(USB, usb, 0) \
|
||||||
@ -42,8 +36,7 @@
|
|||||||
|
|
||||||
#define CFG_EXTRA_ENV_SETTINGS \
|
#define CFG_EXTRA_ENV_SETTINGS \
|
||||||
DEFAULT_LINUX_BOOT_ENV \
|
DEFAULT_LINUX_BOOT_ENV \
|
||||||
BOOTENV \
|
BOOTENV
|
||||||
EXTRA_ENV_IOT2050_BOARD_SETTINGS
|
|
||||||
|
|
||||||
#include <configs/ti_armv7_common.h>
|
#include <configs/ti_armv7_common.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user