Persimmon: Fix warning, enable warnings as errors

- Fix redefinition warning for SB_GPIO_REG50 introduced in commit
     fa8702cf - http://review.coreboot.org/#/c/2446/
     Persimmon: adapt PCIe reset code copied from Inagua to actually
                 match Persimmon
     The warning being fixed is:
        SB800.h:1491, GNU Compiler 4 (gcc), Priority: Normal
        "SB_GPIO_REG50" redefined [enabled by default]

 - Enable warnings as errors so no more warnings will be accidentally
     committed.

Change-Id: Ib443b2bd2067f0b7d5f93f79170899a0f8f61060
Signed-off-by: Martin Roth <martin.roth@se-eng.com>
Reviewed-on: http://review.coreboot.org/2494
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Martin Roth 2013-02-23 15:32:11 -07:00 committed by Stefan Reinauer
parent 528640d141
commit 30901baabc
2 changed files with 0 additions and 6 deletions

View File

@ -70,6 +70,4 @@ AGESA_STATUS BiosHookBeforeExitSelfRefresh (UINT32 Func, UINT32 Data, VOID *Conf
/* PCIE slot reset control */ /* PCIE slot reset control */
AGESA_STATUS BiosGnbPcieSlotReset (UINT32 Func, UINT32 Data, VOID *ConfigPtr); AGESA_STATUS BiosGnbPcieSlotReset (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
#define SB_GPIO_REG50 50
#endif //_BIOS_CALLOUT_H_ #endif //_BIOS_CALLOUT_H_

View File

@ -121,8 +121,4 @@ config DRIVERS_PS2_KEYBOARD
bool bool
default n default n
config WARNINGS_ARE_ERRORS
bool
default n
endif # BOARD_AMD_PERSIMMON endif # BOARD_AMD_PERSIMMON