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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
|
@@ -23,6 +23,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>
|
||||
@@ -48,7 +49,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)
|
||||
{
|
||||
static const struct mem_controller memctrl[] = {
|
||||
|
@@ -24,6 +24,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>
|
||||
@@ -48,7 +49,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)
|
||||
{
|
||||
static const struct mem_controller memctrl[] = {
|
||||
|
Reference in New Issue
Block a user