]> git.baikalelectronics.ru Git - uboot.git/commitdiff
rockchip: rk3328: nanopi-r2s: Use the sdcard for the env
authorEmmanuel Vadot <manu@FreeBSD.org>
Tue, 3 May 2022 18:41:04 +0000 (20:41 +0200)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 29 Jun 2022 03:30:15 +0000 (11:30 +0800)
The NanoPi-R2S doesn't have eMMC so use the sdcard as the device
to save the environment variables

Signed-off-by: Emmanuel Vadot <manu@FreeBSD.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/nanopi-r2s-rk3328_defconfig

index 453e54295de1bc49f82202ae9fa98a4974e68f03..0665368c4dbd16fadabfe793d6eb590abec03028 100644 (file)
@@ -44,6 +44,7 @@ CONFIG_TPL_OF_CONTROL=y
 CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
 CONFIG_TPL_OF_PLATDATA=y
 CONFIG_ENV_IS_IN_MMC=y
+CONFIG_SYS_MMC_ENV_DEV=1
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_TPL_DM=y