From 7a077222566c84546dca4a56c1a509626036e429 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sat, 14 Oct 2017 18:18:30 +0200 Subject: spi25: Remove now obsolete `four_bytes_addr_funcs` path Change-Id: Idb7c576cb159630da2268813388b497cb5f46b43 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/22386 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) --- flash.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'flash.h') diff --git a/flash.h b/flash.h index ad7c91bf..f310e236 100644 --- a/flash.h +++ b/flash.h @@ -169,14 +169,6 @@ struct flashchip { unsigned int page_size; int feature_bits; - /* set of function pointers to use in 4-bytes addressing mode */ - struct four_bytes_addr_funcs_set { - int (*set_4ba) (struct flashctx *flash); - int (*read_nbyte) (struct flashctx *flash, unsigned int addr, uint8_t *bytes, unsigned int len); - int (*program_byte) (struct flashctx *flash, unsigned int addr, const uint8_t databyte); - int (*program_nbyte) (struct flashctx *flash, unsigned int addr, const uint8_t *bytes, unsigned int len); - } four_bytes_addr_funcs; - /* Indicate how well flashrom supports different operations of this flash chip. */ struct tested { enum test_state probe; @@ -213,6 +205,7 @@ struct flashchip { int (*unlock) (struct flashctx *flash); int (*write) (struct flashctx *flash, const uint8_t *buf, unsigned int start, unsigned int len); int (*read) (struct flashctx *flash, uint8_t *buf, unsigned int start, unsigned int len); + int (*set_4ba) (struct flashctx *flash); struct voltage { uint16_t min; uint16_t max; -- cgit v1.2.3