diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-19 08:29:41 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-08-26 02:08:42 +0000 |
commit | c99d3afe3e78565937c215f882bd4b7fc586f66e (patch) | |
tree | 4883a3ae5d65c369c5c85abae73cc1946f0a2c76 /src/include | |
parent | 1e02d73c73f6f59f66c198b8c2afe77b0a730b01 (diff) | |
download | coreboot-c99d3afe3e78565937c215f882bd4b7fc586f66e.tar.xz |
amdfam10: Remove use of __PRE_RAM__
Change-Id: I4215b27332034a3c07052db92e4abae55c3fe967
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34930
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cpu/amd/multicore.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/cpu/amd/multicore.h b/src/include/cpu/amd/multicore.h index b8680933ae..79bea66f68 100644 --- a/src/include/cpu/amd/multicore.h +++ b/src/include/cpu/amd/multicore.h @@ -17,6 +17,7 @@ #define CPU_AMD_QUADCORE_H #include <stdint.h> +#include <device/device.h> u32 read_nb_cfg_54(void); @@ -29,17 +30,14 @@ struct node_core_id { struct node_core_id get_node_core_id(u32 nb_cfg_54); struct node_core_id get_node_core_id_x(void); -#if !defined(__PRE_RAM__) -struct device; u32 get_apicid_base(u32 ioapic_num); void amd_sibling_init(struct device *cpu); -#else + void wait_all_core0_started(void); void wait_all_other_cores_started(u32 bsp_apicid); void wait_all_aps_started(u32 bsp_apicid); void wait_all_other_cores_stopped(uint32_t bsp_apicid); void allow_all_aps_stop(u32 bsp_apicid); -#endif u32 get_initial_apicid(void); #endif /* CPU_AMD_QUADCORE_H */ |