mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
99f6743d63
commit
3cab9aae45
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue