From 68f542cdf82efe257ee4251047a264558dd8645f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 17 Mar 2010 02:48:24 +0000 Subject: remove more warnings, and fix some boards (watchdog.h) Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5239 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/dell/s1850/mptable.c | 2 +- src/mainboard/dell/s1850/romstage.c | 3 ++- src/mainboard/supermicro/x6dhe_g2/Kconfig | 1 + src/mainboard/supermicro/x6dhr_ig/Kconfig | 1 + src/mainboard/supermicro/x6dhr_ig2/Kconfig | 1 + src/mainboard/tyan/s2735/Kconfig | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/dell/s1850/mptable.c b/src/mainboard/dell/s1850/mptable.c index f0624751b3..3e5985cc1d 100644 --- a/src/mainboard/dell/s1850/mptable.c +++ b/src/mainboard/dell/s1850/mptable.c @@ -4,7 +4,7 @@ #include #include -void *smp_write_config_table(void *v) +static void *smp_write_config_table(void *v) { static const char sig[4] = "PCMP"; static const char oem[8] = "DELL "; diff --git a/src/mainboard/dell/s1850/romstage.c b/src/mainboard/dell/s1850/romstage.c index 952c37c1cf..108805659e 100644 --- a/src/mainboard/dell/s1850/romstage.c +++ b/src/mainboard/dell/s1850/romstage.c @@ -19,7 +19,8 @@ #include "cpu/x86/mtrr/earlymtrr.c" #include "debug.c" #include "watchdog.c" -#include "reset.c" +// Remove comment if resets in this file are actually used. +// #include "reset.c" #include "s1850_fixups.c" #include "northbridge/intel/e7520/memory_initialized.c" #include "cpu/x86/bist.h" diff --git a/src/mainboard/supermicro/x6dhe_g2/Kconfig b/src/mainboard/supermicro/x6dhe_g2/Kconfig index 6ad223aafb..d0b5de72ee 100644 --- a/src/mainboard/supermicro/x6dhe_g2/Kconfig +++ b/src/mainboard/supermicro/x6dhe_g2/Kconfig @@ -12,6 +12,7 @@ config BOARD_SUPERMICRO_X6DHE_G2 select HAVE_PIRQ_TABLE select HAVE_MP_TABLE select BOARD_ROMSIZE_KB_1024 + select USE_WATCHDOG_ON_BOOT select DRIVERS_GENERIC_DEBUG config MAINBOARD_DIR diff --git a/src/mainboard/supermicro/x6dhr_ig/Kconfig b/src/mainboard/supermicro/x6dhr_ig/Kconfig index 26aaeda1c6..ad8a6dbfeb 100644 --- a/src/mainboard/supermicro/x6dhr_ig/Kconfig +++ b/src/mainboard/supermicro/x6dhr_ig/Kconfig @@ -11,6 +11,7 @@ config BOARD_SUPERMICRO_X6DHR_IG select BOARD_HAS_HARD_RESET select HAVE_PIRQ_TABLE select HAVE_MP_TABLE + select USE_WATCHDOG_ON_BOOT select BOARD_ROMSIZE_KB_1024 config MAINBOARD_DIR diff --git a/src/mainboard/supermicro/x6dhr_ig2/Kconfig b/src/mainboard/supermicro/x6dhr_ig2/Kconfig index 3702d16782..f1e3870373 100644 --- a/src/mainboard/supermicro/x6dhr_ig2/Kconfig +++ b/src/mainboard/supermicro/x6dhr_ig2/Kconfig @@ -11,6 +11,7 @@ config BOARD_SUPERMICRO_X6DHR_IG2 select BOARD_HAS_HARD_RESET select HAVE_PIRQ_TABLE select HAVE_MP_TABLE + select USE_WATCHDOG_ON_BOOT select BOARD_ROMSIZE_KB_1024 config MAINBOARD_DIR diff --git a/src/mainboard/tyan/s2735/Kconfig b/src/mainboard/tyan/s2735/Kconfig index 73b9c1bfc9..a1705fbac0 100644 --- a/src/mainboard/tyan/s2735/Kconfig +++ b/src/mainboard/tyan/s2735/Kconfig @@ -13,6 +13,7 @@ config BOARD_TYAN_S2735 select UDELAY_TSC select HAVE_OPTION_TABLE select USE_DCACHE_RAM + select USE_WATCHDOG_ON_BOOT select BOARD_ROMSIZE_KB_512 config MAINBOARD_DIR -- cgit v1.2.3