summaryrefslogtreecommitdiff
path: root/src/soc/amd/common
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-28 08:54:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-02 07:42:32 +0000
commit0c154af2175fcb05bffa4ccad11c40366f5417e7 (patch)
tree3779418baad8ad97239acddc24a09110cc1f3b6a /src/soc/amd/common
parent48378e1f8d132a3d3bdbb7b1eac5c769c273e6e1 (diff)
src: Remove redundant includes
<types.h> is supposed to provide <commonlib/bsd/cb_err.h>, <stdbool.h>,<stdint.h> and <stddef.h>. So remove those includes each time when <types.h> is included. Change-Id: I886f02255099f3005852a2e6095b21ca86a940ed Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41817 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/amd/common')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/acpimmio.h1
-rw-r--r--src/soc/amd/common/block/include/amdblocks/lpc.h1
-rw-r--r--src/soc/amd/common/block/lpc/espi_util.c2
3 files changed, 0 insertions, 4 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/acpimmio.h b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
index 0d41782003..84a9360d1b 100644
--- a/src/soc/amd/common/block/include/amdblocks/acpimmio.h
+++ b/src/soc/amd/common/block/include/amdblocks/acpimmio.h
@@ -4,7 +4,6 @@
#define __AMDBLOCKS_ACPIMMIO_H__
#include <device/mmio.h>
-#include <stdint.h>
#include <types.h>
#include <amdblocks/acpimmio_map.h>
diff --git a/src/soc/amd/common/block/include/amdblocks/lpc.h b/src/soc/amd/common/block/include/amdblocks/lpc.h
index 11acc78228..7412e7bb1b 100644
--- a/src/soc/amd/common/block/include/amdblocks/lpc.h
+++ b/src/soc/amd/common/block/include/amdblocks/lpc.h
@@ -4,7 +4,6 @@
#define __AMDBLOCKS_LPC_H__
#include <types.h>
-#include <stdint.h>
/* PCI registers for D14F3 */
#define LPC_PCI_CONTROL 0x40
diff --git a/src/soc/amd/common/block/lpc/espi_util.c b/src/soc/amd/common/block/lpc/espi_util.c
index 5ca0d2831a..3750a8b7f9 100644
--- a/src/soc/amd/common/block/lpc/espi_util.c
+++ b/src/soc/amd/common/block/lpc/espi_util.c
@@ -7,8 +7,6 @@
#include <console/console.h>
#include <espi.h>
#include <soc/pci_devs.h>
-#include <stddef.h>
-#include <stdint.h>
#include <timer.h>
#include <types.h>