summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-20 19:14:08 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-21 21:03:33 +0000
commit3adfeec58fa77cf545fdb176823ce4e581d7fb0b (patch)
tree3b196f5cb6b3a9a1baaefb1eb30e9b51869a48a4
parent669a7676354cab322873683868ff19d34c0cd302 (diff)
soc/amd/*/uart: cleanup includes
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I59ab9c2eaa65d974d418123e87e9afe65b1168cc Reviewed-on: https://review.coreboot.org/c/coreboot/+/68633 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
-rw-r--r--src/soc/amd/cezanne/uart.c2
-rw-r--r--src/soc/amd/mendocino/uart.c2
-rw-r--r--src/soc/amd/morgana/uart.c2
-rw-r--r--src/soc/amd/picasso/uart.c4
-rw-r--r--src/soc/amd/stoneyridge/uart.c1
5 files changed, 2 insertions, 9 deletions
diff --git a/src/soc/amd/cezanne/uart.c b/src/soc/amd/cezanne/uart.c
index 3ac7deb755..189a1e5a87 100644
--- a/src/soc/amd/cezanne/uart.c
+++ b/src/soc/amd/cezanne/uart.c
@@ -3,8 +3,6 @@
#include <amdblocks/gpio.h>
#include <amdblocks/uart.h>
#include <commonlib/helpers.h>
-#include <console/console.h>
-#include <device/device.h>
#include <device/mmio.h>
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
diff --git a/src/soc/amd/mendocino/uart.c b/src/soc/amd/mendocino/uart.c
index d4bf2feae9..03fc593624 100644
--- a/src/soc/amd/mendocino/uart.c
+++ b/src/soc/amd/mendocino/uart.c
@@ -3,8 +3,6 @@
#include <amdblocks/gpio.h>
#include <amdblocks/uart.h>
#include <commonlib/helpers.h>
-#include <console/console.h>
-#include <device/device.h>
#include <device/mmio.h>
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
diff --git a/src/soc/amd/morgana/uart.c b/src/soc/amd/morgana/uart.c
index 401a134cf5..92cb2fe121 100644
--- a/src/soc/amd/morgana/uart.c
+++ b/src/soc/amd/morgana/uart.c
@@ -5,8 +5,6 @@
#include <amdblocks/gpio.h>
#include <amdblocks/uart.h>
#include <commonlib/helpers.h>
-#include <console/console.h>
-#include <device/device.h>
#include <device/mmio.h>
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c
index e3e3aa9792..2120ad71b9 100644
--- a/src/soc/amd/picasso/uart.c
+++ b/src/soc/amd/picasso/uart.c
@@ -1,11 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <console/console.h>
-#include <commonlib/helpers.h>
-#include <device/device.h>
#include <device/mmio.h>
#include <amdblocks/gpio.h>
#include <amdblocks/uart.h>
+#include <commonlib/helpers.h>
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
#include <soc/iomap.h>
diff --git a/src/soc/amd/stoneyridge/uart.c b/src/soc/amd/stoneyridge/uart.c
index 86e2626a50..7fbba07a78 100644
--- a/src/soc/amd/stoneyridge/uart.c
+++ b/src/soc/amd/stoneyridge/uart.c
@@ -2,6 +2,7 @@
#include <amdblocks/gpio.h>
#include <amdblocks/uart.h>
+#include <commonlib/helpers.h>
#include <soc/aoac_defs.h>
#include <soc/gpio.h>
#include <soc/iomap.h>