diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-12-10 07:33:36 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-12-26 23:22:17 +0100 |
commit | 142b52cd322ff69afe974f90a446f62b193d120c (patch) | |
tree | bada24c0b138e115ebb705409dd7173f1640ac30 /src/cpu | |
parent | 88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f (diff) | |
download | coreboot-142b52cd322ff69afe974f90a446f62b193d120c.tar.xz |
AMD boards (non-AGESA): Cleanup post_cache_as_ram.c includes
Change-Id: Ib3a69e3364418426438f88ba14e5cf744e2414fa
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/4524
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/amd/car/post_cache_as_ram.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_10xxx/init_cpus.c | 1 | ||||
-rw-r--r-- | src/cpu/amd/model_fxx/init_cpus.c | 2 |
3 files changed, 4 insertions, 1 deletions
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 <stdlib.h> #include <cpu/x86/lapic.h> 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 |