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>
This commit is contained in:
parent
ae364008a7
commit
efe57ebd40
3 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue