1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-22 10:31:56 +02:00

serial: Remove <common.h> and add needed includes

Remove <common.h> from this driver directory and when needed
add missing include files directly.

Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2024-05-01 19:31:17 -06:00
parent 8625f7bb6e
commit a8604d0ce1
46 changed files with 6 additions and 46 deletions

View File

@@ -4,7 +4,6 @@
* Scott McNutt <smcnutt@psyent.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <serial.h>

View File

@@ -4,7 +4,6 @@
* Scott McNutt <smcnutt@psyent.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <serial.h>

View File

@@ -15,7 +15,6 @@
* this file might be covered by the GNU General Public License.
*/
#include <common.h>
#include <dm.h>
#include <serial.h>

View File

@@ -5,7 +5,6 @@
* Modified to support C structur SoC access by
* Andreas Bießmann <biessmann@corscience.de>
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <errno.h>

View File

@@ -5,7 +5,7 @@
*/
#include <clock_legacy.h>
#include <common.h>
#include <config.h>
#include <clk.h>
#include <dm.h>
#include <errno.h>

View File

@@ -9,7 +9,6 @@
* U-Boot.
*/
#include <common.h>
#include <console.h>
#include <dm.h>
#include <os.h>

View File

@@ -5,7 +5,7 @@
#define LOG_CATEGORY UCLASS_SERIAL
#include <common.h>
#include <config.h>
#include <dm.h>
#include <env_internal.h>
#include <errno.h>

View File

@@ -4,7 +4,7 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <config.h>
#include <env_internal.h>
#include <hang.h>
#include <serial.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com>
*/
#include <common.h>
#include <clock_legacy.h>
#include <dm.h>
#include <div64.h>

View File

@@ -7,7 +7,6 @@
*
*/
#include <common.h>
#include <dm.h>
#include <serial.h>
#include <asm/global_data.h>

View File

@@ -14,7 +14,6 @@
/* Simple U-Boot driver for the BCM283x mini UART */
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <watchdog.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2018 Alexander Graf <agraf@suse.de>
*/
#include <common.h>
#include <dm.h>
#include <asm/gpio.h>
#include <dm/pinctrl.h>

View File

@@ -7,7 +7,6 @@
#define LOG_CATGEGORY UCLASS_SERIAL
#include <common.h>
#include <dm.h>
#include <log.h>
#include <ns16550.h>

View File

@@ -5,7 +5,6 @@
*
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <watchdog.h>

View File

@@ -4,7 +4,6 @@
* Written by Simon Glass <sjg@chromium.org>
*/
#include <common.h>
#include <debug_uart.h>
#include <dm.h>
#include <efi.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2022 Ventana Micro Systems Inc.
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <fdtdec.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2017 Intel Corporation
*/
#include <common.h>
#include <dm.h>
#include <ns16550.h>
#include <serial.h>

View File

@@ -3,7 +3,6 @@
* (C) Copyright 2013-2016 Freescale Semiconductor, Inc.
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <watchdog.h>

View File

@@ -4,7 +4,6 @@
* Copyright 2013 Freescale Semiconductor, Inc.
*/
#include <common.h>
#include <clock_legacy.h>
#include <clk.h>
#include <dm.h>

View File

@@ -15,7 +15,6 @@
* as serial console interface.
*/
#include <common.h>
#include <dm.h>
#include <asm/global_data.h>
#include <dm/platform_data/serial_coldfire.h>

View File

