diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/id.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/id.S b/src/arch/x86/id.S index 4a171cc7f6..b569178ab8 100644 --- a/src/arch/x86/id.S +++ b/src/arch/x86/id.S @@ -11,8 +11,14 @@ vendor: part: .asciz CONFIG_MAINBOARD_PART_NUMBER +#if ENV_X86_64 .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 */ +#else +.long - ver /* Reverse offset to the version */ +.long - vendor /* Reverse offset to the vendor id */ +.long - part /* Reverse offset to the part number */ +#endif .long CONFIG_ROM_SIZE /* Size of this romimage */ |