summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2021-11-15 12:29:53 +0100
committerMarek Szyprowski <m.szyprowski@samsung.com>2021-11-16 11:04:04 +0100
commit8ab9201d0376c8f40931a1b37b3765cd9a3d452c (patch)
treea9f4102f282837444bc57cab2e9a65ae91ecf22e /configs
parent90924a72aa8b1eb6b1645cfa090c04dbb7a8a5a4 (diff)
downloadu-boot-8ab9201d0376c8f40931a1b37b3765cd9a3d452c.tar.gz
u-boot-8ab9201d0376c8f40931a1b37b3765cd9a3d452c.tar.bz2
u-boot-8ab9201d0376c8f40931a1b37b3765cd9a3d452c.zip
configs: odroid-c4: fix ENV_SIZE and other configs
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/odroid-c4_defconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/configs/odroid-c4_defconfig b/configs/odroid-c4_defconfig
index 356a9c9be2..0240f53a47 100644
--- a/configs/odroid-c4_defconfig
+++ b/configs/odroid-c4_defconfig
@@ -3,10 +3,11 @@ 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_DEFAULT_DEVICE_TREE="meson-sm1-odroid-c4"
CONFIG_MESON_G12A=y
+CONFIG_TIZEN_ODROID_C4=y
CONFIG_DEBUG_UART_BASE=0xff803000
CONFIG_DEBUG_UART_CLOCK=24000000
CONFIG_IDENT_STRING=" odroid-c4/hc4"
@@ -14,6 +15,7 @@ CONFIG_DEBUG_UART=y
CONFIG_OF_BOARD_SETUP=y
# CONFIG_DISPLAY_CPUINFO is not set
CONFIG_MISC_INIT_R=y
+CONFIG_SYS_PROMPT="Odroid C4>"
# CONFIG_CMD_BDI is not set
# CONFIG_CMD_IMI is not set
CONFIG_CMD_GPIO=y
@@ -24,7 +26,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_ADC=y
CONFIG_SARADC_MESON=y