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/pcengines/alix2d/romstage.c | |
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/pcengines/alix2d/romstage.c')
-rw-r--r-- | src/mainboard/pcengines/alix2d/romstage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/pcengines/alix2d/romstage.c b/src/mainboard/pcengines/alix2d/romstage.c index 592efc3d96..b467098d15 100644 --- a/src/mainboard/pcengines/alix2d/romstage.c +++ b/src/mainboard/pcengines/alix2d/romstage.c @@ -23,6 +23,7 @@ #include <lib.h> #include <cpu/x86/bist.h> #include <cpu/x86/msr.h> +#include <cpu/amd/car.h> #include <cpu/amd/lxdef.h> #include <cpu/amd/car.h> #include <southbridge/amd/cs5536/cs5536.h> @@ -121,7 +122,6 @@ static void mb_gpio_init(void) outl(1 << 11, GPIO_IO_BASE + GPIOH_OUTPUT_VALUE); /* Led 3 disabled */ } -#include <cpu/intel/romstage.h> void main(unsigned long bist) { static const struct mem_controller memctrl[] = { |