diff options
author | Patrick Delaunay | 2020-04-22 14:29:15 +0200 |
---|---|---|
committer | Patrick Delaunay | 2020-05-14 09:02:12 +0200 |
commit | 3cab9aae456d918b2e3e9b672f27590de829dea6 (patch) | |
tree | 9fbabc79c818fe6644542ba3c7afb03614d12c96 | |
parent | 99f6743d6323c7cfa00a2517896aaf0af4f6a88e (diff) |
board: stm32mp1: remove bootdelay configuration for usb or serial boot
It is not allowed to change the user setting of bootdelay, so
remove the check of the boot-source to disable it dynamically
in board_late_init()
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
-rw-r--r-- | board/st/stm32mp1/stm32mp1.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c index c64f20ab086..6873165a0f8 100644 --- a/board/st/stm32mp1/stm32mp1.c +++ b/board/st/stm32mp1/stm32mp1.c @@ -687,7 +687,6 @@ int board_init(void) int board_late_init(void) { - char *boot_device; #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG const void *fdt_compat; int fdt_compat_len; @@ -735,11 +734,6 @@ int board_late_init(void) board_check_usb_power(); #endif /* CONFIG_ADC */ - /* Check the boot-source to disable bootdelay */ - boot_device = env_get("boot_device"); - if (!strcmp(boot_device, "serial") || !strcmp(boot_device, "usb")) - env_set("bootdelay", "0"); - return 0; } |