mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
rockchip: rk35xx: Enable eMMC HS200 mode by default
Testing has shown that writing to eMMC using a slower mode then HS200 typically generate an ERROR on first attempt on RK3588. # Rescan using MMC legacy mode => mmc rescan 0 # Write a single block to sector 0x4000 fails with ERROR => mmc write 20000000 4000 1 # Write a single block to sector 0x4000 now works => mmc write 20000000 4000 1 With the MMC_SPEED_MODE_SET Kconfig option enabled. Writing to eMMC using HS200 mode work more reliably than slower modes on RK35xx boards. Enable MMC_HS200_SUPPORT Kconfig option by default to prefer use of HS200 mode on RK356x and RK3588. Signed-off-by: Jonas Karlman <jonas@kwiboo.se> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
ebe293bae7
commit
6de9d7b2f1
4 changed files with 4 additions and 6 deletions
|
@ -293,6 +293,8 @@ config ROCKCHIP_RK3568
|
|||
imply OF_LIBFDT_OVERLAY
|
||||
imply ROCKCHIP_OTP
|
||||
imply MISC_INIT_R
|
||||
imply MMC_HS200_SUPPORT if MMC_SDHCI_ROCKCHIP
|
||||
imply SPL_MMC_HS200_SUPPORT if SPL_MMC && MMC_HS200_SUPPORT
|
||||
help
|
||||
The Rockchip RK3568 is a ARM-based SoC with quad-core Cortex-A55,
|
||||
including NEON and GPU, 512K L3 cache, Mali-G52 based graphics,
|
||||
|
@ -318,6 +320,8 @@ config ROCKCHIP_RK3588
|
|||
imply OF_LIBFDT_OVERLAY
|
||||
imply ROCKCHIP_OTP
|
||||
imply MISC_INIT_R
|
||||
imply MMC_HS200_SUPPORT if MMC_SDHCI_ROCKCHIP
|
||||
imply SPL_MMC_HS200_SUPPORT if SPL_MMC && MMC_HS200_SUPPORT
|
||||
imply CLK_SCMI
|
||||
imply SCMI_FIRMWARE
|
||||
imply BOOTSTD_FULL
|
||||
|
|
|
@ -58,8 +58,6 @@ CONFIG_ROCKCHIP_GPIO=y
|
|||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_SUPPORT_EMMC_RPMB=y
|
||||
CONFIG_MMC_HS200_SUPPORT=y
|
||||
CONFIG_SPL_MMC_HS200_SUPPORT=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_ROCKCHIP=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
|
|
|
@ -58,8 +58,6 @@ CONFIG_ROCKCHIP_GPIO=y
|
|||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_SUPPORT_EMMC_RPMB=y
|
||||
CONFIG_MMC_HS200_SUPPORT=y
|
||||
CONFIG_SPL_MMC_HS200_SUPPORT=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_ROCKCHIP=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
|
|
|
@ -60,8 +60,6 @@ CONFIG_ROCKCHIP_GPIO=y
|
|||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_SUPPORT_EMMC_RPMB=y
|
||||
CONFIG_MMC_HS200_SUPPORT=y
|
||||
CONFIG_SPL_MMC_HS200_SUPPORT=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_DW_ROCKCHIP=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
|
|
Loading…
Reference in a new issue