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:
6798ca5
)
tizen: amlogic: vim3: adjust MMC device numbers for Tizen
author
Marek Szyprowski
<m.szyprowski@samsung.com>
Wed, 17 Nov 2021 09:28:09 +0000
(10:28 +0100)
committer
Jaehoon Chung
<jh80.chung@samsung.com>
Wed, 12 Oct 2022 05:48:56 +0000
(14:48 +0900)
Adjust MMC device numbers for SD to #0 and eMMC to #1 to match other
Tizen boards and simplify boot scripts.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
board/amlogic/vim3/vim3.c
patch
|
blob
|
history
diff --git
a/board/amlogic/vim3/vim3.c
b/board/amlogic/vim3/vim3.c
index
fcd60ab
..
f0674b5
100644
(file)
--- a/
board/amlogic/vim3/vim3.c
+++ b/
board/amlogic/vim3/vim3.c
@@
-21,9
+21,9
@@
int mmc_get_env_dev(void)
{
switch (meson_get_boot_device()) {
case BOOT_DEVICE_EMMC:
- return 2;
- case BOOT_DEVICE_SD:
return 1;
+ case BOOT_DEVICE_SD:
+ return 0;
default:
/* boot device is not EMMC|SD */
return -1;