mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
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:
committed by
codewalkerster
parent
bedefd8169
commit
3b60b677a3
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user