summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-11-30 13:33:41 +0100
committerPatrick Rudolph <siro@das-labor.org>2020-12-01 16:00:34 +0000
commit983ea18f179bb71b837907c81a5d394ad274ea84 (patch)
treea9191f8458ebf7e8fdaef85206cb04073e3b2d22 /src/cpu
parenta99f61fec41f22c6c518d53078c322ca9891884c (diff)
downloadcoreboot-983ea18f179bb71b837907c81a5d394ad274ea84.tar.xz
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 <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48164 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/intel/microcode/microcode_asm.S1
1 files changed, 1 insertions, 0 deletions
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