summaryrefslogtreecommitdiff
path: root/src/mainboard/intel
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-03-13 15:42:27 +0000
committerStefan Reinauer <stepan@openbios.org>2009-03-13 15:42:27 +0000
commitbe7f79867e4d989fc9cb7fb9e8b0b8ec55956875 (patch)
treef5ae688b318dfb7456351bb33a5a30f28bb9dedc /src/mainboard/intel
parentcc46e73a0221d08a30c78adfc568f162cdda407d (diff)
downloadcoreboot-be7f79867e4d989fc9cb7fb9e8b0b8ec55956875.tar.xz
This, ladies and gentlement, is commit #4000.
Use the (almost) same strict CFLAGS in v2 that we use on v3. And fix a few include files and missing prototypes. Also, fix up the Config-abuild.lb files to properly work for cross compiling. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/intel')
-rw-r--r--src/mainboard/intel/jarrell/chip.h2
-rw-r--r--src/mainboard/intel/mtarvon/chip.h2
-rw-r--r--src/mainboard/intel/truxton/chip.h2
-rw-r--r--src/mainboard/intel/xe7501devkit/reset.c1
4 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/intel/jarrell/chip.h b/src/mainboard/intel/jarrell/chip.h
index b6e23b2688..e168812d0e 100644
--- a/src/mainboard/intel/jarrell/chip.h
+++ b/src/mainboard/intel/jarrell/chip.h
@@ -1,4 +1,4 @@
-struct chip_operations mainboard_ops;
+extern struct chip_operations mainboard_ops;
struct mainboard_config {
int nothing;
diff --git a/src/mainboard/intel/mtarvon/chip.h b/src/mainboard/intel/mtarvon/chip.h
index 4921b7bfcc..71c6c125d0 100644
--- a/src/mainboard/intel/mtarvon/chip.h
+++ b/src/mainboard/intel/mtarvon/chip.h
@@ -18,7 +18,7 @@
*
*/
-struct chip_operations mainboard_ops;
+extern struct chip_operations mainboard_ops;
struct mainboard_config {
int nothing;
diff --git a/src/mainboard/intel/truxton/chip.h b/src/mainboard/intel/truxton/chip.h
index 4921b7bfcc..71c6c125d0 100644
--- a/src/mainboard/intel/truxton/chip.h
+++ b/src/mainboard/intel/truxton/chip.h
@@ -18,7 +18,7 @@
*
*/
-struct chip_operations mainboard_ops;
+extern struct chip_operations mainboard_ops;
struct mainboard_config {
int nothing;
diff --git a/src/mainboard/intel/xe7501devkit/reset.c b/src/mainboard/intel/xe7501devkit/reset.c
index 349a2bfd29..8feaac64e5 100644
--- a/src/mainboard/intel/xe7501devkit/reset.c
+++ b/src/mainboard/intel/xe7501devkit/reset.c
@@ -1,3 +1,4 @@
+void i82801ca_hard_reset(void);
void hard_reset(void)
{