summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-02-23 15:32:11 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-02-25 18:48:21 +0100
commit30901baabcf1e26f3ba4cd32f5bd90eb1c6ed35c (patch)
tree9c5d7843bac986d299c7636a296718b802bafc1d /src/mainboard
parent528640d141193b4aaeb6b8956d4fbc7381df9eb3 (diff)
downloadcoreboot-30901baabcf1e26f3ba4cd32f5bd90eb1c6ed35c.tar.xz
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/amd/persimmon/BiosCallOuts.h2
-rw-r--r--src/mainboard/amd/persimmon/Kconfig4
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/amd/persimmon/BiosCallOuts.h b/src/mainboard/amd/persimmon/BiosCallOuts.h
index 25e5656ddf..c4f4f709d4 100644
--- a/src/mainboard/amd/persimmon/BiosCallOuts.h
+++ b/src/mainboard/amd/persimmon/BiosCallOuts.h
@@ -70,6 +70,4 @@ AGESA_STATUS BiosHookBeforeExitSelfRefresh (UINT32 Func, UINT32 Data, VOID *Conf
/* PCIE slot reset control */
AGESA_STATUS BiosGnbPcieSlotReset (UINT32 Func, UINT32 Data, VOID *ConfigPtr);
-#define SB_GPIO_REG50 50
-
#endif //_BIOS_CALLOUT_H_
diff --git a/src/mainboard/amd/persimmon/Kconfig b/src/mainboard/amd/persimmon/Kconfig
index 55d6b0c687..f3f9aa964a 100644
--- a/src/mainboard/amd/persimmon/Kconfig
+++ b/src/mainboard/amd/persimmon/Kconfig
@@ -121,8 +121,4 @@ config DRIVERS_PS2_KEYBOARD
bool
default n
-config WARNINGS_ARE_ERRORS
- bool
- default n
-
endif # BOARD_AMD_PERSIMMON