mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-16 04:07:00 +02:00
board: phytec: common: k3: Add missing boot source to env
We set the boot source as environment variable 'boot'. Also include 'uart' and 'usbdfu' as possible boot sources. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
This commit is contained in:
parent
d87a706b9b
commit
b2a04cd075
@ -148,6 +148,12 @@ int board_late_init(void)
|
||||
case BOOT_DEVICE_ETHERNET:
|
||||
env_set("boot", "net");
|
||||
break;
|
||||
case BOOT_DEVICE_UART:
|
||||
env_set("boot", "uart");
|
||||
break;
|
||||
case BOOT_DEVICE_DFU:
|
||||
env_set("boot", "usbdfu");
|
||||
break;
|
||||
};
|
||||
|
||||
if (IS_ENABLED(CONFIG_PHYTEC_SOM_DETECTION_BLOCKS)) {
|
||||
|
Loading…
Reference in New Issue
Block a user