summaryrefslogtreecommitdiffstats
path: root/src/northbridge
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-05-09 14:33:14 -0700
committerRonald G. Minnich <rminnich@gmail.com>2013-05-10 17:31:31 +0200
commitc5e036a04368186fe73925c6fb101c594513391c (patch)
treef119ab1d2a1da63d55474e36a0ebf05a7a2ed613 /src/northbridge
parentb8b3e8bff32ee7dddcacec11e015f6683783eb2f (diff)
downloadcoreboot-staging-c5e036a04368186fe73925c6fb101c594513391c.zip
coreboot-staging-c5e036a04368186fe73925c6fb101c594513391c.tar.gz
Get rid of a number of __GNUC__ checks
In the process of streamlining coreboot code and getting rid of unneeded ifdefs, drop a number of unneeded checks for the GNU C compiler. This also cleans up x86emu/types.h significantly by dropping all the duplicate types in there. Change-Id: I0bf289e149ed02e5170751c101adc335b849a410 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/3226 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/amd/amdk8/incoherent_ht.c2
-rw-r--r--src/northbridge/intel/i3100/i3100.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/northbridge/amd/amdk8/incoherent_ht.c b/src/northbridge/amd/amdk8/incoherent_ht.c
index ee1945a..6cbe7dc 100644
--- a/src/northbridge/amd/amdk8/incoherent_ht.c
+++ b/src/northbridge/amd/amdk8/incoherent_ht.c
@@ -699,9 +699,7 @@ static int ht_setup_chains(uint8_t ht_c_num)
}
-#if defined (__GNUC__)
static inline unsigned get_nodes(void);
-#endif
#if CONFIG_RAMINIT_SYSINFO
static void ht_setup_chains_x(struct sys_info *sysinfo)
diff --git a/src/northbridge/intel/i3100/i3100.h b/src/northbridge/intel/i3100/i3100.h
index 7305714..2d036bd 100644
--- a/src/northbridge/intel/i3100/i3100.h
+++ b/src/northbridge/intel/i3100/i3100.h
@@ -67,8 +67,6 @@
#define RCBA 0xF0
#define DEFAULT_RCBA 0xFEA00000
-#ifdef __GNUC__
int bios_reset_detected(void);
-#endif
#endif
OpenPOWER on IntegriCloud