From b3ee03c404e0a26dc338a26f7ce01ddb8dafaaec Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 13 Apr 2016 17:15:36 -0700 Subject: bootblock_crt0: Use CR* macros from cpu/x86/cr.h Instead of re-defining the macros, include cpu/x86/cr.h in bootblock_crt0.S to re-use already defined macros for accessing CR* flags. Change-Id: Idade02f7a6bc880c9aad3bfacd05ac57b6d04e44 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/14359 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin Reviewed-by: Andrey Petrov --- src/arch/x86/bootblock_crt0.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/arch/x86/bootblock_crt0.S b/src/arch/x86/bootblock_crt0.S index 2ecddba06a..7292b8b17c 100644 --- a/src/arch/x86/bootblock_crt0.S +++ b/src/arch/x86/bootblock_crt0.S @@ -21,11 +21,7 @@ * GNU General Public License for more details. */ -#define CR0_MP (1 << 1) -#define CR0_EM (1 << 2) - -#define CR4_OSFXSR (1 << 9) -#define CR4_OSXMMEXCPT (1 << 10) +#include /* * Include the old code for reset vector and protected mode entry. That code has -- cgit v1.2.3