projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d19cd4
)
rpi: set devtype/devnum envs for the detected boot medium
author
Marek Szyprowski
<m.szyprowski@samsung.com>
Thu, 25 Apr 2024 16:32:24 +0000
(18:32 +0200)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Mon, 28 Oct 2024 11:28:45 +0000
(20:28 +0900)
Set 'devtype' and 'devnum' envs (same as in the standard distro_boot) for
the detected boot medium, so they can be used in the boot scripts.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ibd828dc1e07cc23e9f4e89f609d475b56b8d9129
board/raspberrypi/rpi/rpi.c
patch
|
blob
|
history
diff --git
a/board/raspberrypi/rpi/rpi.c
b/board/raspberrypi/rpi/rpi.c
index a72bf086a46212a1486f86f20c2adb922b0b326f..615222f22feb7435bef0595d9ac9460034250977 100644
(file)
--- a/
board/raspberrypi/rpi/rpi.c
+++ b/
board/raspberrypi/rpi/rpi.c
@@
-501,6
+501,8
@@
int misc_init_r(void)
set_board_info();
#endif
set_serial_number();
+ env_set("devtype", boot_interface);
+ env_set("devnum", "0");
return 0;
}