sb/amd/{agesa,pi}/hudson: Explicitly enable LPC controller
commita244d5edd4f45fd9e21db3d97ed0a32eaf089e7b
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Mon, 9 Dec 2019 06:08:58 +0000 (9 08:08 +0200)
committerPatrick Georgi <pgeorgi@google.com>
Tue, 10 Dec 2019 11:17:40 +0000 (10 11:17 +0000)
treef3d714cc53ceddf0cbb7319551bd8859bc52e356
parent0a2de7b538e3d6490a8d748bc8b8b9b7511c81bc
sb/amd/{agesa,pi}/hudson: Explicitly enable LPC controller

Location in hudson_lpc_port80() was called conditionally.
Also move hudson_lpc_decode() call after enable_acpimmio_decode_pmXX()
due the change from IO to MMIO using pm_read/write.

Change-Id: I38e94e4b04f0a493052cfd3ffdd0a9c2ac0d07fc
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37595
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
src/southbridge/amd/agesa/hudson/bootblock.c
src/southbridge/amd/agesa/hudson/early_setup.c
src/southbridge/amd/pi/hudson/bootblock.c
src/southbridge/amd/pi/hudson/early_setup.c