diff options
author | Nico Huber <nico.h@gmx.de> | 2017-10-14 18:18:30 +0200 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2017-12-28 10:46:54 +0000 |
commit | 7a077222566c84546dca4a56c1a509626036e429 (patch) | |
tree | b4cd487275dd4ffc92ad6ac885268842efbe9eb3 /flashrom.c | |
parent | a1672f829328e877d9b8dea7777f25e2eba52d0e (diff) | |
download | flashrom-7a077222566c84546dca4a56c1a509626036e429.tar.gz flashrom-7a077222566c84546dca4a56c1a509626036e429.tar.bz2 flashrom-7a077222566c84546dca4a56c1a509626036e429.zip |
spi25: Remove now obsolete `four_bytes_addr_funcs` path
Change-Id: Idb7c576cb159630da2268813388b497cb5f46b43
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/22386
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2219,9 +2219,8 @@ int prepare_flash_access(struct flashctx *const flash, flash->in_4ba_mode = false; /* Enable/disable 4-byte addressing mode if flash chip supports it */ - if ((flash->chip->feature_bits & FEATURE_4BA_SUPPORT) && - flash->chip->four_bytes_addr_funcs.set_4ba) { - if (flash->chip->four_bytes_addr_funcs.set_4ba(flash)) { + if ((flash->chip->feature_bits & FEATURE_4BA_SUPPORT) && flash->chip->set_4ba) { + if (flash->chip->set_4ba(flash)) { msg_cerr("Enabling/disabling 4-byte addressing mode failed!\n"); return 1; } |