diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-06-17 07:55:03 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-06-18 20:01:48 +0200 |
commit | 5276941c8b9a3294fda4eb5d102c8333688d29a5 (patch) | |
tree | 27739465f0d6bb065f331e40cc468b8fad885461 /src/mainboard/amd | |
parent | e93e7102cf63a122d2f69a24678f8bec38af88a6 (diff) | |
download | coreboot-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/amd')
-rw-r--r-- | src/mainboard/amd/db800/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/amd/norwich/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/amd/rumba/romstage.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/amd/db800/romstage.c b/src/mainboard/amd/db800/romstage.c index 8d7e42171a..d93e91623d 100644 --- a/src/mainboard/amd/db800/romstage.c +++ b/src/mainboard/amd/db800/romstage.c @@ -22,6 +22,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> @@ -44,7 +45,6 @@ int spd_read_byte(unsigned int device, unsigned int address) #include "cpu/amd/geode_lx/syspreinit.c" #include "cpu/amd/geode_lx/msrinit.c" -#include <cpu/intel/romstage.h> void main(unsigned long bist) { diff --git a/src/mainboard/amd/norwich/romstage.c b/src/mainboard/amd/norwich/romstage.c index 93740696e3..b5e78532f6 100644 --- a/src/mainboard/amd/norwich/romstage.c +++ b/src/mainboard/amd/norwich/romstage.c @@ -22,6 +22,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> @@ -40,7 +41,6 @@ int spd_read_byte(unsigned int device, unsigned int address) #include "cpu/amd/geode_lx/syspreinit.c" #include "cpu/amd/geode_lx/msrinit.c" -#include <cpu/intel/romstage.h> void main(unsigned long bist) { diff --git a/src/mainboard/amd/rumba/romstage.c b/src/mainboard/amd/rumba/romstage.c index 6c52fc0f10..1d533bd1ca 100644 --- a/src/mainboard/amd/rumba/romstage.c +++ b/src/mainboard/amd/rumba/romstage.c @@ -20,6 +20,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 <spd.h> #include "southbridge/amd/cs5536/early_smbus.c" @@ -43,7 +44,6 @@ static inline int spd_read_byte(unsigned device, unsigned 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 [] = { |