From 6443ad4a53ab65a2a9c1d29f422644e450c04cd7 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Mon, 30 Nov 2020 18:18:35 +0100 Subject: soc/amd: factor out common AOAC device enable and status query functions The code on Stoneyridge didn't set the FCH_AOAC_TARGET_DEVICE_STATE bits to FCH_AOAC_D0_INITIALIZED like the code for Picasso does, but that is the default value after reset for those bits on both platforms. Change-Id: I7cae23257ae54da73b713fe88aca5edfa4656754 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/c/coreboot/+/48183 Tested-by: build bot (Jenkins) Reviewed-by: Marshall Dawson --- src/soc/amd/picasso/uart.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/soc/amd/picasso/uart.c') diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c index 1aa42ef47b..a71a0e97d9 100644 --- a/src/soc/amd/picasso/uart.c +++ b/src/soc/amd/picasso/uart.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3