From 142b52cd322ff69afe974f90a446f62b193d120c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Tue, 10 Dec 2013 07:33:36 +0200 Subject: AMD boards (non-AGESA): Cleanup post_cache_as_ram.c includes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib3a69e3364418426438f88ba14e5cf744e2414fa Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/4524 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Reviewed-by: Bruce Griffith Reviewed-by: Paul Menzel --- src/cpu/amd/car/post_cache_as_ram.c | 2 +- src/cpu/amd/model_10xxx/init_cpus.c | 1 + src/cpu/amd/model_fxx/init_cpus.c | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cpu') diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 3b3738c99a..81175dade3 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -77,7 +77,7 @@ static void vErrata343(void) void cache_as_ram_switch_stack(void *resume_backup_memory); -static void post_cache_as_ram(void) +void post_cache_as_ram(void) { void *resume_backup_memory = NULL; #if 1 diff --git a/src/cpu/amd/model_10xxx/init_cpus.c b/src/cpu/amd/model_10xxx/init_cpus.c index ed009d72a4..a2f78d3445 100644 --- a/src/cpu/amd/model_10xxx/init_cpus.c +++ b/src/cpu/amd/model_10xxx/init_cpus.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "cpu/amd/car/post_cache_as_ram.c" #include "defaults.h" #include #include diff --git a/src/cpu/amd/model_fxx/init_cpus.c b/src/cpu/amd/model_fxx/init_cpus.c index 7121642605..834821b341 100644 --- a/src/cpu/amd/model_fxx/init_cpus.c +++ b/src/cpu/amd/model_fxx/init_cpus.c @@ -1,3 +1,5 @@ +#include "cpu/amd/car/post_cache_as_ram.c" + #if CONFIG_HAVE_OPTION_TABLE #include "option_table.h" #endif -- cgit v1.2.3