summaryrefslogtreecommitdiff
path: root/src/southbridge/via
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/southbridge/via
parentb8b3e8bff32ee7dddcacec11e015f6683783eb2f (diff)
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/southbridge/via')
-rw-r--r--src/southbridge/via/vt8237r/vt8237r.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/southbridge/via/vt8237r/vt8237r.h b/src/southbridge/via/vt8237r/vt8237r.h
index 3cca58d9ed..ee5cc820cc 100644
--- a/src/southbridge/via/vt8237r/vt8237r.h
+++ b/src/southbridge/via/vt8237r/vt8237r.h
@@ -28,11 +28,7 @@
#define VT8237R_SMBUS_IO_BASE 0x400
/* 0x0 disabled, 0x2 reserved, 0xf = IRQ15 */
#define VT8237R_ACPI_IRQ 0x9
-#if defined(__GNUC__)
-#define VT8237S_SPI_MEM_BASE 0xfed02000ULL
-#else
#define VT8237S_SPI_MEM_BASE 0xfed02000UL
-#endif
/* PMBASE FIXME mostly taken from ich7 */
#define PM1_STS 0x00
@@ -129,11 +125,7 @@ struct vt8237_network_rom {
u8 cfg_c;
u8 cfg_d;
u8 checksum;
-}
-#if defined(__GNUC__)
-__attribute__ ((packed))
-#endif
-;
+} __attribute__ ((packed));
#define MAINBOARD_POWER_OFF 0
#define MAINBOARD_POWER_ON 1