summaryrefslogtreecommitdiff
path: root/src/cpu/x86/smm
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2017-09-04 17:37:31 +0200
committerPatrick Georgi <pgeorgi@google.com>2017-09-05 17:24:46 +0000
commite8741fe95461da8836ff3d8af258bed80dcd13b6 (patch)
treef5e9e1da458979c3bb726d93974fe2bdfcb0d1c4 /src/cpu/x86/smm
parentfaf7a8e8592f47dc9c92ab1672e30bbf60bc3581 (diff)
downloadcoreboot-e8741fe95461da8836ff3d8af258bed80dcd13b6.tar.xz
Move ADDR32() hack to arch/x86
It's arch specific, so no need to pollute non-x86 with it. Change-Id: I99ec76d591789db186e8a33774565e5a04fc4e47 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/21392 Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/cpu/x86/smm')
-rw-r--r--src/cpu/x86/smm/smmrelocate.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/smm/smmrelocate.S b/src/cpu/x86/smm/smmrelocate.S
index b3be51d9c1..230c78d079 100644
--- a/src/cpu/x86/smm/smmrelocate.S
+++ b/src/cpu/x86/smm/smmrelocate.S
@@ -37,7 +37,7 @@
#endif
// ADDR32() macro
-#include <compiler.h>
+#include <arch/registers.h>
#if IS_ENABLED(CONFIG_SMM_TSEG)
#error "Don't use this file with TSEG."