ODROID-M1: rkflash: enforce to disable 4bit bus access

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ifd9bc9a8a7d1eeff93f8f20495da791ccf36e2c9
This commit is contained in:
Dongjin Kim
2021-12-11 12:59:23 +00:00
committed by codewalkerster
parent bedefd8169
commit 3b60b677a3

View File

@@ -679,6 +679,10 @@ static int snor_parse_flash_table(struct SFNOR_DEV *p_dev,
else if (i == 2)
p_dev->write_status = snor_write_status2;
#if defined(CONFIG_ARCH_ROCKCHIP_ODROID_COMMON)
g_spi_flash_info->feature &= ~(FEA_4BIT_PROG | FEA_4BIT_READ);
#endif
if (g_spi_flash_info->feature & FEA_4BIT_READ) {
ret = SFC_OK;
if (g_spi_flash_info->QE_bits)