projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49cf320
)
imx: imx8mm_evk: add board_mmc_get_env_dev
author
Peng Fan
<peng.fan@nxp.com>
Wed, 9 Oct 2019 03:08:17 +0000
(
03:08
+0000)
committer
Stefano Babic
<sbabic@denx.de>
Mon, 14 Oct 2019 07:31:41 +0000
(09:31 +0200)
Add board_mmc_get_env_dev to correctly return devno for mmc env
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/imx8mm_evk/imx8mm_evk.c
patch
|
blob
|
history
diff --git
a/board/freescale/imx8mm_evk/imx8mm_evk.c
b/board/freescale/imx8mm_evk/imx8mm_evk.c
index 3706e1ec5506ad447117438942a5e5e35dba21df..e4742338e33068ebf2aaacb36280f5a4f0cacbb2 100644
(file)
--- a/
board/freescale/imx8mm_evk/imx8mm_evk.c
+++ b/
board/freescale/imx8mm_evk/imx8mm_evk.c
@@
-19,6
+19,11
@@
int board_init(void)
return 0;
}
+int board_mmc_get_env_dev(int devno)
+{
+ return devno;
+}
+
int board_late_init(void)
{
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG