mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
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>
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user