summaryrefslogtreecommitdiff
path: root/src/arch/x86/id.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/id.S')
-rw-r--r--src/arch/x86/id.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/id.S b/src/arch/x86/id.S
index b569178ab8..64f7a799b0 100644
--- a/src/arch/x86/id.S
+++ b/src/arch/x86/id.S
@@ -11,7 +11,7 @@ vendor:
part:
.asciz CONFIG_MAINBOARD_PART_NUMBER
-#if ENV_X86_64
+#if ENV_X86_64 || defined(__clang__)
.long 0xffffffff - ver + 1 /* Reverse offset to the version */
.long 0xffffffff - vendor + 1 /* Reverse offset to the vendor id */
.long 0xffffffff - part + 1 /* Reverse offset to the part number */