Skip to content
Unverified Commit cf580a92 authored by Liu Xiang's avatar Liu Xiang Committed by Tudor Ambarus
Browse files

mtd: spi-nor: fix nor->addr_width when its value configured from SFDP does not...


mtd: spi-nor: fix nor->addr_width when its value configured from SFDP does not match the actual width

IS25LP256 gets BFPT_DWORD1_ADDRESS_BYTES_3_ONLY from BFPT table for
address width. But in actual fact the flash can support 4-byte address.
Use a post bfpt fixup hook to overwrite the address width advertised by
the BFPT.

Signed-off-by: default avatarLiu Xiang <liu.xiang6@zte.com.cn>
Reviewed-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: default avatarTudor Ambarus <tudor.ambarus@microchip.com>
parent 62de37da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment