mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
Merge "drivers: mtd: nand: Extract the Status register value"
This commit is contained in:
commit
fdd40cf3fd
1 changed files with 1 additions and 0 deletions
|
|
@ -1421,6 +1421,7 @@ int qpic_spi_nand_config(struct mtd_info *mtd)
|
|||
if ((status >> 8) & FLASH_SPI_NAND_FR_ECC_ENABLE) {
|
||||
qspi_debug("%s : Internal ECC enabled, disabling internal ECC\n",__func__);
|
||||
|
||||
status >>= 8;
|
||||
status &= ~(FLASH_SPI_NAND_FR_ECC_ENABLE);
|
||||
status = qpic_serial_set_feature(mtd, FLASH_SPI_NAND_FR_ADDR,
|
||||
status);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue