From c5e036a04368186fe73925c6fb101c594513391c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 9 May 2013 14:33:14 -0700 Subject: 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 Reviewed-on: http://review.coreboot.org/3226 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- src/southbridge/via/vt8237r/vt8237r.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/southbridge/via') 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 -- cgit v1.2.3