summaryrefslogtreecommitdiff
path: root/configs/imx8mp_venice_defconfig
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2022-08-11 11:53:32 -0700
committerStefano Babic <sbabic@denx.de>2022-10-20 17:35:51 +0200
commit5c525acafc90a58946df78045b85ea4a43c3c7ca (patch)
tree66b6198abe4968733f207f187b0a003b8aa51fcf /configs/imx8mp_venice_defconfig
parent3724ddf157aab3bd009c1da234b9a1af1621b544 (diff)
downloadu-boot-5c525acafc90a58946df78045b85ea4a43c3c7ca.tar.gz
imx8*_venice_defconfig: configure default MMC env device
When booting from USB/SDP mmc_get_env_dev() returns CONFIG_SYS_MMC_ENV_DEV as the MMC env device (while booting from MMC will call board_mmc_get_env_dev() to get this). Configure CONFIG_SYS_MMC_ENV_DEV for SDHC3 (devno=2) as all Gateworks Venice boards use SDHC3 as eMMC so that persistent env works when booting from USB/SDP. Reviewed-by: Fabio Estevam <festevam@denx.de> Signed-off-by: Tim Harvey <tharvey@gateworks.com> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'configs/imx8mp_venice_defconfig')
-rw-r--r--configs/imx8mp_venice_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/imx8mp_venice_defconfig b/configs/imx8mp_venice_defconfig
index f3f98aa536..84e708a704 100644
--- a/configs/imx8mp_venice_defconfig
+++ b/configs/imx8mp_venice_defconfig
@@ -76,6 +76,7 @@ CONFIG_SPL_OF_CONTROL=y
CONFIG_OF_LIST="imx8mp-venice imx8mp-venice-gw74xx"
CONFIG_ENV_IS_IN_MMC=y
CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
+CONFIG_SYS_MMC_ENV_DEV=2
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_IP_DEFRAG=y