summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXingyu Wu <xingyu.wu@starfivetech.com>2023-09-06 12:01:51 +0300
committerXingyu Wu <xingyu.wu@starfivetech.com>2023-09-07 09:41:18 +0300
commit462f091f8027533d1aea403b31554dda88da46de (patch)
treef12f1147178e069d95c393f81df326db4f071c96
parentf96e2395bd6f7c0b5f78231adbd8da96539e9ce8 (diff)
downloadu-boot-462f091f8027533d1aea403b31554dda88da46de.tar.xz
defconfig: visionfive2: Fix the error of writing sparse file with fastboot
Add config for max block size to write in MMC with sparse file. Signed-off-by: Xingyu Wu <xingyu.wu@starfivetech.com>
-rw-r--r--configs/starfive_visionfive2_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/starfive_visionfive2_defconfig b/configs/starfive_visionfive2_defconfig
index 386e3c05fa..0775706dcc 100644
--- a/configs/starfive_visionfive2_defconfig
+++ b/configs/starfive_visionfive2_defconfig
@@ -83,6 +83,7 @@ CONFIG_CLK_COMPOSITE_CCF=y
CONFIG_SPL_CLK_JH7110=y
CONFIG_USB_FUNCTION_FASTBOOT=y
CONFIG_FASTBOOT_BUF_ADDR=0x60000000
+CONFIG_FASTBOOT_BUF_SIZE=0x80000000
CONFIG_FASTBOOT_USB_DEV=1
CONFIG_FASTBOOT_FLASH=y
CONFIG_FASTBOOT_UUU_SUPPORT=y
@@ -90,6 +91,7 @@ CONFIG_FASTBOOT_FLASH_MMC_DEV=0
CONFIG_FASTBOOT_MMC_BOOT_SUPPORT=y
CONFIG_FASTBOOT_MMC_USER_SUPPORT=y
CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
+CONFIG_FASTBOOT_STARFIVE_MAX_BLK_WRITE=8192
CONFIG_SYS_I2C_DW=y
CONFIG_SPL_SYS_I2C_DW=y
CONFIG_I2C_EEPROM=y