soc/intel/cnl: use Kconfig to determine PCH type
commit89fe2f34b48dfa053de4c82771f078a136ffff20
authorMichael Niewöhner <foss@mniewoehner.de>
Sat, 23 Jan 2021 12:57:03 +0000 (23 13:57 +0100)
committerNico Huber <nico.h@gmx.de>
Sun, 24 Jan 2021 14:03:33 +0000 (24 14:03 +0000)
treee83c0f9bfa3ca5af7449184fa5dfb043d9b2d53c
parentd0d528a92a3605accabc1bfe6ddd35fab232c29a
soc/intel/cnl: use Kconfig to determine PCH type

We already know the PCH type at build time, so there is no need to do
runtime detection. Thus, use Kconfig and drop `get_pch_series()`.

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