amd/{hudson,stoney,picasso}: Drop PM2 settings from FADT
commit192b57cc8bf6d8a04bf20fa0270af4acceba42e9
authorAngel Pons <th3fanbus@gmail.com>
Sun, 12 Jul 2020 18:48:45 +0000 (12 20:48 +0200)
committerAngel Pons <th3fanbus@gmail.com>
Mon, 20 Jul 2020 13:16:46 +0000 (20 13:16 +0000)
tree04c1aa91dfedde0c0747cc8ced5ce529a6135c94
parent1b5a7dec433b07d101897de65a45961a3aaf1114
amd/{hudson,stoney,picasso}: Drop PM2 settings from FADT

The PM2_CNT register block is no longer needed, as explained in some
comments. While they may have been copy-pasted around a lot, they are at
least true for Hudson, and it makes sense to assume that they are true
for newer chipsets as well. As per the ACPI specification, version 6.3,
section 4.8.1.3 (PM2 Control Register):

 This register block is optional, if not supported its block pointer and
 length contain a value of zero.

Since the FADT struct defaults to zero in coreboot, we don't need to do
anything to indicate PM2_CNT is not supported. So, drop unneeded values.

Change-Id: Iabc7985c84aabe40ad98fdc9fc6ccbbab0a516c1
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43381
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/soc/amd/picasso/acpi.c
src/soc/amd/stoneyridge/acpi.c
src/southbridge/amd/agesa/hudson/fadt.c
src/southbridge/amd/pi/hudson/fadt.c