]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: hihope_rzg2: Set correct MMC device for U-Boot env
authorChris Paterson <chris.paterson2@renesas.com>
Mon, 4 Nov 2024 13:50:11 +0000 (13:50 +0000)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 10 Nov 2024 18:38:46 +0000 (19:38 +0100)
Currently we set CONFIG_SYS_MMC_ENV_DEV=1 which is wrong:
  Loading Environment from MMC... MMC: no card present
  *** Warning - No block device, using default environment

This issue was introduced when we switched to using upstream Linux device
trees for the hihope boards which named the MMC devices differently.

Correct to dev 0 so that the U-Boot environment can be loaded from the
correct storage device.

Fixes: 18fb23b13158 ("ARM: dts: renesas: Switch to using upstream DT on 64bit Renesas SoCs")
Signed-off-by: Chris Paterson <chris.paterson2@renesas.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
configs/hihope_rzg2_defconfig

index 6266f3cbc5644f778b50057ffd399cbf98c5b55a..f51660300c6bd742e6060adcb6b7502bdb38c695 100644 (file)
@@ -24,7 +24,7 @@ CONFIG_MULTI_DTB_FIT_LZO=y
 CONFIG_MULTI_DTB_FIT_USER_DEFINED_AREA=y
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
-CONFIG_SYS_MMC_ENV_DEV=1
+CONFIG_SYS_MMC_ENV_DEV=0
 CONFIG_SYS_MMC_ENV_PART=2
 CONFIG_GPIO_HOG=y
 CONFIG_DM_PCA953X=y