]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: pinebook-pro: minor SPI flash fixes
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 12 Jun 2022 13:47:14 +0000 (14:47 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 29 Jun 2022 03:42:44 +0000 (11:42 +0800)
Set a default offset for environment so it doesn't write it to
unexpected locations, drop unneeded mtd config option.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
configs/pinebook-pro-rk3399_defconfig

index 8ca1d0708f9a8100b636ca17c1a51ea40a77a361..aaa52c6ea7032b51eb895808215bcdf088328f26 100644 (file)
@@ -5,6 +5,7 @@ CONFIG_ARCH_ROCKCHIP=y
 CONFIG_SYS_TEXT_BASE=0x00200000
 CONFIG_NR_DRAM_BANKS=1
 CONFIG_ENV_SIZE=0x8000
+CONFIG_ENV_OFFSET=0x3F8000
 CONFIG_DEFAULT_DEVICE_TREE="rk3399-pinebook-pro"
 CONFIG_ROCKCHIP_RK3399=y
 CONFIG_TARGET_PINEBOOK_PRO_RK3399=y
@@ -22,7 +23,6 @@ CONFIG_MISC_INIT_R=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 CONFIG_SPL_STACK_R=y
 CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x10000
-CONFIG_SPL_MTD_SUPPORT=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_TPL=y
 CONFIG_CMD_BOOTZ=y