AMD: Add common header file for CAR setup
Change-Id: I24b2cbd671ac3a463562d284f06258140a019a37 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4683 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
@ -5,6 +5,7 @@
|
||||
#include <arch/stages.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <cpu/amd/car.h>
|
||||
#include "cbmem.h"
|
||||
#include "cpu/amd/car/disable_cache_as_ram.c"
|
||||
|
||||
@ -75,8 +76,6 @@ static void vErrata343(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
void cache_as_ram_switch_stack(void *resume_backup_memory);
|
||||
|
||||
void post_cache_as_ram(void)
|
||||
{
|
||||
void *resume_backup_memory = NULL;
|
||||
@ -112,9 +111,6 @@ void post_cache_as_ram(void)
|
||||
cache_as_ram_switch_stack(resume_backup_memory);
|
||||
}
|
||||
|
||||
void
|
||||
cache_as_ram_new_stack (void *resume_backup_memory);
|
||||
|
||||
void
|
||||
cache_as_ram_new_stack (void *resume_backup_memory __attribute__ ((unused)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user