diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-09-27 12:02:50 +0200 |
---|---|---|
committer | Michael Niewöhner <foss@mniewoehner.de> | 2021-09-29 20:40:32 +0000 |
commit | efe57ebd40475d899e7585c02822cd0baebb8d30 (patch) | |
tree | bcb05a0a95303f777a5a1f54570f117710eac31a /src/soc/intel/common/block | |
parent | ae364008a7c13b3d4951acbf3554f16c9fb89d1b (diff) |
soc/intel: Rename GNVS struct member to match ASL
Rename the `ecps` GNVS struct member to `epcs` to match the name in ASL.
Change-Id: I1f6b97309eea75e7dbb4e5e664660df05ec0845e
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57979
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/soc/intel/common/block')
-rw-r--r-- | src/soc/intel/common/block/sgx/sgx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/sgx/sgx.c b/src/soc/intel/common/block/sgx/sgx.c index d6df99b0fa..b21e665ac8 100644 --- a/src/soc/intel/common/block/sgx/sgx.c +++ b/src/soc/intel/common/block/sgx/sgx.c @@ -254,12 +254,12 @@ void sgx_fill_gnvs(struct global_nvs *gnvs) if (cpuid_regs.eax & SGX_RESOURCE_ENUM_BIT) { /* EPC section enumerated */ - gnvs->ecps = 1; + gnvs->epcs = 1; gnvs->emna = sgx_resource(cpuid_regs.eax, cpuid_regs.ebx); gnvs->elng = sgx_resource(cpuid_regs.ecx, cpuid_regs.edx); } printk(BIOS_DEBUG, "SGX: gnvs ECP status = %d base = 0x%llx len = 0x%llx\n", - gnvs->ecps, gnvs->emna, gnvs->elng); + gnvs->epcs, gnvs->emna, gnvs->elng); } |