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>
This commit is contained in:
Patrick Georgi
2017-09-04 17:37:31 +02:00
committed by Patrick Georgi
parent faf7a8e859
commit e8741fe954
3 changed files with 9 additions and 7 deletions

View File

@@ -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."