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:
913bdd6
)
icorem6_rqs: env: Return mmc devno
author
Jagan Teki
<jagan@amarulasolutions.com>
Thu, 28 Sep 2017 17:59:14 +0000
(23:29 +0530)
committer
Stefano Babic
<sbabic@denx.de>
Thu, 12 Oct 2017 15:31:16 +0000
(17:31 +0200)
Instead of changing mmc devno from dts nodes better
to return the detected devno so-that env trigger the same.
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
board/engicam/icorem6_rqs/icorem6_rqs.c
patch
|
blob
|
history
diff --git
a/board/engicam/icorem6_rqs/icorem6_rqs.c
b/board/engicam/icorem6_rqs/icorem6_rqs.c
index
2a321dc
..
0114889
100644
(file)
--- a/
board/engicam/icorem6_rqs/icorem6_rqs.c
+++ b/
board/engicam/icorem6_rqs/icorem6_rqs.c
@@
-27,8
+27,7
@@
DECLARE_GLOBAL_DATA_PTR;
#ifdef CONFIG_ENV_IS_IN_MMC
int board_mmc_get_env_dev(int devno)
{
- /* dev 0 for SD/eSD, dev 1 for MMC/eMMC */
- return (devno == 3) ? 1 : 0;
+ return devno;
}
#endif