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>
diff --git a/flash.h b/flash.h
index 8252f6d..2065b3a 100644
--- a/flash.h
+++ b/flash.h
@@ -288,6 +288,7 @@
const char *board_name;
int max_rom_decode_parallel;
+ int status;
int (*enable) (const char *name);
};
@@ -383,6 +384,7 @@
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);