configs: odroid-n2: fix ENV_SIZE and other configs
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 5 Nov 2020 03:11:37 +0000 (12:11 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 5 Nov 2020 03:11:37 +0000 (12:11 +0900)
Fix ENV_SIZE and other configs.
- Change from 0x2000 to 0x4000
- SYS_MMC_ENV_DEV/PART is set to 1

Change-Id: I3048e7a2838a6ce46c8986685791309619e66028
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
configs/odroid-n2_defconfig

index 8b487d1..fee8e74 100644 (file)
@@ -3,7 +3,7 @@ CONFIG_SYS_BOARD="odroid-n2"
 CONFIG_ARCH_MESON=y
 CONFIG_SYS_TEXT_BASE=0x01000000
 CONFIG_NR_DRAM_BANKS=1
-CONFIG_ENV_SIZE=0x2000
+CONFIG_ENV_SIZE=0x4000
 CONFIG_DM_GPIO=y
 CONFIG_MESON_G12A=y
 CONFIG_TIZEN_ODROID_N2=y
@@ -28,10 +28,12 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
-CONFIG_ENV_IS_NOWHERE=y
 CONFIG_ENV_IS_IN_FAT=y
 CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
+CONFIG_ENV_FAT_FILE="odroid-n2/params.bin"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_MMC_ENV_DEV=1
+CONFIG_SYS_MMC_ENV_PART=1
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DFU_MMC=y
 CONFIG_DM_MMC=y