summaryrefslogtreecommitdiff
path: root/src/mainboard/lippert
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-06-17 07:55:03 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-06-18 20:01:48 +0200
commit5276941c8b9a3294fda4eb5d102c8333688d29a5 (patch)
tree27739465f0d6bb065f331e40cc468b8fad885461 /src/mainboard/lippert
parente93e7102cf63a122d2f69a24678f8bec38af88a6 (diff)
downloadcoreboot-5276941c8b9a3294fda4eb5d102c8333688d29a5.tar.xz
AMD boards: Fix romstage main() declaration
Boards incorrectly used intel include file for AMD board. Change-Id: I6d3172d1aa5c91c989a6ef63066a7cd6f70013f5 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15232 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/lippert')
-rw-r--r--src/mainboard/lippert/frontrunner/romstage.c2
-rw-r--r--src/mainboard/lippert/hurricane-lx/romstage.c2
-rw-r--r--src/mainboard/lippert/literunner-lx/romstage.c2
-rw-r--r--src/mainboard/lippert/roadrunner-lx/romstage.c2
-rw-r--r--src/mainboard/lippert/spacerunner-lx/romstage.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/lippert/frontrunner/romstage.c b/src/mainboard/lippert/frontrunner/romstage.c
index 1f33423ab0..15286e6039 100644
--- a/src/mainboard/lippert/frontrunner/romstage.c
+++ b/src/mainboard/lippert/frontrunner/romstage.c
@@ -8,6 +8,7 @@
#include <superio/winbond/w83627hf/w83627hf.h>
#include <cpu/x86/bist.h>
#include <cpu/x86/msr.h>
+#include <cpu/amd/car.h>
#include <cpu/amd/gx2def.h>
#include <southbridge/amd/cs5535/cs5535.h>
#include "southbridge/amd/cs5535/early_smbus.c"
@@ -69,7 +70,6 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
#include "cpu/amd/geode_gx2/syspreinit.c"
#include "cpu/amd/geode_lx/msrinit.c"
-#include <cpu/intel/romstage.h>
void main(unsigned long bist)
{
static const struct mem_controller memctrl [] = {
diff --git a/src/mainboard/lippert/hurricane-lx/romstage.c b/src/mainboard/lippert/hurricane-lx/romstage.c
index bf6dc9ffb7..0c9e03a4cd 100644
--- a/src/mainboard/lippert/hurricane-lx/romstage.c
+++ b/src/mainboard/lippert/hurricane-lx/romstage.c
@@ -25,6 +25,7 @@
#include <console/console.h>
#include <cpu/x86/bist.h>
#include <cpu/x86/msr.h>
+#include <cpu/amd/car.h>
#include <cpu/amd/lxdef.h>
#include <southbridge/amd/cs5536/cs5536.h>
#include <spd.h>
@@ -105,7 +106,6 @@ static void mb_gpio_init(void)
}
}
-#include <cpu/intel/romstage.h>
void main(unsigned long bist)
{
diff --git a/src/mainboard/lippert/literunner-lx/romstage.c b/src/mainboard/lippert/literunner-lx/romstage.c
index a65b9b80b1..efe322c019 100644
--- a/src/mainboard/lippert/literunner-lx/romstage.c
+++ b/src/mainboard/lippert/literunner-lx/romstage.c
@@ -26,6 +26,7 @@
#include <console/console.h>
#include <cpu/x86/bist.h>
#include <cpu/x86/msr.h>
+#include <cpu/amd/car.h>
#include <cpu/amd/lxdef.h>
#include <southbridge/amd/cs5536/cs5536.h>
#include "southbridge/amd/cs5536/early_smbus.c"
@@ -145,7 +146,6 @@ static void mb_gpio_init(void)
}
}
-#include <cpu/intel/romstage.h>
void main(unsigned long bist)
{
int err;
diff --git a/src/mainboard/lippert/roadrunner-lx/romstage.c b/src/mainboard/lippert/roadrunner-lx/romstage.c
index d4a95e47b4..d70e2c1835 100644
--- a/src/mainboard/lippert/roadrunner-lx/romstage.c
+++ b/src/mainboard/lippert/roadrunner-lx/romstage.c
@@ -25,6 +25,7 @@
#include <console/console.h>
#include <cpu/x86/bist.h>
#include <cpu/x86/msr.h>
+#include <cpu/amd/car.h>
#include <cpu/amd/lxdef.h>
#include <southbridge/amd/cs5536/cs5536.h>
#include <spd.h>
@@ -80,7 +81,6 @@ static void mb_gpio_init(void)
}
}
-#include <cpu/intel/romstage.h>
void main(unsigned long bist)
{
diff --git a/src/mainboard/lippert/spacerunner-lx/romstage.c b/src/mainboard/lippert/spacerunner-lx/romstage.c
index 9486843072..b3a13ad4b2 100644
--- a/src/mainboard/lippert/spacerunner-lx/romstage.c
+++ b/src/mainboard/lippert/spacerunner-lx/romstage.c
@@ -26,6 +26,7 @@
#include <console/console.h>
#include <cpu/x86/bist.h>
#include <cpu/x86/msr.h>
+#include <cpu/amd/car.h>
#include <cpu/amd/lxdef.h>
#include <southbridge/amd/cs5536/cs5536.h>
#include "southbridge/amd/cs5536/early_smbus.c"
@@ -143,7 +144,6 @@ static void mb_gpio_init(void)
}
}
-#include <cpu/intel/romstage.h>
void main(unsigned long bist)
{
int err;