cpu/intel/haswell: Drop c-state table indirection
commit618b9ade158970d8ab9b56481bddfef54d6a9aea
authorAngel Pons <th3fanbus@gmail.com>
Thu, 21 Jan 2021 20:22:19 +0000 (21 21:22 +0100)
committerAngel Pons <th3fanbus@gmail.com>
Sun, 14 Feb 2021 21:54:55 +0000 (14 21:54 +0000)
tree6a0493432b5ff08100ecf3aa426bb2979e9ddd02
parent85790d028fcf2950a03da87672dd5810bbaba046
cpu/intel/haswell: Drop c-state table indirection

Accessing it directly allows proper bounds-checking.

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