AGESA: Consolidate early_all_cores() call

Change-Id: I7c3af493b9189bb75a58eb322646694b5a712745
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/20620
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Kyösti Mälkki 2017-07-17 11:58:06 +03:00
parent 28c4d2f7e0
commit b0931d3d10
7 changed files with 5 additions and 31 deletions

View file

@ -25,11 +25,6 @@
#include "SbPlatform.h" #include "SbPlatform.h"
#include "platform_cfg.h" #include "platform_cfg.h"
void asmlinkage early_all_cores(void)
{
amd_initmmio();
}
void platform_once(struct sysinfo *cb) void platform_once(struct sysinfo *cb)
{ {
gpioEarlyInit(); gpioEarlyInit();

View file

@ -23,11 +23,6 @@
#include <sb_cimx.h> #include <sb_cimx.h>
void asmlinkage early_all_cores(void)
{
amd_initmmio();
}
void platform_once(struct sysinfo *cb) void platform_once(struct sysinfo *cb)
{ {
sb_Poweron_Init(); sb_Poweron_Init();

View file

@ -28,11 +28,6 @@
#include <nb_cimx.h> #include <nb_cimx.h>
#include <sb_cimx.h> #include <sb_cimx.h>
void asmlinkage early_all_cores(void)
{
amd_initmmio();
}
void platform_once(struct sysinfo *cb) void platform_once(struct sysinfo *cb)
{ {
/* /*

View file

@ -21,11 +21,6 @@
#include <northbridge/amd/agesa/state_machine.h> #include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h> #include <northbridge/amd/agesa/agesa_helper.h>
void asmlinkage early_all_cores(void)
{
amd_initmmio();
}
void platform_once(struct sysinfo *cb) void platform_once(struct sysinfo *cb)
{ {
board_BeforeAgesa(cb); board_BeforeAgesa(cb);

View file

@ -22,12 +22,6 @@
#include <northbridge/amd/agesa/state_machine.h> #include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h> #include <northbridge/amd/agesa/agesa_helper.h>
void asmlinkage early_all_cores(void)
{
amd_initmmio();
}
void platform_once(struct sysinfo *cb) void platform_once(struct sysinfo *cb)
{ {
board_BeforeAgesa(cb); board_BeforeAgesa(cb);

View file

@ -21,11 +21,6 @@
#include <northbridge/amd/agesa/state_machine.h> #include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h> #include <northbridge/amd/agesa/agesa_helper.h>
void asmlinkage early_all_cores(void)
{
amd_initmmio();
}
void platform_once(struct sysinfo *cb) void platform_once(struct sysinfo *cb)
{ {
board_BeforeAgesa(cb); board_BeforeAgesa(cb);

View file

@ -28,6 +28,11 @@
#include <northbridge/amd/agesa/agesa_helper.h> #include <northbridge/amd/agesa/agesa_helper.h>
#include <northbridge/amd/agesa/state_machine.h> #include <northbridge/amd/agesa/state_machine.h>
void asmlinkage early_all_cores(void)
{
amd_initmmio();
}
static void fill_sysinfo(struct sysinfo *cb) static void fill_sysinfo(struct sysinfo *cb)
{ {
memset(cb, 0, sizeof(*cb)); memset(cb, 0, sizeof(*cb));