cpu/intel/model_206ax: Replace `generate_cstate_entries`
commitd8b9e562d04d9b3c4085e31af68ec6faeeb5fe82
authorAngel Pons <th3fanbus@gmail.com>
Mon, 4 Jan 2021 16:37:46 +0000 (4 17:37 +0100)
committerAngel Pons <th3fanbus@gmail.com>
Sun, 14 Feb 2021 21:54:39 +0000 (14 21:54 +0000)
tree56362fd92403edf9cda23fd98777f705f3fa9988
parentea32c52a0eb9eb9f8cb9ef886e2120d1d5f35753
cpu/intel/model_206ax: Replace `generate_cstate_entries`

Leverage the existing `acpigen_write_CST_package` function.

Yes, bad devicetree values can trigger undefined behavior. The old code
already had this issue, and will be addressed in subsequent commits.

Change-Id: Icec5431987d91242930efcea0c8ea4e3df3182fd
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49093
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
src/cpu/intel/model_206ax/acpi.c