diff options
author | Ed Swierk <eswierk@skyportsystems.com> | 2017-07-03 13:17:18 -0700 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-10-15 12:37:03 +0000 |
commit | cc20a9b08e849437a58402f4a64d63d3710684af (patch) | |
tree | 01975202af6298ab6c357532b0e1d6e1d77715b8 /sfdp.c | |
parent | d94d254262594b912c65511b5d0675c6ab900d60 (diff) | |
download | flashrom-cc20a9b08e849437a58402f4a64d63d3710684af.tar.gz flashrom-cc20a9b08e849437a58402f4a64d63d3710684af.tar.bz2 flashrom-cc20a9b08e849437a58402f4a64d63d3710684af.zip |
4BA: Allow disabling 4-byte address mode for SPI flash
This allows us to support flash chips in any of the following
configurations, regardless of whether the chip powers up in 3-byte or
4-byte address mode.
- standard commands with extended address register (*_4ba_ereg) or
direct commands (*_4ba_direct) in 3-byte address mode (.set_4ba =
spi_exit_4ba_*)
- standard commands (*_4ba) or direct commands (*_4ba_direct) in
4-byte address mode (.set_4ba = spi_enter_4ba_*)
- direct commands (*_4ba_direct) in either address mode (.set_4ba =
NULL)
Change-Id: I0b25309d731426940fc50956b744b681ab599e87
Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Reviewed-on: https://review.coreboot.org/20510
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'sfdp.c')
0 files changed, 0 insertions, 0 deletions