commit | adcf7827bd00757cd52e87693c8bbfbe08ed6b13 | [log] [tgz] |
---|---|---|
author | Patrick Rudolph <patrick.rudolph@9elements.com> | Thu Aug 27 20:50:18 2020 +0200 |
committer | Patrick Georgi <pgeorgi@google.com> | Tue Jul 06 06:09:13 2021 +0000 |
tree | 30d823ebe33966e2367e3f4c7aab9a4dae05fffe | |
parent | e85e7af6d02cb7d5acc51a10d0a1abbd7980ce12 [diff] [blame] |
arch/x86: Use ENV_X86_64 instead of _x86_64_ Tested on Intel Sandybridge x86_64 and x86_32. Change-Id: I152483d24af0512c0ee4fbbe8931b7312e487ac6 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44867 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/src/soc/intel/denverton_ns/soc_util.c b/src/soc/intel/denverton_ns/soc_util.c index d5b9b34..b4c707d 100644 --- a/src/soc/intel/denverton_ns/soc_util.c +++ b/src/soc/intel/denverton_ns/soc_util.c
@@ -274,7 +274,7 @@ unsigned long d0, d1, d2; asm volatile( -#ifdef __x86_64__ +#if ENV_X86_64 "rep ; movsd\n\t" "mov %4,%%rcx\n\t" #else