summaryrefslogtreecommitdiffstats
path: root/it87spi.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-04-22 00:13:15 +0200
committerNico Huber <nico.h@gmx.de>2019-06-21 12:00:34 +0000
commit504215b9f68e26938eea75afcbc22bdf389af991 (patch)
tree85f3be7cd8fb2512a2eca63eb2ac3f3cf2456ce9 /it87spi.c
parent477e1693c830d3246c4fd7caae8a2f2b8e9f49c1 (diff)
downloadflashrom-504215b9f68e26938eea75afcbc22bdf389af991.tar.gz
flashrom-504215b9f68e26938eea75afcbc22bdf389af991.tar.bz2
flashrom-504215b9f68e26938eea75afcbc22bdf389af991.zip
spi25: Fix layering violation in default_spi_write_aai()
Change-Id: I8aa3e2992f64906edc669060936f9522d32637fb Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/33649 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'it87spi.c')
-rw-r--r--it87spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/it87spi.c b/it87spi.c
index df9f664c9..13b3aaeee 100644
--- a/it87spi.c
+++ b/it87spi.c
@@ -115,7 +115,7 @@ static const struct spi_master spi_master_it87xx = {
.multicommand = default_spi_send_multicommand,
.read = it8716f_spi_chip_read,
.write_256 = it8716f_spi_chip_write_256,
- .write_aai = default_spi_write_aai,
+ .write_aai = spi_chip_write_1,
};
static uint16_t it87spi_probe(uint16_t port)