configs: odroid-c4: fix ENV_SIZE and other configs 49/247249/1
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 9 Nov 2020 04:53:52 +0000 (13:53 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 9 Nov 2020 07:32:57 +0000 (16:32 +0900)
Fix ENV_SIZE and other configs.
- Change from 0x2000 to 0x4000
- SYS_MMC_ENV_DEV/PART set to 1.
- Enable CONFIG_TIZEN_ODROID_C4
- SYS_PROMPT is "Odroid C4>"

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

index 8471a1d..e0b499f 100644 (file)
@@ -3,9 +3,10 @@ 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_C4=y
 CONFIG_DEBUG_UART_BASE=0xff803000
 CONFIG_DEBUG_UART_CLOCK=24000000
 CONFIG_IDENT_STRING=" odroid-c4"
@@ -14,6 +15,7 @@ CONFIG_DEBUG_UART=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_SYS_PROMPT="Odroid C4>"
 # CONFIG_CMD_BDI is not set
 # CONFIG_CMD_IMI is not set
 CONFIG_CMD_THOR_DOWNLOAD=y
@@ -26,7 +28,13 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
+CONFIG_ENV_IS_IN_FAT=y
+CONFIG_ENV_FAT_DEVICE_AND_PART="1:1"
+CONFIG_ENV_FAT_FILE="odroid-c4/params.bin"
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
+CONFIG_SYS_MMC_ENV_DEV=1
+CONFIG_SYS_MMC_ENV_PART=1
+CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DFU_MMC=y
 CONFIG_SET_DFU_ALT_INFO=y