diff options
Diffstat (limited to 'src/soc/intel/common/block/cpu/car/cache_as_ram.S')
-rw-r--r-- | src/soc/intel/common/block/cpu/car/cache_as_ram.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cpu/car/cache_as_ram.S b/src/soc/intel/common/block/cpu/car/cache_as_ram.S index d880c2588d1c..29bd3fe87f39 100644 --- a/src/soc/intel/common/block/cpu/car/cache_as_ram.S +++ b/src/soc/intel/common/block/cpu/car/cache_as_ram.S @@ -66,9 +66,13 @@ * Returns %eax and sets/unsets zero flag */ .macro is_bootguard_nem +#if CONFIG(SOC_INTEL_NO_BOOTGUARD_MSR) + xorl %eax, %eax +#else movl $MSR_BOOT_GUARD_SACM_INFO, %ecx rdmsr andl $B_BOOT_GUARD_SACM_INFO_NEM_ENABLED, %eax +#endif .endm .global bootblock_pre_c_entry |