summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Griffith <Bruce.Griffith@se-eng.com>2014-08-15 12:15:33 -0600
committerBruce Griffith <Bruce.Griffith@se-eng.com>2014-08-30 19:15:18 +0200
commit5888d86868678469b3dbef6e2447afc2d2386249 (patch)
tree668bb6c84f0e77cd5a262ce65bdbe959519d4b71 /src/include
parent27ed80bce1da2d17fecd342a8150f790939150a1 (diff)
AMD Steppe Eagle: CPU files for new SoC
Add the CPU files required to support the Steppe Eagle and Mullins models of Family 16h SoC processors from AMD. This CPU is based on the Jaguar core and is similar to Kabini. Change-Id: Ib48a3f03128f99a1242fe8c157e0e98feb53b1ea Signed-off-by: Bruce Griffith <Bruce.Griffith@se-eng.com> Reviewed-on: http://review.coreboot.org/6679 Tested-by: build bot (Jenkins) Reviewed-by: WANG Siyuan <wangsiyuanbuaa@gmail.com> Reviewed-by: Zheng Bao <zheng.bao@amd.com>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cpu/x86/lapic_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/cpu/x86/lapic_def.h b/src/include/cpu/x86/lapic_def.h
index f96b53b42a..2b1ca5a13f 100644
--- a/src/include/cpu/x86/lapic_def.h
+++ b/src/include/cpu/x86/lapic_def.h
@@ -6,8 +6,12 @@
#define LAPIC_BASE_MSR_ENABLE (1 << 11)
#define LAPIC_BASE_MSR_ADDR_MASK 0xFFFFF000
+#ifndef LOCAL_APIC_ADDR
#define LOCAL_APIC_ADDR 0xfee00000
+#endif
+#ifndef LAPIC_DEFAULT_BASE
#define LAPIC_DEFAULT_BASE LOCAL_APIC_ADDR
+#endif
#define LAPIC_ID 0x020
#define LAPIC_LVR 0x030