From 983ea18f179bb71b837907c81a5d394ad274ea84 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 30 Nov 2020 13:33:41 +0100 Subject: cpu/intel/microcode: Mark assemblycode as 32bit Allows to compile the file under x86_64 without errors. The caller has to make sure to call the functions while in protected mode, which is usually the case in early bootblock. Change-Id: Ic6d98febb357226183c293c11ba7961f27fac40c Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/c/coreboot/+/48164 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans Reviewed-by: Angel Pons --- src/cpu/intel/microcode/microcode_asm.S | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cpu/intel') diff --git a/src/cpu/intel/microcode/microcode_asm.S b/src/cpu/intel/microcode/microcode_asm.S index f02351a5ed..5173ae5a0c 100644 --- a/src/cpu/intel/microcode/microcode_asm.S +++ b/src/cpu/intel/microcode/microcode_asm.S @@ -43,6 +43,7 @@ * if the revision of the update is newer than what is installed */ +.code32 .section .text .global update_bsp_microcode -- cgit v1.2.3