programmer.h,c: Drop dead noop_chip_writeb() fn
Drop dead code.
Tested: `git grep noop_chip_writeb`
Change-Id: I160406df903b3b0a49a5ff3ec78a030e10fa60a0
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/47894
Original-Reviewed-by: Sam McNally <sammc@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71331
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/programmer.c b/programmer.c
index f4b4384..5c841ef 100644
--- a/programmer.c
+++ b/programmer.c
@@ -35,11 +35,6 @@
{
}
-/* No-op chip_writeb() for parallel style drivers not supporting writes */
-void noop_chip_writeb(const struct flashctx *flash, uint8_t val, chipaddr addr)
-{
-}
-
/* Little-endian fallback for drivers not supporting 16 bit accesses */
void fallback_chip_writew(const struct flashctx *flash, uint16_t val,
chipaddr addr)
diff --git a/programmer.h b/programmer.h
index 1955094..591f8ca 100644
--- a/programmer.h
+++ b/programmer.h
@@ -698,7 +698,6 @@
int noop_shutdown(void);
void *fallback_map(const char *descr, uintptr_t phys_addr, size_t len);
void fallback_unmap(void *virt_addr, size_t len);
-void noop_chip_writeb(const struct flashctx *flash, uint8_t val, chipaddr addr);
void fallback_chip_writew(const struct flashctx *flash, uint16_t val, chipaddr addr);
void fallback_chip_writel(const struct flashctx *flash, uint32_t val, chipaddr addr);
void fallback_chip_writen(const struct flashctx *flash, const uint8_t *buf, chipaddr addr, size_t len);