diff options
author | Edward O'Callaghan <quasisec@google.com> | 2020-10-30 11:41:01 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-10-31 12:15:05 +0000 |
commit | 8a9218bf56e9f76c57ce347721500b451d8d6fa0 (patch) | |
tree | 6927f2bec12c0be93b3c3dcbee5aaea30387af85 /flashrom.c | |
parent | 53a99cdbc90fd3296f2d6afa649c39a52bdb20a3 (diff) | |
download | flashrom-8a9218bf56e9f76c57ce347721500b451d8d6fa0.tar.gz flashrom-8a9218bf56e9f76c57ce347721500b451d8d6fa0.tar.bz2 flashrom-8a9218bf56e9f76c57ce347721500b451d8d6fa0.zip |
spi25.c: Use JEDEC consts in spi_simple_write_cmd() calls
Make use of the JEDEC_CE_{60,62,C7} defined constants of
the op-codes in each of the spi_simple_write_cmd() calls
to assist in readability.
V.2: Squash in JEDEC_BE_{52,C4,D7,D8,50,81} && JEDEC_SE.
Both 'S'ector and 'B'lock 'E'rasers now use the consts in
spi.h.
BUG=none
BRANCH=none
TEST=builds same object.
Change-Id: I1876781672fe03302af4a6ff8d365f2e6c3b6f13
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/47005
Reviewed-by: Shiyu Sun <sshiyu@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'flashrom.c')
0 files changed, 0 insertions, 0 deletions