summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-12-03 21:24:40 +0000
committerPeter Stuge <peter@stuge.se>2008-12-03 21:24:40 +0000
commit9a6d1764a2a506f26b5e09bc155a6f1649ce7bdc (patch)
tree2beae788f35f5893b5cee831bf43b1f248b99374 /flash.h
parent13f98cefb784f55ac38e7c90be2975c4ee4bdf92 (diff)
downloadast2050-flashrom-9a6d1764a2a506f26b5e09bc155a6f1649ce7bdc.zip
ast2050-flashrom-9a6d1764a2a506f26b5e09bc155a6f1649ce7bdc.tar.gz
Replace #ifdefs for sc520 systems by run time probing
Fixes #109 Corresponding to flashrom svn r355 and coreboot v2 svn r3790. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
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 70a390f..df122eb 100644
--- a/flash.h
+++ b/flash.h
@@ -410,6 +410,8 @@ void print_supported_boards(void);
int chipset_flash_enable(void);
void print_supported_chipsets(void);
+extern unsigned long flashbase;
+
typedef enum {
BUS_TYPE_LPC,
BUS_TYPE_ICH7_SPI,
OpenPOWER on IntegriCloud