mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
Factor out fallback_map/unmap, most external programmers don't need and special handling here
Corresponding to flashrom svn r531. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
2
flash.h
2
flash.h
@ -629,6 +629,8 @@ void mmio_writel(uint32_t val, void *addr);
|
||||
uint8_t mmio_readb(void *addr);
|
||||
uint16_t mmio_readw(void *addr);
|
||||
uint32_t mmio_readl(void *addr);
|
||||
void *fallback_map(const char *descr, unsigned long phys_addr, size_t len);
|
||||
void fallback_unmap(void *virt_addr, size_t len);
|
||||
void fallback_chip_writew(uint16_t val, chipaddr addr);
|
||||
void fallback_chip_writel(uint32_t val, chipaddr addr);
|
||||
uint16_t fallback_chip_readw(const chipaddr addr);
|
||||
|
Reference in New Issue
Block a user