drivers: spi_flash: Addressing mode change for SPI NOR
As 4-byte addressing mode is not support in coreboot, change the addressing mode of SPI NOR from 4-bytes to 3-bytes. BUG=b:215605946 TEST=Validated on qualcomm sc7280 development board Signed-off-by: Veerabhadrarao Badiganti <quic_vbadigan@quicinc.com> Signed-off-by: Shaik Sajida Bhanu <quic_c_sbhanu@quicinc.com> Change-Id: Ied5b647d0fcc8e3effff3bb7c8680ed5a0c1f3d4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50586 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Shelley Chen <shchen@google.com>
This commit is contained in:
committed by
Shelley Chen
parent
02b2afa8e9
commit
d43e688ed2
@@ -22,6 +22,8 @@
|
||||
|
||||
#define CMD_BLOCK_ERASE 0xD8
|
||||
|
||||
#define CMD_EXIT_4BYTE_ADDR_MODE 0xe9
|
||||
|
||||
/* Common status */
|
||||
#define STATUS_WIP 0x01
|
||||
|
||||
|
Reference in New Issue
Block a user