From 9d8f9056e53b3e7ec5ddf7d180812a53621b7a6a Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Tue, 25 May 2021 10:05:05 -0600 Subject: [PATCH] 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 Change-Id: I209d3c9c48e5b06b2a56759af51cf2858eb99f51 Reviewed-on: https://review.coreboot.org/c/coreboot/+/54922 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/common/block/include/amdblocks/acp.h | 2 ++ src/soc/amd/common/block/include/amdblocks/chip.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/soc/amd/common/block/include/amdblocks/acp.h b/src/soc/amd/common/block/include/amdblocks/acp.h index 36edfa1bdb..2abc600f28 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 + 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 c80a6746e0..2ae9185dd3 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 #include #include -#include #include struct soc_amd_common_config {