mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
flash.h: Make functions global that will be used for new erase algorithm
The new erase algorithm uses some of the functions which are static to `flashrom.c`. So make these functions global and add prototypes to `include\flash.h` and `include\layout.h'. Change-Id: I7ee7e208948337b88467935fd2861b5f9ad6af9d Signed-off-by: Aarya Chaumal <aarya.chaumal@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/71174 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
f2d20cf713
commit
b868038303
@ -72,5 +72,7 @@ const struct romentry *layout_next(const struct flashrom_layout *, const struct
|
||||
int included_regions_overlap(const struct flashrom_layout *);
|
||||
void prepare_layout_for_extraction(struct flashrom_flashctx *);
|
||||
int layout_sanity_checks(const struct flashrom_flashctx *);
|
||||
int check_for_unwritable_regions(const struct flashrom_flashctx *flash, unsigned int start, unsigned int len);
|
||||
void get_flash_region(const struct flashrom_flashctx *flash, int addr, struct flash_region *region);
|
||||
|
||||
#endif /* !__LAYOUT_H__ */
|
||||
|
Reference in New Issue
Block a user