summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-02-28 01:33:48 +0000
committerMichael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>2010-02-28 01:33:48 +0000
commit0bdc0929f54feda41687aa5180a17f7d9661f7ed (patch)
treed927e42fe112b245062ff252a5329233792bcf84 /flash.h
parent5fbd18dc8d2801281645f8b325af02b7acaaa66b (diff)
downloadast2050-flashrom-0bdc0929f54feda41687aa5180a17f7d9661f7ed.zip
ast2050-flashrom-0bdc0929f54feda41687aa5180a17f7d9661f7ed.tar.gz
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 8252f6d..2065b3a 100644
--- a/flash.h
+++ b/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);
OpenPOWER on IntegriCloud