diff options
author | Wadim Egorov <w.egorov@phytec.de> | 2025-05-08 17:15:46 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-05-22 13:51:56 -0600 |
commit | 5900a2db4b7688586dc4605f4bdccba16a2b103d (patch) | |
tree | fcff90b7bbd4c2bd91d1cf269edf580fe974835d /lib/linux_string.c | |
parent | 7fbadff8a7d62118896fe19881a9c744b9aa3a77 (diff) |
board: phytec: common: k3: Update boot_targets at runtime
Factor out boot device detection from board_late_init() into a new
boot_targets_setup() helper.
Adjust the boot_targets environment variable to favor the device we
just booted from. If boot_targets is still at its default value,
prepend the current boot device to the list; otherwise leave any
user-customized order untouched.
Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Diffstat (limited to 'lib/linux_string.c')
0 files changed, 0 insertions, 0 deletions