mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Internal: introduce processor enables and abort if top/bottom alignment is unknown
The internal programmer needs correct information about flash_base and chip window top/bottom alignment on non-x86 before it can be used. Abort any internal programmer action for now until the code is fixed. Add the concept of a processor enable for systems where flashing is impacted by processor settings or processor model. Corresponding to flashrom svn r1031. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
3
flash.h
3
flash.h
@ -361,6 +361,9 @@ int board_flash_enable(const char *vendor, const char *part);
|
||||
/* chipset_enable.c */
|
||||
int chipset_flash_enable(void);
|
||||
|
||||
/* processor_enable.c */
|
||||
int processor_flash_enable(void);
|
||||
|
||||
/* physmap.c */
|
||||
void *physmap(const char *descr, unsigned long phys_addr, size_t len);
|
||||
void *physmap_try_ro(const char *descr, unsigned long phys_addr, size_t len);
|
||||
|
Reference in New Issue
Block a user