drivers: flash: stm32_qspi: handle 4-byte addressing only chips
Correctly initialize driver if flash chip supports 4-byte addressing only. Signed-off-by: Mario Jaun <mario.jaun@gmail.com>
This commit is contained in:
parent
08740ca7ef
commit
e3c1747d80
|
@ -982,6 +982,10 @@ static int spi_nor_process_bfp(const struct device *dev,
|
|||
}
|
||||
}
|
||||
}
|
||||
if (addr_mode == JESD216_SFDP_BFP_DW1_ADDRBYTES_VAL_4B) {
|
||||
data->flag_access_32bit = true;
|
||||
LOG_INF("Flash - address mode: 4B");
|
||||
}
|
||||
|
||||
/*
|
||||
* Only check if the 1-4-4 (i.e. 4READ) or 1-1-4 (QREAD)
|
||||
|
|
Loading…
Reference in a new issue