summaryrefslogtreecommitdiff
path: root/src/include/cpu/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-18 12:10:21 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-19 18:38:58 +0000
commitd082b6ae848a91628b210ed7ff9fcc829cfa74f5 (patch)
tree8c0b402e9c7473983e4584ba4e91dfefab29d503 /src/include/cpu/amd
parentc924f3982968ff099db49949b8b60963008e3d37 (diff)
AGESA binaryPI: Clean up amdfamXX.h include
Change-Id: Iba8b8d33e1f10e28745234988d97d4fafd04c798 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21583 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/include/cpu/amd')
-rw-r--r--src/include/cpu/amd/amdfam12.h10
-rw-r--r--src/include/cpu/amd/amdfam14.h11
-rw-r--r--src/include/cpu/amd/amdfam15.h11
-rw-r--r--src/include/cpu/amd/amdfam16.h11
4 files changed, 0 insertions, 43 deletions
diff --git a/src/include/cpu/amd/amdfam12.h b/src/include/cpu/amd/amdfam12.h
index 26b283c5f8..3838ce1b84 100644
--- a/src/include/cpu/amd/amdfam12.h
+++ b/src/include/cpu/amd/amdfam12.h
@@ -16,8 +16,6 @@
#ifndef CPU_AMD_FAM12_H
#define CPU_AMD_FAM12_H
-#include <cpu/x86/msr.h>
-
#define HWCR_MSR 0xC0010015
#define NB_CFG_MSR 0xC001001f
#define LS_CFG_MSR 0xC0011020
@@ -29,12 +27,4 @@
#define CPU_ID_FEATURES_MSR 0xC0011004
#define CPU_ID_EXT_FEATURES_MSR 0xC0011005
-#if defined(__PRE_RAM__)
-void wait_all_core0_started(void);
-void wait_all_other_cores_started(u32 bsp_apicid);
-void wait_all_aps_started(u32 bsp_apicid);
-void allow_all_aps_stop(u32 bsp_apicid);
-#endif
-void get_bus_conf(void);
-
#endif /* CPU_AMD_FAM12_H */
diff --git a/src/include/cpu/amd/amdfam14.h b/src/include/cpu/amd/amdfam14.h
index 12eb62524f..ec5d34b9e9 100644
--- a/src/include/cpu/amd/amdfam14.h
+++ b/src/include/cpu/amd/amdfam14.h
@@ -16,8 +16,6 @@
#ifndef CPU_AMD_FAM14_H
#define CPU_AMD_FAM14_H
-#include <cpu/x86/msr.h>
-
#define HWCR_MSR 0xC0010015
#define NB_CFG_MSR 0xC001001f
#define LS_CFG_MSR 0xC0011020
@@ -29,13 +27,4 @@
#define CPU_ID_FEATURES_MSR 0xC0011004
#define CPU_ID_EXT_FEATURES_MSR 0xC0011005
-#if defined(__PRE_RAM__)
-void wait_all_core0_started(void);
-void wait_all_other_cores_started(u32 bsp_apicid);
-void wait_all_aps_started(u32 bsp_apicid);
-void allow_all_aps_stop(u32 bsp_apicid);
-#endif
-void get_bus_conf(void);
-u32 get_initial_apicid(void);
-
#endif /* CPU_AMD_FAM14_H */
diff --git a/src/include/cpu/amd/amdfam15.h b/src/include/cpu/amd/amdfam15.h
index 37fbc49b72..ad3189f268 100644
--- a/src/include/cpu/amd/amdfam15.h
+++ b/src/include/cpu/amd/amdfam15.h
@@ -16,8 +16,6 @@
#ifndef CPU_AMD_FAM15_H
#define CPU_AMD_FAM15_H
-#include <cpu/x86/msr.h>
-
#define MCI_STATUS 0x00000401
#define MSR_SMM_BASE 0xC0010111
#define MSR_SMM_MASK 0xC0010113
@@ -37,13 +35,4 @@
#define CORE_PERF_BOOST_CTRL 0x15C
-#if defined(__PRE_RAM__)
-void wait_all_core0_started(void);
-void wait_all_other_cores_started(u32 bsp_apicid);
-void wait_all_aps_started(u32 bsp_apicid);
-void allow_all_aps_stop(u32 bsp_apicid);
-#endif
-u32 get_initial_apicid(void);
-void get_bus_conf(void);
-
#endif /* CPU_AMD_FAM15_H */
diff --git a/src/include/cpu/amd/amdfam16.h b/src/include/cpu/amd/amdfam16.h
index 083b171941..861e518db0 100644
--- a/src/include/cpu/amd/amdfam16.h
+++ b/src/include/cpu/amd/amdfam16.h
@@ -16,8 +16,6 @@
#ifndef CPU_AMD_FAM16_H
#define CPU_AMD_FAM16_H
-#include <cpu/x86/msr.h>
-
#define MCI_STATUS 0x00000401
#define HWCR_MSR 0xC0010015
#define NB_CFG_MSR 0xC001001f
@@ -31,13 +29,4 @@
#define CPU_ID_FEATURES_MSR 0xC0011004
#define CPU_ID_EXT_FEATURES_MSR 0xC0011005
-#if defined(__PRE_RAM__)
-void wait_all_core0_started(void);
-void wait_all_other_cores_started(u32 bsp_apicid);
-void wait_all_aps_started(u32 bsp_apicid);
-void allow_all_aps_stop(u32 bsp_apicid);
-#endif
-u32 get_initial_apicid(void);
-void get_bus_conf(void);
-
#endif /* CPU_AMD_FAM16_H */