Raul Rangel has submitted this change. ( https://review.coreboot.org/c/coreboot/+/54922 )
Change subject: soc/amd/common/block: Fix missing include in acp.h ......................................................................
soc/amd/common/block: Fix missing include in acp.h
We were missing the stdint.h header, and the header was sorted incorrectly in chip.h
BUG=non TEST=build guybrush
Signed-off-by: Raul E Rangel rrangel@chromium.org Change-Id: I209d3c9c48e5b06b2a56759af51cf2858eb99f51 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54922 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Felix Held felix-coreboot@felixheld.de --- M src/soc/amd/common/block/include/amdblocks/acp.h M src/soc/amd/common/block/include/amdblocks/chip.h 2 files changed, 3 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved
diff --git a/src/soc/amd/common/block/include/amdblocks/acp.h b/src/soc/amd/common/block/include/amdblocks/acp.h index 36edfa1..2abc600 100644 --- a/src/soc/amd/common/block/include/amdblocks/acp.h +++ b/src/soc/amd/common/block/include/amdblocks/acp.h @@ -3,6 +3,8 @@ #ifndef AMD_COMMON_ACP_H #define AMD_COMMON_ACP_H
+#include <stdint.h> + struct acp_config { enum { I2S_PINS_MAX_HDA = 0, /* HDA w/reset 3xSDI, SW w/Data0 */ diff --git a/src/soc/amd/common/block/include/amdblocks/chip.h b/src/soc/amd/common/block/include/amdblocks/chip.h index c80a674..2ae9185 100644 --- a/src/soc/amd/common/block/include/amdblocks/chip.h +++ b/src/soc/amd/common/block/include/amdblocks/chip.h @@ -3,9 +3,9 @@ #ifndef AMD_BLOCK_CHIP_H #define AMD_BLOCK_CHIP_H
+#include <amdblocks/acp.h> #include <amdblocks/espi.h> #include <amdblocks/spi.h> -#include <amdblocks/acp.h> #include <stdint.h>
struct soc_amd_common_config {