@@ -3,7 +3,6 @@
* (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <fdtdec.h>

View File

@@ -4,7 +4,6 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
#include <common.h>
#include <command.h>
#include <dm.h>
#include <serial.h>

View File

@@ -8,7 +8,6 @@
* Based on Linux driver.
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <errno.h>

View File

@@ -9,7 +9,6 @@
#include <asm/io.h>
#include <clk.h>
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <linux/delay.h>

View File

@@ -7,7 +7,7 @@
*/
#include <clk.h>
#include <common.h>
#include <config.h>
#include <div64.h>
#include <dm.h>
#include <dm/device_compat.h>

View File

@@ -4,7 +4,6 @@
* Copyright (C) 2021 Pali Rohár <pali@kernel.org>
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <serial.h>

View File

@@ -3,7 +3,6 @@
* (c) 2007 Sascha Hauer <s.hauer@pengutronix.de>
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <watchdog.h>

View File

@@ -2,7 +2,6 @@
/*
* Copyright (C) 2023 Marek Vasut <marex@denx.de>
*/
#include <common.h>
#include <dm.h>
#include <malloc.h>
#include <serial.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2021 Nuvoton Technology Corp.
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <serial.h>

View File

@@ -4,7 +4,7 @@
* Rob Taylor, Flying Pig Systems. robt@flyingpig.com.
*/
#include <common.h>
#include <config.h>
#include <clock_legacy.h>
#include <ns16550.h>
#include <serial.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2015 National Instruments
*/
#include <common.h>
#include <dm.h>
#include <serial.h>

View File

@@ -6,7 +6,7 @@
* Lokesh Vutla <lokeshvutla@ti.com>
*/
#include <common.h>
#include <config.h>
#include <dm.h>
#include <dt-structs.h>
#include <log.h>

View File

@@ -6,7 +6,6 @@
* Copyright (C) 2018 Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <errno.h>

View File

@@ -3,7 +3,6 @@
* (c) 2015 Paul Thacker <paul.thacker@microchip.com>
*
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <malloc.h>

View File

@@ -10,7 +10,6 @@
/* Simple U-Boot driver for the PrimeCell PL010/PL011 UARTs */
#include <common.h>
#include <asm/global_data.h>
/* For get_bus_freq() */
#include <clock_legacy.h>

View File

@@ -3,7 +3,6 @@
* Copyright (c) 2015 Google, Inc
*/
#include <common.h>
#include <debug_uart.h>
#include <dm.h>
#include <dt-structs.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2022 Stefan Bosch <stefan_b@posteo.net>
*/
#include <common.h>
#include <dm.h>
#include <asm/arch/clk.h>
#include <asm/arch/reset.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2022 Sean Anderson <sean.anderson@seco.com>
*/
#include <common.h>
#include <dm.h>
#include <malloc.h>
#include <serial.h>

View File

@@ -3,7 +3,6 @@
* Copyright (C) 2018 Anup Patel <anup@brainfault.org>
*/
#include <common.h>
#include <clk.h>
#include <debug_uart.h>
#include <dm.h>

View File

@@ -6,7 +6,6 @@
* Author(s): Patrice Chotard, <patrice.chotard@foss.st.com> for STMicroelectronics.
*/
#include <common.h>
#include <dm.h>
#include <log.h>
#include <serial.h>

View File

@@ -6,7 +6,6 @@
#define LOG_CATEGORY UCLASS_SERIAL
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <log.h>

View File

@@ -5,7 +5,6 @@
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
*/
#include <common.h>
#include <dm.h>
#include <linux/bitfield.h>
#include <linux/bitops.h>

View File

@@ -3,7 +3,6 @@
* (C) 2018 NXP
* (C) 2020 EPAM Systems Inc.
*/
#include <common.h>
#include <cpu_func.h>
#include <dm.h>
#include <serial.h>

View File

@@ -8,7 +8,6 @@
*/
#include <config.h>
#include <common.h>
#include <dm.h>
#include <asm/io.h>
#include <linux/bitops.h>

View File

@@ -5,7 +5,6 @@
*/
#include <clk.h>
#include <common.h>
#include <debug_uart.h>
#include <dm.h>
#include <errno.h>

View File

@@ -7,7 +7,6 @@
* Bryan O'Donoghue, bodonoghue@codehermit.ie
*/
#include <common.h>
#include <config.h>
#include <circbuf.h>
#include <env.h>