From c0813e7eddc553c5f8348ed1e1e4c8b00db93857 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Sun, 30 Oct 2022 15:53:18 +1100 Subject: programmer: Drop dead fallback_map() boilerplate The fallback_{un}map() boilerplate code doesn't do anything, merely distracts away from otherwise linear control flow. Just drop it as anything in the future that could need such a thing is free to implement it when required. Change-Id: Ibb7760f807fae040416cef2797a7dbf6572f7df9 Signed-off-by: Edward O'Callaghan Reviewed-on: https://review.coreboot.org/c/flashrom/+/68963 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- include/programmer.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/programmer.h b/include/programmer.h index 386e6ecc..55e300a9 100644 --- a/include/programmer.h +++ b/include/programmer.h @@ -439,8 +439,6 @@ struct par_master { int register_par_master(const struct par_master *mst, const enum chipbustype buses, void *data); /* programmer.c */ -void *fallback_map(const char *descr, uintptr_t phys_addr, size_t len); -void fallback_unmap(void *virt_addr, size_t len); 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); -- cgit v1.2.3