mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
parallel.c: Consoldiate parallel master registration logic
This is analogous to spi.c and opaque.c however parallel logic was previously never consoldiated. This free's up flashrom.c from namespace pollution. BUG=b:242246291 TEST=builds with both make and meson. Change-Id: Ie08e2e6c51ccef5281386bf7e3df439b91573974 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66651 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
This commit is contained in:

committed by
Edward O'Callaghan

parent
16744f9e96
commit
8f9e910eb3
@ -372,6 +372,7 @@ struct flashrom_flashctx {
|
||||
extern const struct flashchip flashchips[];
|
||||
extern const unsigned int flashchips_size;
|
||||
|
||||
/* parallel.c */
|
||||
void chip_writeb(const struct flashctx *flash, uint8_t val, chipaddr addr);
|
||||
void chip_writew(const struct flashctx *flash, uint16_t val, chipaddr addr);
|
||||
void chip_writel(const struct flashctx *flash, uint32_t val, chipaddr addr);
|
||||
|
Reference in New Issue
Block a user