diff options
author | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-02-28 01:33:48 +0000 |
---|---|---|
committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-02-28 01:33:48 +0000 |
commit | 0bdc0929f54feda41687aa5180a17f7d9661f7ed (patch) | |
tree | d927e42fe112b245062ff252a5329233792bcf84 /flash.h | |
parent | 5fbd18dc8d2801281645f8b325af02b7acaaa66b (diff) | |
download | flashrom-0bdc0929f54feda41687aa5180a17f7d9661f7ed.tar.gz flashrom-0bdc0929f54feda41687aa5180a17f7d9661f7ed.tar.bz2 flashrom-0bdc0929f54feda41687aa5180a17f7d9661f7ed.zip |
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>
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |