From: Daniel Schultz Date: Thu, 16 Jan 2025 11:29:29 +0000 (-0800) Subject: board: phytec: common: k3: Add missing boot source to env X-Git-Tag: v2025.04-rc1~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a04cd075c044df22dc1e7a90b7c38d6b3d888f;p=pandora-u-boot.git 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 Reviewed-by: Wadim Egorov --- diff --git a/board/phytec/common/k3/board.c b/board/phytec/common/k3/board.c index 9ff861cd3f4..ebdd5fb2abe 100644 --- a/board/phytec/common/k3/board.c +++ b/board/phytec/common/k3/board.c @@ -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)) {