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 <furquan@google.com> Reviewed-on: https://review.coreboot.org/14359 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Andrey Petrov <andrey.petrov@intel.com>
This commit is contained in:
		| @@ -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 <cpu/x86/cr.h> | ||||
|  | ||||
| /* | ||||
|  * Include the old code for reset vector and protected mode entry. That code has | ||||
|   | ||||
		Reference in New Issue
	
	Block a user