mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
programmer.h,c: Drop dead noop_chip_writeb() fn
Drop dead code. BUG=none BRANCH=none TEST=`git grep noop_chip_writeb` Change-Id: I160406df903b3b0a49a5ff3ec78a030e10fa60a0 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/47894 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com>
This commit is contained in:
parent
976d0fc0ba
commit
f280797060
@ -35,11 +35,6 @@ void fallback_unmap(void *virt_addr, size_t len)
|
||||
{
|
||||
}
|
||||
|
||||
/* 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)
|
||||
|
@ -730,7 +730,6 @@ int register_opaque_master(const struct opaque_master *mst);
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user