mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Implement tested/untested status for board enables
The message printing code greatly exceed the 80 character limit. I can reformat it on request to obey the limit. Intended behaviour: on untested boards an explanation of that status is printed and the board enable code is not run, unless the option "boardenable=force" has been passed to the internal programmer. Corresponding to flashrom svn r919. Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> Acked-by: Sean Nelson <audiohacked@gmail.com>
This commit is contained in:
2
flash.h
2
flash.h
@ -288,6 +288,7 @@ struct board_pciid_enable {
|
||||
const char *board_name;
|
||||
|
||||
int max_rom_decode_parallel;
|
||||
int status;
|
||||
int (*enable) (const char *name);
|
||||
};
|
||||
|
||||
@ -383,6 +384,7 @@ void get_io_perms(void);
|
||||
void release_io_perms(void);
|
||||
#if INTERNAL_SUPPORT == 1
|
||||
extern int is_laptop;
|
||||
extern int force_boardenable;
|
||||
void probe_superio(void);
|
||||
int internal_init(void);
|
||||
int internal_shutdown(void);
|
||||
|
Reference in New Issue
Block a user