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:
15
src/include/cpu/amd/car.h
Normal file
15
src/include/cpu/amd/car.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _CPU_AMD_CAR_H
|
||||
#define _CPU_AMD_CAR_H
|
||||
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx);
|
||||
void done_cache_as_ram_main(void);
|
||||
void post_cache_as_ram(void);
|
||||
|
||||
void cache_as_ram_switch_stack(void *resume_backup_memory);
|
||||
void cache_as_ram_new_stack(void *resume_backup_memory);
|
||||
|
||||
#if CONFIG_CPU_AMD_AGESA
|
||||
void disable_cache_as_ram(void);
|
||||
#endif
|
||||
|
||||
#endif
|
@@ -50,14 +50,6 @@ int checkstack(void *top_of_stack, int core);
|
||||
extern unsigned char _estack[];
|
||||
#endif
|
||||
|
||||
/* Defined in romstage.c */
|
||||
#if CONFIG_CPU_AMD_GEODE_LX
|
||||
void cache_as_ram_main(void);
|
||||
#else
|
||||
void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx);
|
||||
#endif
|
||||
void post_cache_as_ram(void);
|
||||
|
||||
/* Defined in src/lib/hexdump.c */
|
||||
void hexdump(const void *memory, size_t length);
|
||||
void hexdump32(char LEVEL, const void *d, int len);
|
||||
|
Reference in New Issue
Block a user