git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d87a706
)
board: phytec: common: k3: Add missing boot source to env
author
Daniel Schultz
<d.schultz@phytec.de>
Thu, 16 Jan 2025 11:29:29 +0000
(
03:29
-0800)
committer
Tom Rini
<trini@konsulko.com>
Thu, 23 Jan 2025 18:11:50 +0000
(12:11 -0600)
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>
board/phytec/common/k3/board.c
patch
|
blob
|
history
diff --git
a/board/phytec/common/k3/board.c
b/board/phytec/common/k3/board.c
index
9ff861c
..
ebdd5fb
100644
(file)
--- 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)) {