summaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2021-05-25 10:05:05 -0600
committerRaul Rangel <rrangel@chromium.org>2021-05-27 19:34:03 +0000
commit9d8f9056e53b3e7ec5ddf7d180812a53621b7a6a (patch)
tree4764e43b88d8799f56855e2e514bdf1e21c57e3a /src/soc
parentc5a56b886b758091534fdcc7a0feb13a8e97c448 (diff)
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>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acp.h2
-rw-r--r--src/soc/amd/common/block/include/amdblocks/chip.h2
2 files changed, 3 insertions, 1 deletions
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 <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 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 <amdblocks/acp.h>
#include <amdblocks/espi.h>
#include <amdblocks/spi.h>
-#include <amdblocks/acp.h>
#include <stdint.h>
struct soc_amd_common_config {