summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-07-17 11:58:06 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-08-02 04:46:36 +0000
commitb0931d3d10e65f994cc136d957355f6bdc6a756f (patch)
treeef600325ef4fb52d06549eb815e8786a393f8c46 /src/cpu
parent28c4d2f7e03f0f989bee9fba9b6268611b3f07e6 (diff)
downloadcoreboot-b0931d3d10e65f994cc136d957355f6bdc6a756f.tar.xz
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>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/amd/agesa/family12/romstage.c5
-rw-r--r--src/cpu/amd/agesa/family14/romstage.c5
-rw-r--r--src/cpu/amd/agesa/family15/romstage.c5
-rw-r--r--src/cpu/amd/agesa/family15rl/romstage.c5
-rw-r--r--src/cpu/amd/agesa/family15tn/romstage.c6
-rw-r--r--src/cpu/amd/agesa/family16kb/romstage.c5
-rw-r--r--src/cpu/amd/agesa/romstage.c5
7 files changed, 5 insertions, 31 deletions
diff --git a/src/cpu/amd/agesa/family12/romstage.c b/src/cpu/amd/agesa/family12/romstage.c
index 8f4e81a9d9..2a183270d7 100644
--- a/src/cpu/amd/agesa/family12/romstage.c
+++ b/src/cpu/amd/agesa/family12/romstage.c
@@ -25,11 +25,6 @@
#include "SbPlatform.h"
#include "platform_cfg.h"
-void asmlinkage early_all_cores(void)
-{
- amd_initmmio();
-}
-
void platform_once(struct sysinfo *cb)
{
gpioEarlyInit();
diff --git a/src/cpu/amd/agesa/family14/romstage.c b/src/cpu/amd/agesa/family14/romstage.c
index 23fa008ecf..53e6a1c623 100644
--- a/src/cpu/amd/agesa/family14/romstage.c
+++ b/src/cpu/amd/agesa/family14/romstage.c
@@ -23,11 +23,6 @@
#include <sb_cimx.h>
-void asmlinkage early_all_cores(void)
-{
- amd_initmmio();
-}
-
void platform_once(struct sysinfo *cb)
{
sb_Poweron_Init();
diff --git a/src/cpu/amd/agesa/family15/romstage.c b/src/cpu/amd/agesa/family15/romstage.c
index 7b5c0bcfc6..c7101996f5 100644
--- a/src/cpu/amd/agesa/family15/romstage.c
+++ b/src/cpu/amd/agesa/family15/romstage.c
@@ -28,11 +28,6 @@
#include <nb_cimx.h>
#include <sb_cimx.h>
-void asmlinkage early_all_cores(void)
-{
- amd_initmmio();
-}
-
void platform_once(struct sysinfo *cb)
{
/*
diff --git a/src/cpu/amd/agesa/family15rl/romstage.c b/src/cpu/amd/agesa/family15rl/romstage.c
index 369ae33c02..45543f2255 100644
--- a/src/cpu/amd/agesa/family15rl/romstage.c
+++ b/src/cpu/amd/agesa/family15rl/romstage.c
@@ -21,11 +21,6 @@
#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h>
-void asmlinkage early_all_cores(void)
-{
- amd_initmmio();
-}
-
void platform_once(struct sysinfo *cb)
{
board_BeforeAgesa(cb);
diff --git a/src/cpu/amd/agesa/family15tn/romstage.c b/src/cpu/amd/agesa/family15tn/romstage.c
index fc1aeee576..9ecbf5cc5b 100644
--- a/src/cpu/amd/agesa/family15tn/romstage.c
+++ b/src/cpu/amd/agesa/family15tn/romstage.c
@@ -22,12 +22,6 @@
#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h>
-
-void asmlinkage early_all_cores(void)
-{
- amd_initmmio();
-}
-
void platform_once(struct sysinfo *cb)
{
board_BeforeAgesa(cb);
diff --git a/src/cpu/amd/agesa/family16kb/romstage.c b/src/cpu/amd/agesa/family16kb/romstage.c
index e0fff35ee3..19af28007d 100644
--- a/src/cpu/amd/agesa/family16kb/romstage.c
+++ b/src/cpu/amd/agesa/family16kb/romstage.c
@@ -21,11 +21,6 @@
#include <northbridge/amd/agesa/state_machine.h>
#include <northbridge/amd/agesa/agesa_helper.h>
-void asmlinkage early_all_cores(void)
-{
- amd_initmmio();
-}
-
void platform_once(struct sysinfo *cb)
{
board_BeforeAgesa(cb);
diff --git a/src/cpu/amd/agesa/romstage.c b/src/cpu/amd/agesa/romstage.c
index 4422b66bb2..e390c1899c 100644
--- a/src/cpu/amd/agesa/romstage.c
+++ b/src/cpu/amd/agesa/romstage.c
@@ -28,6 +28,11 @@
#include <northbridge/amd/agesa/agesa_helper.h>
#include <northbridge/amd/agesa/state_machine.h>
+void asmlinkage early_all_cores(void)
+{
+ amd_initmmio();
+}
+
static void fill_sysinfo(struct sysinfo *cb)
{
memset(cb, 0, sizeof(*cb));