soc/intel/dnv_ns: correct size of GPE0 registers in FADT
commita78ab4b0af72240fa4dba5a520c635d44b97eff2
authorMichael Niewöhner <foss@mniewoehner.de>
Sat, 2 Oct 2021 15:46:45 +0000 (2 17:46 +0200)
committerWerner Zeh <werner.zeh@siemens.com>
Thu, 7 Oct 2021 04:46:48 +0000 (7 04:46 +0000)
tree2b14d33cdbd94c5755459c7fad21dd8b04d29143
parentfba1475f25948aebd0590436e33bb266d6e714d9
soc/intel/dnv_ns: correct size of GPE0 registers in FADT

There are 4 GPE0 STS/EN register pairs, each 32 bit wide. However, SoC
code sets a GPE0 block size of 4 byte length instead of 32 byte.
The resulting value of `x_gpe0_blk.bit_with` is wrong, too (32 bit
instead of 256 bit).

Drop the overrides and let common ACPI code set the correct values based
on `GPE0_REG_MAX`.

Change-Id: I45ee0f6678784c292ee3ed3446bf3c0f2d53b633
Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58086
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
src/soc/intel/denverton_ns/acpi.c