summaryrefslogtreecommitdiff
path: root/board/engicam
diff options
context:
space:
mode:
Diffstat (limited to 'board/engicam')
-rw-r--r--board/engicam/icorem6_rqs/icorem6_rqs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/engicam/icorem6_rqs/icorem6_rqs.c b/board/engicam/icorem6_rqs/icorem6_rqs.c
index 04fb0c2028..01380f1269 100644
--- a/board/engicam/icorem6_rqs/icorem6_rqs.c
+++ b/board/engicam/icorem6_rqs/icorem6_rqs.c
@@ -47,6 +47,12 @@ int board_init(void)
}
#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;
+}
+
static void mmc_late_init(void)
{
char cmd[32];