diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-03 09:12:55 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-05-03 09:44:34 +0200 |
commit | f771e569d72d6b7166ca0d92afaaf2e635a9ba1c (patch) | |
tree | b157f2106f575a08113085c46e95dbcede4ff96c /src/mainboard/siemens/sitemp_g1p1/romstage.c | |
parent | c38f3ae0dee4c413fc931bd1c294faeada807665 (diff) |
Drop useless mainboard-romstage defines
Some src/mainboard/*/*/romstage.c files use defines which later
modify the behaviour of included .c files.
Since it's a pain to work out what is affected by these, drop
values that are only defined in the board but never used, or
defined to identical values as in spd.h (and use that one instead).
Change-Id: I8143b26fddc32a40ac4e611a6287bf7f144267dc
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/5639
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/siemens/sitemp_g1p1/romstage.c')
-rw-r--r-- | src/mainboard/siemens/sitemp_g1p1/romstage.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mainboard/siemens/sitemp_g1p1/romstage.c b/src/mainboard/siemens/sitemp_g1p1/romstage.c index 6d3652431b..6ae4989d15 100644 --- a/src/mainboard/siemens/sitemp_g1p1/romstage.c +++ b/src/mainboard/siemens/sitemp_g1p1/romstage.c @@ -19,15 +19,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#define RC0 (6<<8) -#define RC1 (7<<8) - -#define DIMM0 0x50 -#define DIMM1 0x51 - -#define ICS951462_ADDRESS 0x69 -#define SMBUS_HUB 0x71 - #include <stdint.h> #include <string.h> #include <device/pci_def.h> @@ -36,6 +27,7 @@ #include <cpu/x86/lapic.h> #include <pc80/mc146818rtc.h> #include <console/console.h> +#include <spd.h> #include <cpu/amd/model_fxx_rev.h> #include "northbridge/amd/amdk8/raminit.h" |