mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig
Subsystems (123)
Re: [PATCH 53/81] pwm: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Looks ok, tested on FriendlyElec-Board NanoPC-T2 (s5p4418_nanopi2_defconfig).
Thanks a lot!
Quoted 215 lines
---
Cc: Tom Rini <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Igor Prusov <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Johan Jonker <[email protected]>--- drivers/pwm/cros_ec_pwm.c | 1 - drivers/pwm/exynos_pwm.c | 1 - drivers/pwm/pwm-aspeed.c | 1 - drivers/pwm/pwm-at91.c | 1 - drivers/pwm/pwm-cadence-ttc.c | 1 - drivers/pwm/pwm-imx.c | 1 - drivers/pwm/pwm-meson.c | 1 - drivers/pwm/pwm-mtk.c | 1 - drivers/pwm/pwm-sifive.c | 1 - drivers/pwm/pwm-ti-ehrpwm.c | 1 - drivers/pwm/pwm-uclass.c | 1 - drivers/pwm/rk_pwm.c | 1 - drivers/pwm/sandbox_pwm.c | 1 - drivers/pwm/sunxi_pwm.c | 1 - drivers/pwm/tegra_pwm.c | 1 - 15 files changed, 15 deletions(-)drivers/pwm/cros_ec_pwm.c +0
-1@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <cros_ec.h> #include <dm.h> #include <errno.h> drivers/pwm/exynos_pwm.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Google Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <pwm.h> drivers/pwm/pwm-aspeed.c +0
-1@@ -38,7 +38,6 @@* This improvement can disable/enable through PWM_ASPEED_CTRL_DUTY_SYNC_DISABLE. */ -#include <common.h> #include <div64.h> #include <dm.h> #include <pwm.h> drivers/pwm/pwm-at91.c +0
-1@@ -9,7 +9,6 @@* Based on drivers/pwm/pwm-atmel.c from Linux. */ #include <clk.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <linux/bitops.h> drivers/pwm/pwm-cadence-ttc.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PWM#include <clk.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <log.h> drivers/pwm/pwm-imx.c +0
-1@@ -6,7 +6,6 @@* Basic support for the pwm module on imx6. */ -#include <common.h> #include <div64.h> #include <dm.h> #include <log.h> drivers/pwm/pwm-meson.c +0
-1@@ -16,7 +16,6 @@* current period to complete first). */ -#include <common.h> #include <clk.h> #include <div64.h> #include <dm.h> drivers/pwm/pwm-mtk.c +0
-1@@ -5,7 +5,6 @@* Author: Sam Shih <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <pwm.h> drivers/pwm/pwm-sifive.c +0
-1@@ -12,7 +12,6 @@* - The hardware generates only inverted output. */ -#include <common.h> #include <clk.h> #include <div64.h> #include <dm.h> drivers/pwm/pwm-ti-ehrpwm.c +0
-1@@ -7,7 +7,6 @@* Based on Linux kernel drivers/pwm/pwm-tiehrpwm.c */ -#include <common.h> #include <clk.h> #include <div64.h> #include <dm.h> drivers/pwm/pwm-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PWM -#include <common.h> #include <dm.h> #include <pwm.h> drivers/pwm/rk_pwm.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <clk.h> #include <div64.h> #include <dm.h> drivers/pwm/sandbox_pwm.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <pwm.h> drivers/pwm/sunxi_pwm.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017-2018 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <div64.h> #include <dm.h> #include <log.h> drivers/pwm/tegra_pwm.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Google Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <pwm.h>
PATCH 54/81 ram: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Ralph Siemsen <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Leo Yu-Chi Liang <[email protected]>
Cc: Yanhong Wang <[email protected]>
Cc: Andre Przywara <[email protected]>
--- drivers/ram/aspeed/sdram_ast2500.c | 2 +- drivers/ram/aspeed/sdram_ast2600.c | 2 +- drivers/ram/bmips_ram.c | 1 - drivers/ram/cadence/ddr_ctrl.c | 1 - drivers/ram/imxrt_sdram.c | 1 - drivers/ram/k3-am654-ddrss.c | 1 - drivers/ram/k3-ddrss/k3-ddrss.c | 1 - drivers/ram/mediatek/ddr3-mt7629.c | 2 +- drivers/ram/mpc83xx_sdram.c | 1 - drivers/ram/ram-uclass.c | 1 - drivers/ram/renesas/rzn1/ddr_async.c | 1 - drivers/ram/rockchip/dmc-rk3368.c | 2 +- drivers/ram/rockchip/sdram_common.c | 2 +- drivers/ram/rockchip/sdram_pctl_px30.c | 1 - drivers/ram/rockchip/sdram_phy_px30.c | 1 - drivers/ram/rockchip/sdram_px30.c | 2 +- drivers/ram/rockchip/sdram_rk3066.c | 2 +- drivers/ram/rockchip/sdram_rk3128.c | 2 +- drivers/ram/rockchip/sdram_rk3188.c | 2 +- drivers/ram/rockchip/sdram_rk322x.c | 2 +- drivers/ram/rockchip/sdram_rk3288.c | 2 +- drivers/ram/rockchip/sdram_rk3308.c | 2 +- drivers/ram/rockchip/sdram_rk3328.c | 2 +- drivers/ram/rockchip/sdram_rk3399.c | 2 +- drivers/ram/rockchip/sdram_rk3568.c | 2 +- drivers/ram/rockchip/sdram_rk3588.c | 2 +- drivers/ram/rockchip/sdram_rv1126.c | 2 +- drivers/ram/sandbox_ram.c | 1 - drivers/ram/sifive/sifive_ddr.c | 1 - drivers/ram/starfive/ddrcsr_boot.c | 1 - drivers/ram/starfive/ddrphy_start.c | 1 - drivers/ram/starfive/ddrphy_train.c | 2 +- drivers/ram/starfive/ddrphy_utils.c | 2 +- drivers/ram/starfive/starfive_ddr.c | 1 - drivers/ram/starfive/starfive_ddr.h | 2 ++ drivers/ram/stm32_sdram.c | 1 - drivers/ram/stm32mp1/stm32mp1_ddr.c | 1 - drivers/ram/stm32mp1/stm32mp1_interactive.c | 1 - drivers/ram/stm32mp1/stm32mp1_ram.c | 1 - drivers/ram/stm32mp1/stm32mp1_tests.c | 1 - drivers/ram/sunxi/dram_sun20i_d1.c | 2 +- 41 files changed, 22 insertions(+), 40 deletions(-)
drivers/ram/aspeed/sdram_ast2500.c +1 -1
@@ -5,7 +5,7 @@* Copyright 2016 Google, Inc */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/ram/aspeed/sdram_ast2600.c +1 -1
@@ -2,7 +2,7 @@/* * Copyright (C) ASPEED Technology Inc. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/ram/bmips_ram.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2009 Florian Fainelli <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <init.h>
drivers/ram/cadence/ddr_ctrl.c +0 -1
@@ -24,7 +24,6 @@* bandwidth allocated to each AXI slave can be set. */ -#include <common.h> #include <linux/delay.h> #include <linux/sizes.h> #include <asm/io.h>
drivers/ram/imxrt_sdram.c +0 -1
@@ -4,7 +4,6 @@* Author(s): Giulio Benetti <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/ram/k3-am654-ddrss.c +0 -1
@@ -6,7 +6,6 @@* Lokesh Vutla <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/ram/k3-ddrss/k3-ddrss.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ */ -#include <common.h> #include <config.h> #include <clk.h> #include <div64.h>
drivers/ram/mediatek/ddr3-mt7629.c +1 -1
@@ -8,7 +8,7 @@*/ #include <clk.h> -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <asm/io.h>
drivers/ram/mpc83xx_sdram.c +0 -1
@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <init.h> #include <log.h>
drivers/ram/ram-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <ram.h> #include <dm.h> #include <errno.h>
drivers/ram/renesas/rzn1/ddr_async.c +0 -1
@@ -7,7 +7,6 @@* * Copyright (C) 2015 Renesas Electronics Europe Ltd */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/ram/rockchip/dmc-rk3368.c +1 -1
@@ -3,7 +3,7 @@* (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <hang.h>
drivers/ram/rockchip/sdram_common.c +1 -1
@@ -3,7 +3,7 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <debug_uart.h> #include <ram.h> #include <asm/io.h>
drivers/ram/rockchip/sdram_pctl_px30.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> #include <ram.h> #include <asm/io.h> #include <asm/arch-rockchip/sdram.h>
drivers/ram/rockchip/sdram_phy_px30.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> #include <ram.h> #include <asm/io.h> #include <asm/arch-rockchip/sdram.h>
drivers/ram/rockchip/sdram_px30.c +1 -1
@@ -3,7 +3,7 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <debug_uart.h> #include <dm.h> #include <init.h>
drivers/ram/rockchip/sdram_rk3066.c +1 -1
@@ -6,7 +6,7 @@* Adapted from the very similar rk3188 ddr init. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h>
drivers/ram/rockchip/sdram_rk3128.c +1 -1
@@ -3,7 +3,7 @@* (C) Copyright 2017 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <log.h> #include <ram.h>
drivers/ram/rockchip/sdram_rk3188.c +1 -1
@@ -6,7 +6,7 @@* Adapted from the very similar rk3288 ddr init. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h>
drivers/ram/rockchip/sdram_rk322x.c +1 -1
@@ -2,7 +2,7 @@/* * (C) Copyright 2017 Rockchip Electronics Co., Ltd */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h>
drivers/ram/rockchip/sdram_rk3288.c +1 -1
@@ -6,7 +6,7 @@* Adapted from coreboot. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h>
drivers/ram/rockchip/sdram_rk3308.c +1 -1
@@ -3,7 +3,7 @@* (C) Copyright 2019 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <syscon.h>
drivers/ram/rockchip/sdram_rk3328.c +1 -1
@@ -2,7 +2,7 @@/* * (C) Copyright 2017 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <debug_uart.h> #include <dm.h>
drivers/ram/rockchip/sdram_rk3399.c +1 -1
@@ -5,7 +5,7 @@* Adapted from coreboot. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h>
drivers/ram/rockchip/sdram_rk3568.c +1 -1
@@ -3,7 +3,7 @@* (C) Copyright 2021 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <syscon.h>
drivers/ram/rockchip/sdram_rk3588.c +1 -1
@@ -3,7 +3,7 @@* (C) Copyright 2021 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <syscon.h>
drivers/ram/rockchip/sdram_rv1126.c +1 -1
@@ -4,7 +4,7 @@* Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. */ -#include <common.h> +#include <config.h> #include <debug_uart.h> #include <dm.h> #include <ram.h>
drivers/ram/sandbox_ram.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <ram.h>
drivers/ram/sifive/sifive_ddr.c +0 -1
@@ -6,7 +6,6 @@* Pragnesh Patel <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <init.h>
drivers/ram/starfive/ddrcsr_boot.c +0 -1
@@ -4,7 +4,6 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/arch/regs.h> #include <linux/delay.h>
drivers/ram/starfive/ddrphy_start.c +0 -1
@@ -4,7 +4,6 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> #include <asm/io.h> #include "starfive_ddr.h"
drivers/ram/starfive/ddrphy_train.c +1 -1
@@ -4,7 +4,7 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> +#include <linux/kernel.h> #include <asm/io.h> static const u32 ddr_train_data[] = {
drivers/ram/starfive/ddrphy_utils.c +1 -1
@@ -4,7 +4,7 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> +#include <linux/kernel.h> #include <asm/io.h> static const u32 ddr_phy_data[] = {
drivers/ram/starfive/starfive_ddr.c +0 -1
@@ -4,7 +4,6 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> #include <asm/arch/regs.h> #include <asm/io.h> #include <clk.h>
drivers/ram/starfive/starfive_ddr.h +2 -0
@@ -7,6 +7,8 @@#ifndef __STARFIVE_DDR_H__#define __STARFIVE_DDR_H__ +#include <linux/kernel.h> +#define SEC_CTRL_ADDR 0x1000#define PHY_BASE_ADDR 0x800#define PHY_AC_BASE_ADDR 0x1000
drivers/ram/stm32_sdram.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <clk.h> #include <dm.h> #include <init.h>
drivers/ram/stm32mp1/stm32mp1_ddr.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <clk.h> #include <log.h> #include <ram.h>
drivers/ram/stm32mp1/stm32mp1_interactive.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <command.h> #include <console.h> #include <cli.h>
drivers/ram/stm32mp1/stm32mp1_ram.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <clk.h> #include <dm.h> #include <init.h>
drivers/ram/stm32mp1/stm32mp1_tests.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <console.h> #include <init.h> #include <log.h>
drivers/ram/sunxi/dram_sun20i_d1.c +1 -1
@@ -13,7 +13,7 @@*/ #include <asm/io.h> -#include <common.h> +#include <config.h> #ifdef CONFIG_RAM #include <dm.h> #include <ram.h>
Signature · 1 line
2.34.1
Re: [PATCH 54/81] ram: Remove <common.h> and add needed includes
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 578 lines
---
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Mario Six <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Ralph Siemsen <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Leo Yu-Chi Liang <[email protected]>
Cc: Yanhong Wang <[email protected]>
Cc: Andre Przywara <[email protected]>--- drivers/ram/aspeed/sdram_ast2500.c | 2 +- drivers/ram/aspeed/sdram_ast2600.c | 2 +- drivers/ram/bmips_ram.c | 1 - drivers/ram/cadence/ddr_ctrl.c | 1 - drivers/ram/imxrt_sdram.c | 1 - drivers/ram/k3-am654-ddrss.c | 1 - drivers/ram/k3-ddrss/k3-ddrss.c | 1 - drivers/ram/mediatek/ddr3-mt7629.c | 2 +- drivers/ram/mpc83xx_sdram.c | 1 - drivers/ram/ram-uclass.c | 1 - drivers/ram/renesas/rzn1/ddr_async.c | 1 - drivers/ram/rockchip/dmc-rk3368.c | 2 +- drivers/ram/rockchip/sdram_common.c | 2 +- drivers/ram/rockchip/sdram_pctl_px30.c | 1 - drivers/ram/rockchip/sdram_phy_px30.c | 1 - drivers/ram/rockchip/sdram_px30.c | 2 +- drivers/ram/rockchip/sdram_rk3066.c | 2 +- drivers/ram/rockchip/sdram_rk3128.c | 2 +- drivers/ram/rockchip/sdram_rk3188.c | 2 +- drivers/ram/rockchip/sdram_rk322x.c | 2 +- drivers/ram/rockchip/sdram_rk3288.c | 2 +- drivers/ram/rockchip/sdram_rk3308.c | 2 +- drivers/ram/rockchip/sdram_rk3328.c | 2 +- drivers/ram/rockchip/sdram_rk3399.c | 2 +- drivers/ram/rockchip/sdram_rk3568.c | 2 +- drivers/ram/rockchip/sdram_rk3588.c | 2 +- drivers/ram/rockchip/sdram_rv1126.c | 2 +- drivers/ram/sandbox_ram.c | 1 - drivers/ram/sifive/sifive_ddr.c | 1 - drivers/ram/starfive/ddrcsr_boot.c | 1 - drivers/ram/starfive/ddrphy_start.c | 1 - drivers/ram/starfive/ddrphy_train.c | 2 +- drivers/ram/starfive/ddrphy_utils.c | 2 +- drivers/ram/starfive/starfive_ddr.c | 1 - drivers/ram/starfive/starfive_ddr.h | 2 ++ drivers/ram/stm32_sdram.c | 1 - drivers/ram/stm32mp1/stm32mp1_ddr.c | 1 - drivers/ram/stm32mp1/stm32mp1_interactive.c | 1 - drivers/ram/stm32mp1/stm32mp1_ram.c | 1 - drivers/ram/stm32mp1/stm32mp1_tests.c | 1 - drivers/ram/sunxi/dram_sun20i_d1.c | 2 +- 41 files changed, 22 insertions(+), 40 deletions(-)drivers/ram/aspeed/sdram_ast2500.c +1
-1@@ -5,7 +5,7 @@* Copyright 2016 Google, Inc */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/ram/aspeed/sdram_ast2600.c +1
-1@@ -2,7 +2,7 @@/* * Copyright (C) ASPEED Technology Inc. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/ram/bmips_ram.c +0
-1@@ -7,7 +7,6 @@* Copyright (C) 2009 Florian Fainelli <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <init.h> drivers/ram/cadence/ddr_ctrl.c +0
-1@@ -24,7 +24,6 @@* bandwidth allocated to each AXI slave can be set. */ -#include <common.h> #include <linux/delay.h> #include <linux/sizes.h> #include <asm/io.h> drivers/ram/imxrt_sdram.c +0
-1@@ -4,7 +4,6 @@* Author(s): Giulio Benetti <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/ram/k3-am654-ddrss.c +0
-1@@ -6,7 +6,6 @@* Lokesh Vutla <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/ram/k3-ddrss/k3-ddrss.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ */ -#include <common.h> #include <config.h> #include <clk.h> #include <div64.h> drivers/ram/mediatek/ddr3-mt7629.c +1
-1@@ -8,7 +8,7 @@*/ #include <clk.h> -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <asm/io.h> drivers/ram/mpc83xx_sdram.c +0
-1@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <init.h> #include <log.h> drivers/ram/ram-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <ram.h> #include <dm.h> #include <errno.h> drivers/ram/renesas/rzn1/ddr_async.c +0
-1@@ -7,7 +7,6 @@* * Copyright (C) 2015 Renesas Electronics Europe Ltd */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/ram/rockchip/dmc-rk3368.c +1
-1@@ -3,7 +3,7 @@* (C) Copyright 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <hang.h> drivers/ram/rockchip/sdram_common.c +1
-1@@ -3,7 +3,7 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <debug_uart.h> #include <ram.h> #include <asm/io.h> drivers/ram/rockchip/sdram_pctl_px30.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> #include <ram.h> #include <asm/io.h> #include <asm/arch-rockchip/sdram.h> drivers/ram/rockchip/sdram_phy_px30.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> #include <ram.h> #include <asm/io.h> #include <asm/arch-rockchip/sdram.h> drivers/ram/rockchip/sdram_px30.c +1
-1@@ -3,7 +3,7 @@* (C) Copyright 2018 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <debug_uart.h> #include <dm.h> #include <init.h> drivers/ram/rockchip/sdram_rk3066.c +1
-1@@ -6,7 +6,7 @@* Adapted from the very similar rk3188 ddr init. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/ram/rockchip/sdram_rk3128.c +1
-1@@ -3,7 +3,7 @@* (C) Copyright 2017 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <log.h> #include <ram.h> drivers/ram/rockchip/sdram_rk3188.c +1
-1@@ -6,7 +6,7 @@* Adapted from the very similar rk3288 ddr init. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/ram/rockchip/sdram_rk322x.c +1
-1@@ -2,7 +2,7 @@/* * (C) Copyright 2017 Rockchip Electronics Co., Ltd */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/ram/rockchip/sdram_rk3288.c +1
-1@@ -6,7 +6,7 @@* Adapted from coreboot. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/ram/rockchip/sdram_rk3308.c +1
-1@@ -3,7 +3,7 @@* (C) Copyright 2019 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <syscon.h> drivers/ram/rockchip/sdram_rk3328.c +1
-1@@ -2,7 +2,7 @@/* * (C) Copyright 2017 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <debug_uart.h> #include <dm.h> drivers/ram/rockchip/sdram_rk3399.c +1
-1@@ -5,7 +5,7 @@* Adapted from coreboot. */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <dt-structs.h> drivers/ram/rockchip/sdram_rk3568.c +1
-1@@ -3,7 +3,7 @@* (C) Copyright 2021 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <syscon.h> drivers/ram/rockchip/sdram_rk3588.c +1
-1@@ -3,7 +3,7 @@* (C) Copyright 2021 Rockchip Electronics Co., Ltd. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <ram.h> #include <syscon.h> drivers/ram/rockchip/sdram_rv1126.c +1
-1@@ -4,7 +4,7 @@* Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. */ -#include <common.h> +#include <config.h> #include <debug_uart.h> #include <dm.h> #include <ram.h> drivers/ram/sandbox_ram.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <ram.h> drivers/ram/sifive/sifive_ddr.c +0
-1@@ -6,7 +6,6 @@* Pragnesh Patel <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <init.h> drivers/ram/starfive/ddrcsr_boot.c +0
-1@@ -4,7 +4,6 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/arch/regs.h> #include <linux/delay.h> drivers/ram/starfive/ddrphy_start.c +0
-1@@ -4,7 +4,6 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> #include <asm/io.h> #include "starfive_ddr.h" drivers/ram/starfive/ddrphy_train.c +1
-1@@ -4,7 +4,7 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> +#include <linux/kernel.h> #include <asm/io.h> static const u32 ddr_train_data[] = {drivers/ram/starfive/ddrphy_utils.c +1
-1@@ -4,7 +4,7 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> +#include <linux/kernel.h> #include <asm/io.h> static const u32 ddr_phy_data[] = {drivers/ram/starfive/starfive_ddr.c +0
-1@@ -4,7 +4,6 @@* Author: Yanhong Wang<[email protected]> */ -#include <common.h> #include <asm/arch/regs.h> #include <asm/io.h> #include <clk.h> drivers/ram/starfive/starfive_ddr.h +2
-0@@ -7,6 +7,8 @@#ifndef __STARFIVE_DDR_H__#define __STARFIVE_DDR_H__ +#include <linux/kernel.h> +#define SEC_CTRL_ADDR 0x1000#define PHY_BASE_ADDR 0x800#define PHY_AC_BASE_ADDR 0x1000drivers/ram/stm32_sdram.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <clk.h> #include <dm.h> #include <init.h> drivers/ram/stm32mp1/stm32mp1_ddr.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <clk.h> #include <log.h> #include <ram.h> drivers/ram/stm32mp1/stm32mp1_interactive.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <command.h> #include <console.h> #include <cli.h> drivers/ram/stm32mp1/stm32mp1_ram.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <clk.h> #include <dm.h> #include <init.h> drivers/ram/stm32mp1/stm32mp1_tests.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RAM -#include <common.h> #include <console.h> #include <init.h> #include <log.h> drivers/ram/sunxi/dram_sun20i_d1.c +1
-1@@ -13,7 +13,7 @@*/ #include <asm/io.h> -#include <common.h> +#include <config.h> #ifdef CONFIG_RAM #include <dm.h> #include <ram.h>
PATCH 55/81 reboot-mode: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Sean Anderson <[email protected]>
--- drivers/reboot-mode/reboot-mode-gpio.c | 1 - drivers/reboot-mode/reboot-mode-nvmem.c | 1 - drivers/reboot-mode/reboot-mode-rtc.c | 1 - drivers/reboot-mode/reboot-mode-uclass.c | 1 - 4 files changed, 4 deletions(-)
drivers/reboot-mode/reboot-mode-gpio.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c), Vaisala Oyj */ -#include <common.h> #include <asm/gpio.h> #include <dm.h> #include <dm/devres.h>
drivers/reboot-mode/reboot-mode-nvmem.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2022 Sean Anderson <[email protected]> */ -#include <common.h> #include <dm.h> #include <nvmem.h> #include <reboot-mode/reboot-mode.h>
drivers/reboot-mode/reboot-mode-rtc.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c), Vaisala Oyj */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <reboot-mode/reboot-mode-rtc.h>
drivers/reboot-mode/reboot-mode-uclass.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c), Vaisala Oyj */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h>
Signature · 1 line
2.34.1
PATCH 56/81 remoteproc: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Dan Carpenter <[email protected]>
Cc: Ravi Gunasekaran <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: MD Danish Anwar <[email protected]>
--- drivers/remoteproc/ipu_rproc.c | 1 - drivers/remoteproc/k3_system_controller.c | 1 - drivers/remoteproc/pru_rproc.c | 1 - drivers/remoteproc/rproc-elf-loader.c | 1 - drivers/remoteproc/rproc-uclass.c | 1 - drivers/remoteproc/sandbox_testproc.c | 1 - drivers/remoteproc/stm32_copro.c | 1 - drivers/remoteproc/ti_k3_arm64_rproc.c | 1 - drivers/remoteproc/ti_k3_dsp_rproc.c | 1 - drivers/remoteproc/ti_k3_r5f_rproc.c | 1 - drivers/remoteproc/ti_power_proc.c | 1 - 11 files changed, 11 deletions(-)
drivers/remoteproc/ipu_rproc.c +0 -1
@@ -8,7 +8,6 @@* Keerthy <[email protected]> */ -#include <common.h> #include <hang.h> #include <cpu_func.h> #include <dm.h>
drivers/remoteproc/k3_system_controller.c +0 -1
@@ -6,7 +6,6 @@* Lokesh Vutla <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <remoteproc.h>
drivers/remoteproc/pru_rproc.c +0 -1
@@ -6,7 +6,6 @@* Keerthy <[email protected]> */ -#include <common.h> #include <dm.h> #include <elf.h> #include <dm/of_access.h>
drivers/remoteproc/rproc-elf-loader.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <elf.h>
drivers/remoteproc/rproc-uclass.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_REMOTEPROC#define pr_fmt (fmt) "%s: " fmt, __func__ -#include <common.h> #include <elf.h> #include <errno.h> #include <log.h>
drivers/remoteproc/sandbox_testproc.c +0 -1
@@ -4,7 +4,6 @@* Texas Instruments Incorporated - https://www.ti.com/ */ #define pr_fmt (fmt) "%s: " fmt, __func__ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/remoteproc/stm32_copro.c +0 -1
@@ -4,7 +4,6 @@*/ #define LOG_CATEGORY UCLASS_REMOTEPROC -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/remoteproc/ti_k3_arm64_rproc.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <remoteproc.h> #include <errno.h>
drivers/remoteproc/ti_k3_dsp_rproc.c +0 -1
@@ -7,7 +7,6 @@* Suman Anna <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/remoteproc/ti_k3_r5f_rproc.c +0 -1
@@ -7,7 +7,6 @@* Suman Anna <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/remoteproc/ti_power_proc.c +0 -1
@@ -4,7 +4,6 @@* Texas Instruments Incorporated - https://www.ti.com/ */ #define pr_fmt (fmt) "%s: " fmt, __func__ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
Signature · 1 line
2.34.1
PATCH 57/81 reset: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Yang Xiwen <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: John Keeping <[email protected]>
Cc: Etienne Carriere <[email protected]>
Cc: AKASHI Takahiro <[email protected]>
--- drivers/reset/reset-ast2500.c | 1 - drivers/reset/reset-ast2600.c | 1 - drivers/reset/reset-bcm6345.c | 1 - drivers/reset/reset-dra7.c | 1 - drivers/reset/reset-hisilicon.c | 1 - drivers/reset/reset-hsdk.c | 1 - drivers/reset/reset-imx7.c | 1 - drivers/reset/reset-jh7110.c | 1 - drivers/reset/reset-mediatek.c | 1 - drivers/reset/reset-meson.c | 1 - drivers/reset/reset-mtmips.c | 1 - drivers/reset/reset-raspberrypi.c | 1 - drivers/reset/reset-rockchip.c | 1 - drivers/reset/reset-scmi.c | 1 - drivers/reset/reset-sifive.c | 1 - drivers/reset/reset-socfpga.c | 1 - drivers/reset/reset-sunxi.c | 1 - drivers/reset/reset-syscon.c | 1 - drivers/reset/reset-ti-sci.c | 1 - drivers/reset/reset-uclass.c | 1 - drivers/reset/reset-uniphier.c | 1 - drivers/reset/reset-zynqmp.c | 1 - drivers/reset/rst-rk3588.c | 1 - drivers/reset/sandbox-reset-test.c | 1 - drivers/reset/sandbox-reset.c | 1 - drivers/reset/sti-reset.c | 1 - drivers/reset/stm32-reset.c | 1 - drivers/reset/tegra-car-reset.c | 1 - drivers/reset/tegra186-reset.c | 1 - 29 files changed, 29 deletions(-)
drivers/reset/reset-ast2500.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2020 ASPEED Technology Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h>
drivers/reset/reset-ast2600.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2020 ASPEED Technology Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h>
drivers/reset/reset-bcm6345.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2012 Jonas Gorski <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/reset/reset-dra7.c +0 -1
@@ -7,7 +7,6 @@*/ #include <asm/io.h> -#include <common.h> #include <dm.h> #include <reset-uclass.h> #include <dm/device_compat.h>
drivers/reset/reset-hisilicon.c +0 -1
@@ -6,7 +6,6 @@#include <log.h> #include <malloc.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <dt-bindings/reset/ti-syscon.h> #include <reset-uclass.h>
drivers/reset/reset-hsdk.c +0 -1
@@ -8,7 +8,6 @@#include <log.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <linux/bitops.h> #include <linux/iopoll.h>
drivers/reset/reset-imx7.c +0 -1
@@ -6,7 +6,6 @@#include <log.h> #include <malloc.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <dt-bindings/reset/imx7-reset.h> #include <dt-bindings/reset/imx8mp-reset.h>
drivers/reset/reset-jh7110.c +0 -1
@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <dm/ofnode.h> #include <dt-bindings/reset/starfive,jh7110-crg.h>
drivers/reset/reset-mediatek.c +0 -1
@@ -6,7 +6,6 @@* Weijie Gao <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/reset-meson.c +0 -1
@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/reset-mtmips.c +0 -1
@@ -5,7 +5,6 @@* Author: Weijie Gao <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/reset/reset-raspberrypi.c +0 -1
@@ -4,7 +4,6 @@* * Copyright (C) 2020 Nicolas Saenz Julienne <[email protected]> */ -#include <common.h> #include <dm.h> #include <reset-uclass.h> #include <asm/arch/msg.h>
drivers/reset/reset-rockchip.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2017 Rockchip Electronics Co., Ltd */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/reset-scmi.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <errno.h> #include <reset-uclass.h>
drivers/reset/reset-sifive.c +0 -1
@@ -4,7 +4,6 @@* Author: Sagar Kadam <[email protected]> */ -#include <common.h> #include <dm.h> #include <reset-uclass.h> #include <asm/io.h>
drivers/reset/reset-socfpga.c +0 -1
@@ -12,7 +12,6 @@* Maxime Ripard <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/reset-sunxi.c +0 -1
@@ -4,7 +4,6 @@* Author: Jagan Teki <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/reset/reset-syscon.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2020 Sean Anderson */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <reset.h>
drivers/reset/reset-ti-sci.c +0 -1
@@ -8,7 +8,6 @@* Loosely based on Linux kernel reset-ti-sci.c... */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/reset/reset-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h>
drivers/reset/reset-uniphier.c +0 -1
@@ -5,7 +5,6 @@* Author: Kunihiko Hayashi <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/reset-zynqmp.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <reset-uclass.h>
drivers/reset/rst-rk3588.c +0 -1
@@ -5,7 +5,6 @@* Author: Sebastian Reichel <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/arch-rockchip/clock.h> #include <dt-bindings/reset/rockchip,rk3588-cru.h>
drivers/reset/sandbox-reset-test.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/sandbox-reset.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/sti-reset.c +0 -1
@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h>
drivers/reset/stm32-reset.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/reset/tegra-car-reset.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/reset/tegra186-reset.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
Signature · 1 line
2.34.1
Re: [PATCH 57/81] reset: Remove <common.h> and add needed includes
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 409 lines
---
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Yang Xiwen <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: John Keeping <[email protected]>
Cc: Etienne Carriere <[email protected]>
Cc: AKASHI Takahiro <[email protected]>--- drivers/reset/reset-ast2500.c | 1 - drivers/reset/reset-ast2600.c | 1 - drivers/reset/reset-bcm6345.c | 1 - drivers/reset/reset-dra7.c | 1 - drivers/reset/reset-hisilicon.c | 1 - drivers/reset/reset-hsdk.c | 1 - drivers/reset/reset-imx7.c | 1 - drivers/reset/reset-jh7110.c | 1 - drivers/reset/reset-mediatek.c | 1 - drivers/reset/reset-meson.c | 1 - drivers/reset/reset-mtmips.c | 1 - drivers/reset/reset-raspberrypi.c | 1 - drivers/reset/reset-rockchip.c | 1 - drivers/reset/reset-scmi.c | 1 - drivers/reset/reset-sifive.c | 1 - drivers/reset/reset-socfpga.c | 1 - drivers/reset/reset-sunxi.c | 1 - drivers/reset/reset-syscon.c | 1 - drivers/reset/reset-ti-sci.c | 1 - drivers/reset/reset-uclass.c | 1 - drivers/reset/reset-uniphier.c | 1 - drivers/reset/reset-zynqmp.c | 1 - drivers/reset/rst-rk3588.c | 1 - drivers/reset/sandbox-reset-test.c | 1 - drivers/reset/sandbox-reset.c | 1 - drivers/reset/sti-reset.c | 1 - drivers/reset/stm32-reset.c | 1 - drivers/reset/tegra-car-reset.c | 1 - drivers/reset/tegra186-reset.c | 1 - 29 files changed, 29 deletions(-)drivers/reset/reset-ast2500.c +0
-1@@ -4,7 +4,6 @@* Copyright 2020 ASPEED Technology Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> drivers/reset/reset-ast2600.c +0
-1@@ -3,7 +3,6 @@* Copyright 2020 ASPEED Technology Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> drivers/reset/reset-bcm6345.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2012 Jonas Gorski <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/reset/reset-dra7.c +0
-1@@ -7,7 +7,6 @@*/ #include <asm/io.h> -#include <common.h> #include <dm.h> #include <reset-uclass.h> #include <dm/device_compat.h> drivers/reset/reset-hisilicon.c +0
-1@@ -6,7 +6,6 @@#include <log.h> #include <malloc.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <dt-bindings/reset/ti-syscon.h> #include <reset-uclass.h> drivers/reset/reset-hsdk.c +0
-1@@ -8,7 +8,6 @@#include <log.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <linux/bitops.h> #include <linux/iopoll.h> drivers/reset/reset-imx7.c +0
-1@@ -6,7 +6,6 @@#include <log.h> #include <malloc.h> #include <asm/io.h> -#include <common.h> #include <dm.h> #include <dt-bindings/reset/imx7-reset.h> #include <dt-bindings/reset/imx8mp-reset.h> drivers/reset/reset-jh7110.c +0
-1@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <dm/ofnode.h> #include <dt-bindings/reset/starfive,jh7110-crg.h> drivers/reset/reset-mediatek.c +0
-1@@ -6,7 +6,6 @@* Weijie Gao <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/reset-meson.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/reset-mtmips.c +0
-1@@ -5,7 +5,6 @@* Author: Weijie Gao <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/reset/reset-raspberrypi.c +0
-1@@ -4,7 +4,6 @@* * Copyright (C) 2020 Nicolas Saenz Julienne <[email protected]> */ -#include <common.h> #include <dm.h> #include <reset-uclass.h> #include <asm/arch/msg.h> drivers/reset/reset-rockchip.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2017 Rockchip Electronics Co., Ltd */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/reset-scmi.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <errno.h> #include <reset-uclass.h> drivers/reset/reset-sifive.c +0
-1@@ -4,7 +4,6 @@* Author: Sagar Kadam <[email protected]> */ -#include <common.h> #include <dm.h> #include <reset-uclass.h> #include <asm/io.h> drivers/reset/reset-socfpga.c +0
-1@@ -12,7 +12,6 @@* Maxime Ripard <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/reset-sunxi.c +0
-1@@ -4,7 +4,6 @@* Author: Jagan Teki <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/reset/reset-syscon.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 Sean Anderson */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <reset.h> drivers/reset/reset-ti-sci.c +0
-1@@ -8,7 +8,6 @@* Loosely based on Linux kernel reset-ti-sci.c... */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/reset/reset-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/reset/reset-uniphier.c +0
-1@@ -5,7 +5,6 @@* Author: Kunihiko Hayashi <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/reset-zynqmp.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <reset-uclass.h> drivers/reset/rst-rk3588.c +0
-1@@ -5,7 +5,6 @@* Author: Sebastian Reichel <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/arch-rockchip/clock.h> #include <dt-bindings/reset/rockchip,rk3588-cru.h> drivers/reset/sandbox-reset-test.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/sandbox-reset.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/sti-reset.c +0
-1@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <errno.h> #include <log.h> #include <malloc.h> drivers/reset/stm32-reset.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_RESET -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/reset/tegra-car-reset.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/reset/tegra186-reset.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016, NVIDIA CORPORATION. */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
PATCH 58/81 rtc: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Ilias Apalodimas <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Michal Simek <[email protected]>
--- drivers/rtc/abx80x.c | 1 - drivers/rtc/davinci.c | 1 - drivers/rtc/ds1307.c | 2 +- drivers/rtc/ds1337.c | 2 +- drivers/rtc/ds1374.c | 2 +- drivers/rtc/ds3231.c | 2 +- drivers/rtc/ds3232.c | 1 - drivers/rtc/emul_rtc.c | 2 +- drivers/rtc/ht1380.c | 1 - drivers/rtc/i2c_rtc_emul.c | 1 - drivers/rtc/isl1208.c | 1 - drivers/rtc/m41t62.c | 2 +- drivers/rtc/mc13xxx-rtc.c | 1 - drivers/rtc/mc146818.c | 1 - drivers/rtc/mcfrtc.c | 1 - drivers/rtc/mvrtc.c | 1 - drivers/rtc/mxsrtc.c | 1 - drivers/rtc/pcf2127.c | 1 - drivers/rtc/pcf8563.c | 2 +- drivers/rtc/pl031.c | 1 - drivers/rtc/pt7c4338.c | 2 +- drivers/rtc/rtc-uclass.c | 1 - drivers/rtc/rv3029.c | 1 - drivers/rtc/rv8803.c | 1 - drivers/rtc/rx8010sj.c | 2 +- drivers/rtc/rx8025.c | 1 - drivers/rtc/s35392a.c | 1 - drivers/rtc/sandbox_rtc.c | 1 - drivers/rtc/stm32_rtc.c | 1 - drivers/rtc/zynqmp_rtc.c | 1 - 30 files changed, 9 insertions(+), 30 deletions(-)
drivers/rtc/abx80x.c +0 -1
@@ -12,7 +12,6 @@* */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <rtc.h>
drivers/rtc/davinci.c +0 -1
@@ -4,7 +4,6 @@* Heiko Schocher <[email protected]> * Copyright (C) 2021 Dario Binacchi <[email protected]> */ -#include <common.h> #include <command.h> #include <dm.h> #include <clk.h>
drivers/rtc/ds1307.c +1 -1
@@ -13,7 +13,7 @@* based on ds1337.c */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/rtc/ds1337.c +1 -1
@@ -11,7 +11,7 @@* DS1337 Real Time Clock (RTC). */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/rtc/ds1374.c +1 -1
@@ -13,7 +13,7 @@* based on ds1337.c */ -#include <common.h> +#include <config.h> #include <command.h> #include <rtc.h> #include <i2c.h>
drivers/rtc/ds3231.c +1 -1
@@ -14,7 +14,7 @@* copied from ds1337.c */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/rtc/ds3232.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2019, Vaisala Oyj */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h>
drivers/rtc/emul_rtc.c +1 -1
@@ -5,11 +5,11 @@* This driver emulates a real time clock based on timer ticks. */ -#include <common.h> #include <div64.h> #include <dm.h> #include <env.h> #include <rtc.h> +#include <time.h> #include <timestamp.h> /**
drivers/rtc/ht1380.c +0 -1
@@ -15,7 +15,6 @@* */ -#include <common.h> #include <dm.h> #include <rtc.h> #include <bcd.h>
drivers/rtc/i2c_rtc_emul.c +0 -1
@@ -13,7 +13,6 @@* time-keeping. It does not change the system time. */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/rtc/isl1208.c +0 -1
@@ -11,7 +11,6 @@* ISL1208 Real Time Clock (RTC). */ -#include <common.h> #include <command.h> #include <dm.h> #include <rtc.h>
drivers/rtc/m41t62.c +1 -1
@@ -16,7 +16,7 @@/* #define DEBUG */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/rtc/mc13xxx-rtc.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2008, Guennadi Liakhovetski <[email protected]> */ -#include <common.h> #include <rtc.h> #include <spi.h> #include <power/pmic.h>
drivers/rtc/mc146818.c +0 -1
@@ -8,7 +8,6 @@* Date & Time support for the MC146818 (PIXX4) RTC */ -#include <common.h> #include <command.h> #include <dm.h> #include <rtc.h>
drivers/rtc/mcfrtc.c +0 -1
@@ -4,7 +4,6 @@* TsiChung Liew ([email protected]) */ -#include <common.h> #include <command.h> #include <rtc.h>
drivers/rtc/mvrtc.c +0 -1
@@ -8,7 +8,6 @@* Date & Time support for Marvell Integrated RTC */ -#include <common.h> #include <command.h> #include <dm.h> #include <rtc.h>
drivers/rtc/mxsrtc.c +0 -1
@@ -6,7 +6,6 @@* on behalf of DENX Software Engineering GmbH */ -#include <common.h> #include <rtc.h> #include <asm/io.h> #include <asm/arch/imx-regs.h>
drivers/rtc/pcf2127.c +0 -1
@@ -5,7 +5,6 @@/* #define DEBUG */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h>
drivers/rtc/pcf8563.c +1 -1
@@ -10,7 +10,7 @@/* #define DEBUG */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/rtc/pl031.c +0 -1
@@ -6,7 +6,6 @@* reference linux-2.6.20.6/drivers/rtc/rtc-pl031.c */ -#include <common.h> #include <command.h> #include <dm.h> #include <errno.h>
drivers/rtc/pt7c4338.c +1 -1
@@ -18,7 +18,7 @@* It has 56 bytes of nonvolatile RAM. */ -#include <common.h> +#include <config.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/rtc/rtc-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_RTC -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/rtc/rv3029.c +0 -1
@@ -7,7 +7,6 @@* Michael Buesch <[email protected]> */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h>
drivers/rtc/rv8803.c +0 -1
@@ -10,7 +10,6 @@* */ -#include <common.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/rtc/rx8010sj.c +1 -1
@@ -17,7 +17,7 @@*/ #include <command.h> -#include <common.h> +#include <config.h> #include <dm.h> #include <i2c.h> #include <rtc.h>
drivers/rtc/rx8025.c +0 -1
@@ -8,7 +8,6 @@* Epson RX8025 RTC driver. */ -#include <common.h> #include <command.h> #include <dm.h> #include <i2c.h>
drivers/rtc/s35392a.c +0 -1
@@ -18,7 +18,6 @@*/ #include <command.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <linux/bitrev.h>
drivers/rtc/sandbox_rtc.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <rtc.h>
drivers/rtc/stm32_rtc.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RTC -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h>
drivers/rtc/zynqmp_rtc.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_RTC -#include <common.h> #include <dm.h> #include <rtc.h> #include <asm/io.h>
Signature · 1 line
2.34.1
PATCH 59/81 scsi: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Simon Glass <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Nikita Yushchenko <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Bin Meng <[email protected]>
--- drivers/scsi/sandbox_scsi.c | 1 - drivers/scsi/scsi-uclass.c | 1 - drivers/scsi/scsi.c | 1 - drivers/scsi/scsi_bootdev.c | 1 - drivers/scsi/scsi_emul.c | 1 - 5 files changed, 5 deletions(-)
drivers/scsi/sandbox_scsi.c +0 -1
@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_SCSI -#include <common.h> #include <dm.h> #include <os.h> #include <malloc.h>
drivers/scsi/scsi-uclass.c +0 -1
@@ -10,7 +10,6 @@#define LOG_CATEGORY UCLASS_SCSI -#include <common.h> #include <dm.h> #include <scsi.h>
drivers/scsi/scsi.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SCSI -#include <common.h> #include <blk.h> #include <bootdev.h> #include <bootstage.h>
drivers/scsi/scsi_bootdev.c +0 -1
@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <bootdev.h> #include <dm.h> #include <init.h>
drivers/scsi/scsi_emul.c +0 -1
@@ -11,7 +11,6 @@#define LOG_CATEGORY UCLASS_SCSI -#include <common.h> #include <dm.h> #include <log.h> #include <scsi.h>
Signature · 1 line
2.34.1
PATCH 60/81 serial: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: This contributor prefers not to receive mails <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Anastasiia Lukianenko <[email protected]>
Cc: Oleksandr Andrushchenko <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Venkatesh Yadav Abbarapu <[email protected]>
Cc: Maksim Kiselev <[email protected]>
Cc: Algapally Santosh Sagar <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: "Sébastien Szymanski" <[email protected]>
Cc: Ye Li <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Sam Shih <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Yang Xiwen <[email protected]>
--- drivers/serial/altera_jtag_uart.c | 1 - drivers/serial/altera_uart.c | 1 - drivers/serial/arm_dcc.c | 1 - drivers/serial/atmel_usart.c | 1 - drivers/serial/ns16550.c | 2 +- drivers/serial/sandbox.c | 1 - drivers/serial/serial-uclass.c | 2 +- drivers/serial/serial.c | 2 +- drivers/serial/serial_ar933x.c | 1 - drivers/serial/serial_arc.c | 1 - drivers/serial/serial_bcm283x_mu.c | 1 - drivers/serial/serial_bcm283x_pl011.c | 1 - drivers/serial/serial_coreboot.c | 1 - drivers/serial/serial_cortina.c | 1 - drivers/serial/serial_efi.c | 1 - drivers/serial/serial_htif.c | 1 - drivers/serial/serial_intel_mid.c | 1 - drivers/serial/serial_linflexuart.c | 1 - drivers/serial/serial_lpuart.c | 1 - drivers/serial/serial_mcf.c | 1 - drivers/serial/serial_meson.c | 1 - drivers/serial/serial_mpc8xx.c | 1 - drivers/serial/serial_msm.c | 1 - drivers/serial/serial_msm_geni.c | 1 - drivers/serial/serial_mtk.c | 2 +- drivers/serial/serial_mvebu_a3700.c | 1 - drivers/serial/serial_mxc.c | 1 - drivers/serial/serial_mxs.c | 1 - drivers/serial/serial_npcm.c | 1 - drivers/serial/serial_ns16550.c | 2 +- drivers/serial/serial_nulldev.c | 1 - drivers/serial/serial_omap.c | 2 +- drivers/serial/serial_owl.c | 1 - drivers/serial/serial_pic32.c | 1 - drivers/serial/serial_pl01x.c | 1 - drivers/serial/serial_rockchip.c | 1 - drivers/serial/serial_s5p4418_pl011.c | 1 - drivers/serial/serial_semihosting.c | 1 - drivers/serial/serial_sifive.c | 1 - drivers/serial/serial_sti_asc.c | 1 - drivers/serial/serial_stm32.c | 1 - drivers/serial/serial_uniphier.c | 1 - drivers/serial/serial_xen.c | 1 - drivers/serial/serial_xuartlite.c | 1 - drivers/serial/serial_zynq.c | 1 - drivers/serial/usbtty.c | 1 - 46 files changed, 6 insertions(+), 46 deletions(-)
drivers/serial/altera_jtag_uart.c +0 -1
@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <serial.h>
drivers/serial/altera_uart.c +0 -1
@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <serial.h>
drivers/serial/arm_dcc.c +0 -1
@@ -15,7 +15,6 @@* this file might be covered by the GNU General Public License. */ -#include <common.h> #include <dm.h> #include <serial.h>
drivers/serial/atmel_usart.c +0 -1
@@ -5,7 +5,6 @@* Modified to support C structur SoC access by * Andreas Bießmann <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/serial/ns16550.c +1 -1
@@ -5,7 +5,7 @@*/ #include <clock_legacy.h> -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/serial/sandbox.c +0 -1
@@ -9,7 +9,6 @@* U-Boot. */ -#include <common.h> #include <console.h> #include <dm.h> #include <os.h>
drivers/serial/serial-uclass.c +1 -1
@@ -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>
drivers/serial/serial.c +1 -1
@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <env_internal.h> #include <hang.h> #include <serial.h>
drivers/serial/serial_ar933x.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015-2016 Wills Wang <[email protected]> */ -#include <common.h> #include <clock_legacy.h> #include <dm.h> #include <div64.h>
drivers/serial/serial_arc.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <serial.h> #include <asm/global_data.h>
drivers/serial/serial_bcm283x_mu.c +0 -1
@@ -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>
drivers/serial/serial_bcm283x_pl011.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2018 Alexander Graf <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <dm/pinctrl.h>
drivers/serial/serial_coreboot.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATGEGORY UCLASS_SERIAL -#include <common.h> #include <dm.h> #include <log.h> #include <ns16550.h>
drivers/serial/serial_cortina.c +0 -1
@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h>
drivers/serial/serial_efi.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <efi.h>
drivers/serial/serial_htif.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2022 Ventana Micro Systems Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/serial/serial_intel_mid.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <ns16550.h> #include <serial.h>
drivers/serial/serial_linflexuart.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2013-2016 Freescale Semiconductor, Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h>
drivers/serial/serial_lpuart.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> #include <clock_legacy.h> #include <clk.h> #include <dm.h>
drivers/serial/serial_mcf.c +0 -1
@@ -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>
drivers/serial/serial_meson.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2016 Beniamino Galvani <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/serial/serial_mpc8xx.c +0 -1
@@ -4,7 +4,6 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <command.h> #include <dm.h> #include <serial.h>
drivers/serial/serial_msm.c +0 -1
@@ -8,7 +8,6 @@* Based on Linux driver. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/serial/serial_msm_geni.c +0 -1
@@ -9,7 +9,6 @@#include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/delay.h>
drivers/serial/serial_mtk.c +1 -1
@@ -7,7 +7,7 @@*/ #include <clk.h> -#include <common.h> +#include <config.h> #include <div64.h> #include <dm.h> #include <dm/device_compat.h>
drivers/serial/serial_mvebu_a3700.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2021 Pali Rohár <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <serial.h>
drivers/serial/serial_mxc.c +0 -1
@@ -3,7 +3,6 @@* (c) 2007 Sascha Hauer <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h>
drivers/serial/serial_mxs.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright (C) 2023 Marek Vasut <[email protected]> */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <serial.h>
drivers/serial/serial_npcm.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <serial.h>
drivers/serial/serial_ns16550.c +1 -1
@@ -4,7 +4,7 @@* Rob Taylor, Flying Pig Systems. [email protected]. */ -#include <common.h> +#include <config.h> #include <clock_legacy.h> #include <ns16550.h> #include <serial.h>
drivers/serial/serial_nulldev.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2015 National Instruments */ -#include <common.h> #include <dm.h> #include <serial.h>
drivers/serial/serial_omap.c +1 -1
@@ -6,7 +6,7 @@* Lokesh Vutla <[email protected]> */ -#include <common.h> +#include <config.h> #include <dm.h> #include <dt-structs.h> #include <log.h>
drivers/serial/serial_owl.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2018 Manivannan Sadhasivam <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/serial/serial_pic32.c +0 -1
@@ -3,7 +3,6 @@* (c) 2015 Paul Thacker <[email protected]> * */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h>
drivers/serial/serial_pl01x.c +0 -1
@@ -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>
drivers/serial/serial_rockchip.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <dt-structs.h>
drivers/serial/serial_s5p4418_pl011.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2022 Stefan Bosch <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/arch/clk.h> #include <asm/arch/reset.h>
drivers/serial/serial_semihosting.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2022 Sean Anderson <[email protected]> */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <serial.h>
drivers/serial/serial_sifive.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2018 Anup Patel <[email protected]> */ -#include <common.h> #include <clk.h> #include <debug_uart.h> #include <dm.h>
drivers/serial/serial_sti_asc.c +0 -1
@@ -6,7 +6,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <log.h> #include <serial.h>
drivers/serial/serial_stm32.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SERIAL -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/serial/serial_uniphier.c +0 -1
@@ -5,7 +5,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <linux/bitfield.h> #include <linux/bitops.h>
drivers/serial/serial_xen.c +0 -1
@@ -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>
drivers/serial/serial_xuartlite.c +0 -1
@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h>
drivers/serial/serial_zynq.c +0 -1
@@ -5,7 +5,6 @@*/ #include <clk.h> -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <errno.h>
drivers/serial/usbtty.c +0 -1
@@ -7,7 +7,6 @@* Bryan O'Donoghue, [email protected] */ -#include <common.h> #include <config.h> #include <circbuf.h> #include <env.h>
Signature · 1 line
2.34.1
Re: [PATCH 60/81] serial: Remove <common.h> and add needed includes
Quoted 5 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Looks good.
Quoted 652 lines
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: This contributor prefers not to receive mails <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Anastasiia Lukianenko <[email protected]>
Cc: Oleksandr Andrushchenko <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Venkatesh Yadav Abbarapu <[email protected]>
Cc: Maksim Kiselev <[email protected]>
Cc: Algapally Santosh Sagar <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: "Sébastien Szymanski" <[email protected]>
Cc: Ye Li <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Sam Shih <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Yang Xiwen <[email protected]>--- drivers/serial/altera_jtag_uart.c | 1 - drivers/serial/altera_uart.c | 1 - drivers/serial/arm_dcc.c | 1 - drivers/serial/atmel_usart.c | 1 - drivers/serial/ns16550.c | 2 +- drivers/serial/sandbox.c | 1 - drivers/serial/serial-uclass.c | 2 +- drivers/serial/serial.c | 2 +- drivers/serial/serial_ar933x.c | 1 - drivers/serial/serial_arc.c | 1 - drivers/serial/serial_bcm283x_mu.c | 1 - drivers/serial/serial_bcm283x_pl011.c | 1 - drivers/serial/serial_coreboot.c | 1 - drivers/serial/serial_cortina.c | 1 - drivers/serial/serial_efi.c | 1 - drivers/serial/serial_htif.c | 1 - drivers/serial/serial_intel_mid.c | 1 - drivers/serial/serial_linflexuart.c | 1 - drivers/serial/serial_lpuart.c | 1 - drivers/serial/serial_mcf.c | 1 - drivers/serial/serial_meson.c | 1 - drivers/serial/serial_mpc8xx.c | 1 - drivers/serial/serial_msm.c | 1 - drivers/serial/serial_msm_geni.c | 1 - drivers/serial/serial_mtk.c | 2 +- drivers/serial/serial_mvebu_a3700.c | 1 - drivers/serial/serial_mxc.c | 1 - drivers/serial/serial_mxs.c | 1 - drivers/serial/serial_npcm.c | 1 - drivers/serial/serial_ns16550.c | 2 +- drivers/serial/serial_nulldev.c | 1 - drivers/serial/serial_omap.c | 2 +- drivers/serial/serial_owl.c | 1 - drivers/serial/serial_pic32.c | 1 - drivers/serial/serial_pl01x.c | 1 - drivers/serial/serial_rockchip.c | 1 - drivers/serial/serial_s5p4418_pl011.c | 1 - drivers/serial/serial_semihosting.c | 1 - drivers/serial/serial_sifive.c | 1 - drivers/serial/serial_sti_asc.c | 1 - drivers/serial/serial_stm32.c | 1 - drivers/serial/serial_uniphier.c | 1 - drivers/serial/serial_xen.c | 1 - drivers/serial/serial_xuartlite.c | 1 - drivers/serial/serial_zynq.c | 1 - drivers/serial/usbtty.c | 1 - 46 files changed, 6 insertions(+), 46 deletions(-)drivers/serial/altera_jtag_uart.c +0
-1@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <serial.h> drivers/serial/altera_uart.c +0
-1@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <serial.h> drivers/serial/arm_dcc.c +0
-1@@ -15,7 +15,6 @@* this file might be covered by the GNU General Public License. */ -#include <common.h> #include <dm.h> #include <serial.h> drivers/serial/atmel_usart.c +0
-1@@ -5,7 +5,6 @@* Modified to support C structur SoC access by * Andreas Bießmann <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/ns16550.c +1
-1@@ -5,7 +5,7 @@*/ #include <clock_legacy.h> -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/sandbox.c +0
-1@@ -9,7 +9,6 @@* U-Boot. */ -#include <common.h> #include <console.h> #include <dm.h> #include <os.h> drivers/serial/serial-uclass.c +1
-1@@ -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> drivers/serial/serial.c +1
-1@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <env_internal.h> #include <hang.h> #include <serial.h> drivers/serial/serial_ar933x.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2015-2016 Wills Wang <[email protected]> */ -#include <common.h> #include <clock_legacy.h> #include <dm.h> #include <div64.h> drivers/serial/serial_arc.c +0
-1@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <serial.h> #include <asm/global_data.h> drivers/serial/serial_bcm283x_mu.c +0
-1@@ -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> drivers/serial/serial_bcm283x_pl011.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2018 Alexander Graf <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <dm/pinctrl.h> drivers/serial/serial_coreboot.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATGEGORY UCLASS_SERIAL -#include <common.h> #include <dm.h> #include <log.h> #include <ns16550.h> drivers/serial/serial_cortina.c +0
-1@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h> drivers/serial/serial_efi.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <efi.h> drivers/serial/serial_htif.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Ventana Micro Systems Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/serial/serial_intel_mid.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <ns16550.h> #include <serial.h> drivers/serial/serial_linflexuart.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2013-2016 Freescale Semiconductor, Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h> drivers/serial/serial_lpuart.c +0
-1@@ -4,7 +4,6 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> #include <clock_legacy.h> #include <clk.h> #include <dm.h> drivers/serial/serial_mcf.c +0
-1@@ -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> drivers/serial/serial_meson.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2016 Beniamino Galvani <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/serial/serial_mpc8xx.c +0
-1@@ -4,7 +4,6 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <command.h> #include <dm.h> #include <serial.h> drivers/serial/serial_msm.c +0
-1@@ -8,7 +8,6 @@* Based on Linux driver. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/serial_msm_geni.c +0
-1@@ -9,7 +9,6 @@#include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/delay.h> drivers/serial/serial_mtk.c +1
-1@@ -7,7 +7,7 @@*/ #include <clk.h> -#include <common.h> +#include <config.h> #include <div64.h> #include <dm.h> #include <dm/device_compat.h> drivers/serial/serial_mvebu_a3700.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2021 Pali Rohár <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <serial.h> drivers/serial/serial_mxc.c +0
-1@@ -3,7 +3,6 @@* (c) 2007 Sascha Hauer <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h> drivers/serial/serial_mxs.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (C) 2023 Marek Vasut <[email protected]> */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <serial.h> drivers/serial/serial_npcm.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <serial.h> drivers/serial/serial_ns16550.c +1
-1@@ -4,7 +4,7 @@* Rob Taylor, Flying Pig Systems. [email protected]. */ -#include <common.h> +#include <config.h> #include <clock_legacy.h> #include <ns16550.h> #include <serial.h> drivers/serial/serial_nulldev.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 National Instruments */ -#include <common.h> #include <dm.h> #include <serial.h> drivers/serial/serial_omap.c +1
-1@@ -6,7 +6,7 @@* Lokesh Vutla <[email protected]> */ -#include <common.h> +#include <config.h> #include <dm.h> #include <dt-structs.h> #include <log.h> drivers/serial/serial_owl.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2018 Manivannan Sadhasivam <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/serial_pic32.c +0
-1@@ -3,7 +3,6 @@* (c) 2015 Paul Thacker <[email protected]> * */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/serial/serial_pl01x.c +0
-1@@ -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> drivers/serial/serial_rockchip.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <dt-structs.h> drivers/serial/serial_s5p4418_pl011.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Stefan Bosch <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/arch/clk.h> #include <asm/arch/reset.h> drivers/serial/serial_semihosting.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Sean Anderson <[email protected]> */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <serial.h> drivers/serial/serial_sifive.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2018 Anup Patel <[email protected]> */ -#include <common.h> #include <clk.h> #include <debug_uart.h> #include <dm.h> drivers/serial/serial_sti_asc.c +0
-1@@ -6,7 +6,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <log.h> #include <serial.h> drivers/serial/serial_stm32.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SERIAL -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/serial/serial_uniphier.c +0
-1@@ -5,7 +5,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <linux/bitfield.h> #include <linux/bitops.h> drivers/serial/serial_xen.c +0
-1@@ -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> drivers/serial/serial_xuartlite.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h> drivers/serial/serial_zynq.c +0
-1@@ -5,7 +5,6 @@*/ #include <clk.h> -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <errno.h> drivers/serial/usbtty.c +0
-2@@ -7,7 +7,6 @@* Bryan O'Donoghue, [email protected] */ -#include <common.h> #include <config.h> #include <circbuf.h> #include <env.h> --2.34.1
Re: [PATCH 60/81] serial: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Looks ok, tested on FriendlyElec-Board NanoPC-T2 (s5p4418_nanopi2_defconfig).
Thanks a lot!
Quoted 649 lines
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: This contributor prefers not to receive mails <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: "NXP i.MX U-Boot Team" <[email protected]>
Cc: Manivannan Sadhasivam <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
Cc: Anastasiia Lukianenko <[email protected]>
Cc: Oleksandr Andrushchenko <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Rasmus Villemoes <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Venkatesh Yadav Abbarapu <[email protected]>
Cc: Maksim Kiselev <[email protected]>
Cc: Algapally Santosh Sagar <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: "Sébastien Szymanski" <[email protected]>
Cc: Ye Li <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Sam Shih <[email protected]>
Cc: Jim Liu <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Yang Xiwen <[email protected]>--- drivers/serial/altera_jtag_uart.c | 1 - drivers/serial/altera_uart.c | 1 - drivers/serial/arm_dcc.c | 1 - drivers/serial/atmel_usart.c | 1 - drivers/serial/ns16550.c | 2 +- drivers/serial/sandbox.c | 1 - drivers/serial/serial-uclass.c | 2 +- drivers/serial/serial.c | 2 +- drivers/serial/serial_ar933x.c | 1 - drivers/serial/serial_arc.c | 1 - drivers/serial/serial_bcm283x_mu.c | 1 - drivers/serial/serial_bcm283x_pl011.c | 1 - drivers/serial/serial_coreboot.c | 1 - drivers/serial/serial_cortina.c | 1 - drivers/serial/serial_efi.c | 1 - drivers/serial/serial_htif.c | 1 - drivers/serial/serial_intel_mid.c | 1 - drivers/serial/serial_linflexuart.c | 1 - drivers/serial/serial_lpuart.c | 1 - drivers/serial/serial_mcf.c | 1 - drivers/serial/serial_meson.c | 1 - drivers/serial/serial_mpc8xx.c | 1 - drivers/serial/serial_msm.c | 1 - drivers/serial/serial_msm_geni.c | 1 - drivers/serial/serial_mtk.c | 2 +- drivers/serial/serial_mvebu_a3700.c | 1 - drivers/serial/serial_mxc.c | 1 - drivers/serial/serial_mxs.c | 1 - drivers/serial/serial_npcm.c | 1 - drivers/serial/serial_ns16550.c | 2 +- drivers/serial/serial_nulldev.c | 1 - drivers/serial/serial_omap.c | 2 +- drivers/serial/serial_owl.c | 1 - drivers/serial/serial_pic32.c | 1 - drivers/serial/serial_pl01x.c | 1 - drivers/serial/serial_rockchip.c | 1 - drivers/serial/serial_s5p4418_pl011.c | 1 - drivers/serial/serial_semihosting.c | 1 - drivers/serial/serial_sifive.c | 1 - drivers/serial/serial_sti_asc.c | 1 - drivers/serial/serial_stm32.c | 1 - drivers/serial/serial_uniphier.c | 1 - drivers/serial/serial_xen.c | 1 - drivers/serial/serial_xuartlite.c | 1 - drivers/serial/serial_zynq.c | 1 - drivers/serial/usbtty.c | 1 - 46 files changed, 6 insertions(+), 46 deletions(-)drivers/serial/altera_jtag_uart.c +0
-1@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <serial.h> drivers/serial/altera_uart.c +0
-1@@ -4,7 +4,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <serial.h> drivers/serial/arm_dcc.c +0
-1@@ -15,7 +15,6 @@* this file might be covered by the GNU General Public License. */ -#include <common.h> #include <dm.h> #include <serial.h> drivers/serial/atmel_usart.c +0
-1@@ -5,7 +5,6 @@* Modified to support C structur SoC access by * Andreas Bießmann <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/ns16550.c +1
-1@@ -5,7 +5,7 @@*/ #include <clock_legacy.h> -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/sandbox.c +0
-1@@ -9,7 +9,6 @@* U-Boot. */ -#include <common.h> #include <console.h> #include <dm.h> #include <os.h> drivers/serial/serial-uclass.c +1
-1@@ -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> drivers/serial/serial.c +1
-1@@ -4,7 +4,7 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> +#include <config.h> #include <env_internal.h> #include <hang.h> #include <serial.h> drivers/serial/serial_ar933x.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2015-2016 Wills Wang <[email protected]> */ -#include <common.h> #include <clock_legacy.h> #include <dm.h> #include <div64.h> drivers/serial/serial_arc.c +0
-1@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <serial.h> #include <asm/global_data.h> drivers/serial/serial_bcm283x_mu.c +0
-1@@ -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> drivers/serial/serial_bcm283x_pl011.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2018 Alexander Graf <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/gpio.h> #include <dm/pinctrl.h> drivers/serial/serial_coreboot.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATGEGORY UCLASS_SERIAL -#include <common.h> #include <dm.h> #include <log.h> #include <ns16550.h> drivers/serial/serial_cortina.c +0
-1@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h> drivers/serial/serial_efi.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <efi.h> drivers/serial/serial_htif.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Ventana Micro Systems Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/serial/serial_intel_mid.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <ns16550.h> #include <serial.h> drivers/serial/serial_linflexuart.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2013-2016 Freescale Semiconductor, Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h> drivers/serial/serial_lpuart.c +0
-1@@ -4,7 +4,6 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> #include <clock_legacy.h> #include <clk.h> #include <dm.h> drivers/serial/serial_mcf.c +0
-1@@ -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> drivers/serial/serial_meson.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2016 Beniamino Galvani <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h> drivers/serial/serial_mpc8xx.c +0
-1@@ -4,7 +4,6 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <command.h> #include <dm.h> #include <serial.h> drivers/serial/serial_msm.c +0
-1@@ -8,7 +8,6 @@* Based on Linux driver. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/serial_msm_geni.c +0
-1@@ -9,7 +9,6 @@#include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/delay.h> drivers/serial/serial_mtk.c +1
-1@@ -7,7 +7,7 @@*/ #include <clk.h> -#include <common.h> +#include <config.h> #include <div64.h> #include <dm.h> #include <dm/device_compat.h> drivers/serial/serial_mvebu_a3700.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2021 Pali Rohár <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <serial.h> drivers/serial/serial_mxc.c +0
-1@@ -3,7 +3,6 @@* (c) 2007 Sascha Hauer <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <watchdog.h> drivers/serial/serial_mxs.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (C) 2023 Marek Vasut <[email protected]> */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <serial.h> drivers/serial/serial_npcm.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <serial.h> drivers/serial/serial_ns16550.c +1
-1@@ -4,7 +4,7 @@* Rob Taylor, Flying Pig Systems. [email protected]. */ -#include <common.h> +#include <config.h> #include <clock_legacy.h> #include <ns16550.h> #include <serial.h> drivers/serial/serial_nulldev.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 National Instruments */ -#include <common.h> #include <dm.h> #include <serial.h> drivers/serial/serial_omap.c +1
-1@@ -6,7 +6,7 @@* Lokesh Vutla <[email protected]> */ -#include <common.h> +#include <config.h> #include <dm.h> #include <dt-structs.h> #include <log.h> drivers/serial/serial_owl.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2018 Manivannan Sadhasivam <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h> drivers/serial/serial_pic32.c +0
-1@@ -3,7 +3,6 @@* (c) 2015 Paul Thacker <[email protected]> * */ -#include <common.h> #include <clk.h> #include <dm.h> #include <malloc.h> drivers/serial/serial_pl01x.c +0
-1@@ -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> drivers/serial/serial_rockchip.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <dt-structs.h> drivers/serial/serial_s5p4418_pl011.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Stefan Bosch <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/arch/clk.h> #include <asm/arch/reset.h> drivers/serial/serial_semihosting.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Sean Anderson <[email protected]> */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <serial.h> drivers/serial/serial_sifive.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2018 Anup Patel <[email protected]> */ -#include <common.h> #include <clk.h> #include <debug_uart.h> #include <dm.h> drivers/serial/serial_sti_asc.c +0
-1@@ -6,7 +6,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <log.h> #include <serial.h> drivers/serial/serial_stm32.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SERIAL -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/serial/serial_uniphier.c +0
-1@@ -5,7 +5,6 @@* Author: Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <linux/bitfield.h> #include <linux/bitops.h> drivers/serial/serial_xen.c +0
-1@@ -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> drivers/serial/serial_xuartlite.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h> drivers/serial/serial_zynq.c +0
-1@@ -5,7 +5,6 @@*/ #include <clk.h> -#include <common.h> #include <debug_uart.h> #include <dm.h> #include <errno.h> drivers/serial/usbtty.c +0
-1@@ -7,7 +7,6 @@* Bryan O'Donoghue, [email protected] */ -#include <common.h> #include <config.h> #include <circbuf.h> #include <env.h>
PATCH 61/81 sm: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Neil Armstrong <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Alexey Romanov <[email protected]>
--- drivers/sm/meson-sm.c | 1 - drivers/sm/sandbox-sm.c | 1 - drivers/sm/sm-uclass.c | 1 - 3 files changed, 3 deletions(-)
drivers/sm/meson-sm.c +0 -1
@@ -5,7 +5,6 @@* Author: Alexey Romanov <[email protected]> */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <sm.h>
drivers/sm/sandbox-sm.c +0 -1
@@ -5,7 +5,6 @@* Author: Alexey Romanov <[email protected]> */ -#include <common.h> #include <sm.h> #include <sm-uclass.h> #include <sandbox-sm.h>
drivers/sm/sm-uclass.c +0 -1
@@ -5,7 +5,6 @@* Author: Alexey Romanov <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sm-uclass.h>
Signature · 1 line
2.34.1
PATCH 62/81 smem: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Caleb Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
--- drivers/smem/msm_smem.c | 1 - drivers/smem/sandbox_smem.c | 1 - drivers/smem/smem-uclass.c | 1 - 3 files changed, 3 deletions(-)
drivers/smem/msm_smem.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2018, Ramon Fried <[email protected]> */ -#include <common.h> #include <errno.h> #include <dm.h> #include <asm/global_data.h>
drivers/smem/sandbox_smem.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2018 Ramon Fried <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <smem.h>
drivers/smem/smem-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SMEM -#include <common.h> #include <dm.h> #include <smem.h>
Signature · 1 line
2.34.1
PATCH 63/81 soc: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Apurva Nandan <[email protected]>
Cc: Hari Nagalla <[email protected]>
Cc: Bryan Brattlof <[email protected]>
--- drivers/soc/soc-uclass.c | 1 - drivers/soc/soc_sandbox.c | 1 - drivers/soc/soc_ti_k3.c | 1 - drivers/soc/soc_xilinx_versal.c | 1 - drivers/soc/soc_xilinx_versal_net.c | 1 - drivers/soc/soc_xilinx_zynqmp.c | 1 - drivers/soc/ti/k3-navss-ringacc.c | 1 - drivers/soc/ti/keystone_serdes.c | 1 - drivers/soc/ti/pruss.c | 1 - 9 files changed, 9 deletions(-)
drivers/soc/soc-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SOC -#include <common.h> #include <soc.h> #include <dm.h> #include <errno.h>
drivers/soc/soc_sandbox.c +0 -1
@@ -6,7 +6,6 @@* Dave Gerlach <[email protected]> */ -#include <common.h> #include <dm.h> #include <soc.h>
drivers/soc/soc_ti_k3.c +0 -1
@@ -4,7 +4,6 @@* Dave Gerlach <[email protected]> */ -#include <common.h> #include <dm.h> #include <soc.h>
drivers/soc/soc_xilinx_versal.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2021 Xilinx, Inc. */ -#include <common.h> #include <dm.h> #include <soc.h> #include <zynqmp_firmware.h>
drivers/soc/soc_xilinx_versal_net.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2022, Advanced Micro Devices, Inc. */ -#include <common.h> #include <dm.h> #include <soc.h> #include <zynqmp_firmware.h>
drivers/soc/soc_xilinx_zynqmp.c +0 -1
@@ -9,7 +9,6 @@* Stefan Herbrechtsmeier <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <asm/cache.h>
drivers/soc/ti/k3-navss-ringacc.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <asm/cache.h>
drivers/soc/ti/keystone_serdes.c +0 -1
@@ -7,7 +7,6 @@*/ #include <errno.h> -#include <common.h> #include <asm/io.h> #include <asm/ti-common/keystone_serdes.h> #include <linux/bitops.h>
drivers/soc/ti/pruss.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ */ -#include <common.h> #include <dm.h> #include <dm/of_access.h> #include <errno.h>
Signature · 1 line
2.34.1
Re: [PATCH 63/81] soc: Remove <common.h> and add needed includes
On May 1, 2024 thus sayeth Tom Rini:
Quoted 25 lines
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Apurva Nandan <[email protected]>
Cc: Hari Nagalla <[email protected]>
Cc: Bryan Brattlof <[email protected]>--- drivers/soc/soc-uclass.c | 1 - drivers/soc/soc_sandbox.c | 1 - drivers/soc/soc_ti_k3.c | 1 - drivers/soc/soc_xilinx_versal.c | 1 - drivers/soc/soc_xilinx_versal_net.c | 1 - drivers/soc/soc_xilinx_zynqmp.c | 1 - drivers/soc/ti/k3-navss-ringacc.c | 1 - drivers/soc/ti/keystone_serdes.c | 1 - drivers/soc/ti/pruss.c | 1 - 9 files changed, 9 deletions(-)
...
drivers/soc/soc_ti_k3.c line 9
Quoted 13 lines
drivers/soc/soc_ti_k3.c +0
-1@@ -4,7 +4,6 @@* Dave Gerlach <[email protected]> */ -#include <common.h> #include <dm.h> #include <soc.h>
Thanks Tom!
~Bryan
PATCH 64/81 sound: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
--- drivers/sound/broadwell_i2s.c | 1 - drivers/sound/broadwell_sound.c | 1 - drivers/sound/codec-uclass.c | 1 - drivers/sound/da7219.c | 1 - drivers/sound/hda_codec.c | 1 - drivers/sound/i2s-uclass.c | 1 - drivers/sound/i8254_beep.c | 1 - drivers/sound/ivybridge_sound.c | 1 - drivers/sound/max98088.c | 1 - drivers/sound/max98090.c | 1 - drivers/sound/max98095.c | 1 - drivers/sound/max98357a.c | 1 - drivers/sound/maxim_codec.c | 1 - drivers/sound/rockchip_i2s.c | 1 - drivers/sound/rockchip_sound.c | 1 - drivers/sound/rt5677.c | 1 - drivers/sound/samsung-i2s.c | 2 +- drivers/sound/samsung_sound.c | 1 - drivers/sound/sandbox.c | 1 - drivers/sound/sound-uclass.c | 1 - drivers/sound/sound.c | 2 +- drivers/sound/tegra_ahub.c | 2 +- drivers/sound/tegra_i2s.c | 1 - drivers/sound/tegra_sound.c | 1 - drivers/sound/wm8994.c | 1 - 25 files changed, 3 insertions(+), 25 deletions(-)
drivers/sound/broadwell_i2s.c +0 -1
@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h>
drivers/sound/broadwell_sound.c +0 -1
@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h>
drivers/sound/codec-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_AUDIO_CODEC -#include <common.h> #include <dm.h> #include <audio_codec.h>
drivers/sound/da7219.c +0 -1
@@ -6,7 +6,6 @@* Parts taken from coreboot */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <irq.h>
drivers/sound/hda_codec.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <dm.h> #include <hda_codec.h> #include <log.h>
drivers/sound/i2s-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h>
drivers/sound/i8254_beep.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2018 Google LLC */ -#include <common.h> #include <dm.h> #include <sound.h> #include <asm/i8254.h>
drivers/sound/ivybridge_sound.c +0 -1
@@ -12,7 +12,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <dm.h> #include <hda_codec.h> #include <log.h>
drivers/sound/max98088.c +0 -1
@@ -8,7 +8,6 @@* following the changes made in max98095.c */ -#include <common.h> #include <audio_codec.h> #include <div64.h> #include <dm.h>
drivers/sound/max98090.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2011 Maxim Integrated Products */ -#include <common.h> #include <audio_codec.h> #include <div64.h> #include <dm.h>
drivers/sound/max98095.c +0 -1
@@ -7,7 +7,6 @@* Modified for U-Boot by R. Chandrasekar ([email protected]) */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <div64.h>
drivers/sound/max98357a.c +0 -1
@@ -6,7 +6,6 @@* Parts taken from coreboot */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <log.h>
drivers/sound/maxim_codec.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2011 Maxim Integrated Products */ -#include <common.h> #include <div64.h> #include <i2c.h> #include <i2s.h>
drivers/sound/rockchip_i2s.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h>
drivers/sound/rockchip_sound.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <clk.h> #include <dm.h>
drivers/sound/rt5677.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2c.h>
drivers/sound/samsung-i2s.c +1 -1
@@ -4,11 +4,11 @@* R. Chandrasekar <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> #include <sound.h> +#include <time.h> #include <asm/arch/clk.h> #include <asm/arch/pinmux.h> #include <asm/arch/i2s-regs.h>
drivers/sound/samsung_sound.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h>
drivers/sound/sandbox.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h>
drivers/sound/sound-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h>
drivers/sound/sound.c +1 -1
@@ -4,9 +4,9 @@* R. Chandrasekar <[email protected]> */ -#include <common.h> #include <log.h> #include <sound.h> +#include <linux/string.h> void sound_create_square_wave (uint sample_rate,unsigned short *data,int size,uint freq,uint channels)
drivers/sound/tegra_ahub.c +1 -1
@@ -7,11 +7,11 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> #include <misc.h> +#include <time.h> #include <asm/io.h> #include <asm/arch-tegra/tegra_ahub.h> #include <asm/arch-tegra/tegra_i2s.h>
drivers/sound/tegra_i2s.c +0 -1
@@ -5,7 +5,6 @@*/ #define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h>
drivers/sound/tegra_sound.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h>
drivers/sound/wm8994.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2012 Samsung Electronics * R. Chandrasekar <[email protected]> */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <div64.h>
Signature · 1 line
2.34.1
Re: [PATCH 64/81] sound: Remove <common.h> and add needed includes
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 348 lines
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>--- drivers/sound/broadwell_i2s.c | 1 - drivers/sound/broadwell_sound.c | 1 - drivers/sound/codec-uclass.c | 1 - drivers/sound/da7219.c | 1 - drivers/sound/hda_codec.c | 1 - drivers/sound/i2s-uclass.c | 1 - drivers/sound/i8254_beep.c | 1 - drivers/sound/ivybridge_sound.c | 1 - drivers/sound/max98088.c | 1 - drivers/sound/max98090.c | 1 - drivers/sound/max98095.c | 1 - drivers/sound/max98357a.c | 1 - drivers/sound/maxim_codec.c | 1 - drivers/sound/rockchip_i2s.c | 1 - drivers/sound/rockchip_sound.c | 1 - drivers/sound/rt5677.c | 1 - drivers/sound/samsung-i2s.c | 2 +- drivers/sound/samsung_sound.c | 1 - drivers/sound/sandbox.c | 1 - drivers/sound/sound-uclass.c | 1 - drivers/sound/sound.c | 2 +- drivers/sound/tegra_ahub.c | 2 +- drivers/sound/tegra_i2s.c | 1 - drivers/sound/tegra_sound.c | 1 - drivers/sound/wm8994.c | 1 - 25 files changed, 3 insertions(+), 25 deletions(-)drivers/sound/broadwell_i2s.c +0
-1@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> drivers/sound/broadwell_sound.c +0
-1@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h> drivers/sound/codec-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_AUDIO_CODEC -#include <common.h> #include <dm.h> #include <audio_codec.h> drivers/sound/da7219.c +0
-1@@ -6,7 +6,6 @@* Parts taken from coreboot */ -#include <common.h> #include <dm.h> #include <i2c.h> #include <irq.h> drivers/sound/hda_codec.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <dm.h> #include <hda_codec.h> #include <log.h> drivers/sound/i2s-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h> drivers/sound/i8254_beep.c +0
-1@@ -3,7 +3,6 @@* Copyright 2018 Google LLC */ -#include <common.h> #include <dm.h> #include <sound.h> #include <asm/i8254.h> drivers/sound/ivybridge_sound.c +0
-1@@ -12,7 +12,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <dm.h> #include <hda_codec.h> #include <log.h> drivers/sound/max98088.c +0
-1@@ -8,7 +8,6 @@* following the changes made in max98095.c */ -#include <common.h> #include <audio_codec.h> #include <div64.h> #include <dm.h> drivers/sound/max98090.c +0
-1@@ -5,7 +5,6 @@* Copyright 2011 Maxim Integrated Products */ -#include <common.h> #include <audio_codec.h> #include <div64.h> #include <dm.h> drivers/sound/max98095.c +0
-1@@ -7,7 +7,6 @@* Modified for U-Boot by R. Chandrasekar ([email protected]) */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <div64.h> drivers/sound/max98357a.c +0
-1@@ -6,7 +6,6 @@* Parts taken from coreboot */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <log.h> drivers/sound/maxim_codec.c +0
-1@@ -5,7 +5,6 @@* Copyright 2011 Maxim Integrated Products */ -#include <common.h> #include <div64.h> #include <i2c.h> #include <i2s.h> drivers/sound/rockchip_i2s.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> drivers/sound/rockchip_sound.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <clk.h> #include <dm.h> drivers/sound/rt5677.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2c.h> drivers/sound/samsung-i2s.c +1
-1@@ -4,11 +4,11 @@* R. Chandrasekar <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> #include <sound.h> +#include <time.h> #include <asm/arch/clk.h> #include <asm/arch/pinmux.h> #include <asm/arch/i2s-regs.h> drivers/sound/samsung_sound.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h> drivers/sound/sandbox.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h> drivers/sound/sound-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SOUND -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> drivers/sound/sound.c +1
-1@@ -4,9 +4,9 @@* R. Chandrasekar <[email protected]> */ -#include <common.h> #include <log.h> #include <sound.h> +#include <linux/string.h> void sound_create_square_wave (uint sample_rate,unsigned short *data,int size,uint freq,uint channels)drivers/sound/tegra_ahub.c +1
-1@@ -7,11 +7,11 @@#define LOG_CATEGORY UCLASS_MISC -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> #include <misc.h> +#include <time.h> #include <asm/io.h> #include <asm/arch-tegra/tegra_ahub.h> #include <asm/arch-tegra/tegra_i2s.h> drivers/sound/tegra_i2s.c +0
-1@@ -5,7 +5,6 @@*/ #define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <dm.h> #include <i2s.h> #include <log.h> drivers/sound/tegra_sound.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_I2S -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <i2s.h> drivers/sound/wm8994.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2012 Samsung Electronics * R. Chandrasekar <[email protected]> */ -#include <common.h> #include <audio_codec.h> #include <dm.h> #include <div64.h>
PATCH 65/81 spi: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Jagan Teki <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Lars Povlsen <[email protected]>
Cc: Horatiu Vultur <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Chin-Ting Kuo <[email protected]>
Cc: "Cédric Le Goater" <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Robert Marko <[email protected]>
Cc: Luka Kovacic <[email protected]>
Cc: Luka Perkov <[email protected]>
Cc: Masahisa Kojima <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
--- drivers/spi/altera_spi.c | 1 - drivers/spi/apple_spi.c | 1 - drivers/spi/atcspi200_spi.c | 1 - drivers/spi/ath79_spi.c | 1 - drivers/spi/atmel-quadspi.c | 1 - drivers/spi/atmel_spi.c | 1 - drivers/spi/bcm63xx_hsspi.c | 1 - drivers/spi/bcm63xx_spi.c | 1 - drivers/spi/bcmbca_hsspi.c | 1 - drivers/spi/ca_sflash.c | 1 - drivers/spi/cadence_ospi_versal.c | 1 - drivers/spi/cadence_qspi.c | 1 - drivers/spi/cadence_qspi_apb.c | 1 - drivers/spi/cf_spi.c | 1 - drivers/spi/davinci_spi.c | 2 +- drivers/spi/designware_spi.c | 1 - drivers/spi/exynos_spi.c | 1 - drivers/spi/fsl_dspi.c | 1 - drivers/spi/fsl_espi.c | 2 +- drivers/spi/fsl_qspi.c | 1 - drivers/spi/ich.c | 1 - drivers/spi/iproc_qspi.c | 1 - drivers/spi/kirkwood_spi.c | 2 +- drivers/spi/meson_spifc.c | 1 - drivers/spi/microchip_coreqspi.c | 1 - drivers/spi/mpc8xx_spi.c | 1 - drivers/spi/mpc8xxx_spi.c | 1 - drivers/spi/mscc_bb_spi.c | 1 - drivers/spi/mt7621_spi.c | 1 - drivers/spi/mtk_snfi_spi.c | 1 - drivers/spi/mtk_snor.c | 1 - drivers/spi/mvebu_a3700_spi.c | 1 - drivers/spi/mxc_spi.c | 2 +- drivers/spi/mxs_spi.c | 1 - drivers/spi/npcm_pspi.c | 1 - drivers/spi/nxp_fspi.c | 1 - drivers/spi/omap3_spi.c | 2 +- drivers/spi/pic32_spi.c | 1 - drivers/spi/pl022_spi.c | 1 - drivers/spi/renesas_rpc_spi.c | 1 - drivers/spi/rk_spi.c | 1 - drivers/spi/sandbox_spi.c | 1 - drivers/spi/sh_qspi.c | 1 - drivers/spi/soft_spi.c | 1 - drivers/spi/spi-aspeed-smc.c | 1 - drivers/spi/spi-emul-uclass.c | 1 - drivers/spi/spi-mem.c | 1 - drivers/spi/spi-mxic.c | 1 - drivers/spi/spi-qup.c | 1 - drivers/spi/spi-sifive.c | 1 - drivers/spi/spi-sn-f-ospi.c | 1 - drivers/spi/spi-sunxi.c | 1 - drivers/spi/spi-synquacer.c | 1 - drivers/spi/spi-uclass.c | 1 - drivers/spi/spi.c | 1 - drivers/spi/stm32_qspi.c | 1 - drivers/spi/stm32_spi.c | 1 - drivers/spi/tegra114_spi.c | 1 - drivers/spi/tegra20_sflash.c | 1 - drivers/spi/tegra20_slink.c | 1 - drivers/spi/tegra210_qspi.c | 1 - drivers/spi/ti_qspi.c | 1 - drivers/spi/uniphier_spi.c | 1 - drivers/spi/xilinx_spi.c | 1 - drivers/spi/zynq_qspi.c | 1 - drivers/spi/zynq_spi.c | 1 - drivers/spi/zynqmp_gqspi.c | 1 - 67 files changed, 5 insertions(+), 67 deletions(-)
drivers/spi/altera_spi.c +0 -1
@@ -6,7 +6,6 @@* Copyright (c) 2005-2008 Analog Devices Inc. * Copyright (C) 2010 Thomas Chou <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/spi/apple_spi.c +0 -1
@@ -4,7 +4,6 @@* Copyright The Asahi Linux Contributors */ -#include <common.h> #include <dm.h> #include <clk.h> #include <spi.h>
drivers/spi/atcspi200_spi.c +0 -1
@@ -6,7 +6,6 @@* Author: Rick Chen ([email protected]) */ -#include <common.h> #include <clk.h> #include <log.h> #include <malloc.h>
drivers/spi/ath79_spi.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015-2016 Wills Wang <[email protected]> */ -#include <common.h> #include <clock_legacy.h> #include <spi.h> #include <dm.h>
drivers/spi/atmel-quadspi.c +0 -1
@@ -12,7 +12,6 @@#include <malloc.h> #include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/spi/atmel_spi.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright (C) 2007 Atmel Corporation */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h>
drivers/spi/bcm63xx_hsspi.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2012-2013 Jonas Gorski <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/bcm63xx_spi.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2010 Tanguy Bouzeloc <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/bcmbca_hsspi.c +0 -1
@@ -8,7 +8,6 @@* Copyright (C) 2021 Broadcom Ltd */ -#include <common.h> #include <asm/io.h> #include <clk.h> #include <spi.h>
drivers/spi/ca_sflash.c +0 -1
@@ -7,7 +7,6 @@* Author: PengPeng Chen <[email protected]> */ -#include <common.h> #include <malloc.h> #include <clk.h> #include <dm.h>
drivers/spi/cadence_ospi_versal.c +0 -1
@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <memalign.h> #include <wait_bit.h> #include <asm/io.h>
drivers/spi/cadence_qspi.c +0 -1
@@ -4,7 +4,6 @@* Altera Corporation <www.altera.com> */ -#include <common.h> #include <clk.h> #include <log.h> #include <dm.h>
drivers/spi/cadence_qspi_apb.c +0 -1
@@ -25,7 +25,6 @@* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include <common.h> #include <log.h> #include <asm/io.h> #include <dma.h>
drivers/spi/cf_spi.c +0 -1
@@ -13,7 +13,6 @@* TODO: fsl_dspi.c should work as a driver for the DSPI module. */ -#include <common.h> #include <dm.h> #include <log.h> #include <asm/global_data.h>
drivers/spi/davinci_spi.c +1 -1
@@ -8,7 +8,7 @@* Copyright (C) 2007 Atmel Corporation */ -#include <common.h> +#include <config.h> #include <log.h> #include <spi.h> #include <malloc.h>
drivers/spi/designware_spi.c +0 -1
@@ -11,7 +11,6 @@*/ #define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/spi/exynos_spi.c +0 -1
@@ -4,7 +4,6 @@* Padmavathi Venna <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/spi/fsl_dspi.c +0 -1
@@ -11,7 +11,6 @@#include <asm/global_data.h> #include <linux/math64.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/spi/fsl_espi.c +1 -1
@@ -8,7 +8,7 @@* Chuanhua Han ([email protected]) */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/bitops.h> #include <linux/delay.h>
drivers/spi/fsl_qspi.c +0 -1
@@ -23,7 +23,6 @@* Transition to spi-mem in spi-fsl-qspi.c */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <log.h>
drivers/spi/ich.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <bootstage.h> #include <div64.h> #include <dm.h>
drivers/spi/iproc_qspi.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2020-2021 Broadcom */ -#include <common.h> #include <dm.h> #include <spi.h> #include <spi-mem.h>
drivers/spi/kirkwood_spi.c +1 -1
@@ -7,7 +7,7 @@* Derived from drivers/spi/mpc8xxx_spi.c */ -#include <common.h> +#include <config.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/spi/meson_spifc.c +0 -1
@@ -7,7 +7,6 @@* Amlogic Meson SPI Flash Controller driver */ -#include <common.h> #include <log.h> #include <spi.h> #include <clk.h>
drivers/spi/microchip_coreqspi.c +0 -1
@@ -5,7 +5,6 @@* Naga Sureshkumar Relli <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/mpc8xx_spi.c +0 -1
@@ -16,7 +16,6 @@* */ -#include <common.h> #include <dm.h> #include <malloc.h> #include <mpc8xx.h>
drivers/spi/mpc8xxx_spi.c +0 -1
@@ -4,7 +4,6 @@* With help from the common/soft_spi and arch/powerpc/cpu/mpc8260 drivers */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/spi/mscc_bb_spi.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2018 Microsemi Corporation */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/spi/mt7621_spi.c +0 -1
@@ -8,7 +8,6 @@* Copyright (C) 2014-2015 Felix Fietkau <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/mtk_snfi_spi.c +0 -1
@@ -5,7 +5,6 @@* Author: Weijie Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/spi/mtk_snor.c +0 -1
@@ -7,7 +7,6 @@// Some parts are based on drivers/spi/spi-mtk-nor.c of linux version #include <clk.h> -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device.h>
drivers/spi/mvebu_a3700_spi.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2016 Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/spi/mxc_spi.c +1 -1
@@ -3,7 +3,7 @@* Copyright (C) 2008, Guennadi Liakhovetski <[email protected]> */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/mxs_spi.c +0 -1
@@ -12,7 +12,6 @@* GPIO driven chipselects are not supported. */ -#include <common.h> #include <dm.h> #include <dt-structs.h> #include <cpu_func.h>
drivers/spi/npcm_pspi.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology. */ -#include <common.h> #include <dm.h> #include <spi.h> #include <clk.h>
drivers/spi/nxp_fspi.c +0 -1
@@ -33,7 +33,6 @@* Frieder Schrempf <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/spi/omap3_spi.c +1 -1
@@ -16,9 +16,9 @@* Modified by Ruslan Araslanov <[email protected]> */ -#include <common.h> #include <dm.h> #include <spi.h> +#include <time.h> #include <malloc.h> #include <asm/global_data.h> #include <asm/io.h>
drivers/spi/pic32_spi.c +0 -1
@@ -6,7 +6,6 @@* Purna Chandra Mandal <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/pl022_spi.c +0 -1
@@ -10,7 +10,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <fdtdec.h>
drivers/spi/renesas_rpc_spi.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2018 Marek Vasut <[email protected]> */ -#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <clk.h>
drivers/spi/rk_spi.c +0 -1
@@ -10,7 +10,6 @@* Peter, Software Engineering, <[email protected]>. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dt-structs.h>
drivers/spi/sandbox_spi.c +0 -1
@@ -10,7 +10,6 @@#define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/spi/sh_qspi.c +0 -1
@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <console.h> #include <malloc.h> #include <spi.h>
drivers/spi/soft_spi.c +0 -1
@@ -9,7 +9,6 @@* Wolfgang Denk, DENX Software Engineering, [email protected]. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/spi/spi-aspeed-smc.c +0 -1
@@ -12,7 +12,6 @@#include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/bitops.h>
drivers/spi/spi-emul-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SPI_EMUL -#include <common.h> #include <dm.h> #include <spi.h> #include <spi_flash.h>
drivers/spi/spi-mem.c +0 -1
@@ -13,7 +13,6 @@#include <linux/pm_runtime.h> #include "internals.h" #else -#include <common.h> #include <dm.h> #include <errno.h> #include <malloc.h>
drivers/spi/spi-mxic.c +0 -1
@@ -6,7 +6,6 @@* zhengxunli <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/spi/spi-qup.c +0 -1
@@ -15,7 +15,6 @@#include <asm/gpio.h> #include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/delay.h>
drivers/spi/spi-sifive.c +0 -1
@@ -6,7 +6,6 @@* SiFive SPI controller driver (master mode only) */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <malloc.h>
drivers/spi/spi-sn-f-ospi.c +0 -1
@@ -5,7 +5,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/bitfield.h>
drivers/spi/spi-sunxi.c +0 -1
@@ -18,7 +18,6 @@* SPDX-License-Identifier: GPL-2.0+ */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/spi-synquacer.c +0 -1
@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <log.h> #include <time.h>
drivers/spi/spi-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/spi/spi.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <fdtdec.h> #include <malloc.h> #include <spi.h>
drivers/spi/stm32_qspi.c +0 -1
@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/spi/stm32_spi.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <clk.h> #include <dm.h> #include <errno.h>
drivers/spi/tegra114_spi.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2010-2013 NVIDIA Corporation */ -#include <common.h> #include <dm.h> #include <log.h> #include <time.h>
drivers/spi/tegra20_sflash.c +0 -1
@@ -5,7 +5,6 @@* With more help from omap3_spi SPI driver */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/spi/tegra20_slink.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2010-2013 NVIDIA Corporation */ -#include <common.h> #include <dm.h> #include <log.h> #include <time.h>
drivers/spi/tegra210_qspi.c +0 -1
@@ -6,7 +6,6 @@* */ -#include <common.h> #include <dm.h> #include <log.h> #include <time.h>
drivers/spi/ti_qspi.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2013, Texas Instruments, Incorporated */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <asm/cache.h>
drivers/spi/uniphier_spi.c +0 -1
@@ -5,7 +5,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <log.h> #include <time.h>
drivers/spi/xilinx_spi.c +0 -1
@@ -13,7 +13,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/spi/zynq_qspi.c +0 -1
@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <log.h>
drivers/spi/zynq_spi.c +0 -1
@@ -6,7 +6,6 @@* Xilinx Zynq PS SPI controller driver (master mode only) */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <log.h>
drivers/spi/zynqmp_gqspi.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_SPI -#include <common.h> #include <cpu_func.h> #include <log.h> #include <asm/arch/sys_proto.h>
Signature · 1 line
2.34.1
Re: [PATCH 65/81] spi: Remove <common.h> and add needed includes
Quoted 103 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>---
Cc: Jagan Teki <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Lars Povlsen <[email protected]>
Cc: Horatiu Vultur <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Chin-Ting Kuo <[email protected]>
Cc: "Cédric Le Goater" <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Robert Marko <[email protected]>
Cc: Luka Kovacic <[email protected]>
Cc: Luka Perkov <[email protected]>
Cc: Masahisa Kojima <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>--- drivers/spi/altera_spi.c | 1 - drivers/spi/apple_spi.c | 1 - drivers/spi/atcspi200_spi.c | 1 - drivers/spi/ath79_spi.c | 1 - drivers/spi/atmel-quadspi.c | 1 - drivers/spi/atmel_spi.c | 1 - drivers/spi/bcm63xx_hsspi.c | 1 - drivers/spi/bcm63xx_spi.c | 1 - drivers/spi/bcmbca_hsspi.c | 1 - drivers/spi/ca_sflash.c | 1 - drivers/spi/cadence_ospi_versal.c | 1 - drivers/spi/cadence_qspi.c | 1 - drivers/spi/cadence_qspi_apb.c | 1 - drivers/spi/cf_spi.c | 1 - drivers/spi/davinci_spi.c | 2 +- drivers/spi/designware_spi.c | 1 - drivers/spi/exynos_spi.c | 1 - drivers/spi/fsl_dspi.c | 1 - drivers/spi/fsl_espi.c | 2 +- drivers/spi/fsl_qspi.c | 1 - drivers/spi/ich.c | 1 - drivers/spi/iproc_qspi.c | 1 - drivers/spi/kirkwood_spi.c | 2 +- drivers/spi/meson_spifc.c | 1 - drivers/spi/microchip_coreqspi.c | 1 - drivers/spi/mpc8xx_spi.c | 1 - drivers/spi/mpc8xxx_spi.c | 1 - drivers/spi/mscc_bb_spi.c | 1 - drivers/spi/mt7621_spi.c | 1 - drivers/spi/mtk_snfi_spi.c | 1 - drivers/spi/mtk_snor.c | 1 - drivers/spi/mvebu_a3700_spi.c | 1 - drivers/spi/mxc_spi.c | 2 +- drivers/spi/mxs_spi.c | 1 - drivers/spi/npcm_pspi.c | 1 - drivers/spi/nxp_fspi.c | 1 - drivers/spi/omap3_spi.c | 2 +- drivers/spi/pic32_spi.c | 1 - drivers/spi/pl022_spi.c | 1 - drivers/spi/renesas_rpc_spi.c | 1 - drivers/spi/rk_spi.c | 1 - drivers/spi/sandbox_spi.c | 1 - drivers/spi/sh_qspi.c | 1 - drivers/spi/soft_spi.c | 1 - drivers/spi/spi-aspeed-smc.c | 1 - drivers/spi/spi-emul-uclass.c | 1 - drivers/spi/spi-mem.c | 1 - drivers/spi/spi-mxic.c | 1 - drivers/spi/spi-qup.c | 1 - drivers/spi/spi-sifive.c | 1 - drivers/spi/spi-sn-f-ospi.c | 1 - drivers/spi/spi-sunxi.c | 1 - drivers/spi/spi-synquacer.c | 1 - drivers/spi/spi-uclass.c | 1 - drivers/spi/spi.c | 1 - drivers/spi/stm32_qspi.c | 1 - drivers/spi/stm32_spi.c | 1 - drivers/spi/tegra114_spi.c | 1 - drivers/spi/tegra20_sflash.c | 1 - drivers/spi/tegra20_slink.c | 1 -
Quoted 9 lines
drivers/spi/tegra210_qspi.c | 1 - drivers/spi/ti_qspi.c | 1 - drivers/spi/uniphier_spi.c | 1 - drivers/spi/xilinx_spi.c | 1 - drivers/spi/zynq_qspi.c | 1 - drivers/spi/zynq_spi.c | 1 - drivers/spi/zynqmp_gqspi.c | 1 - 67 files changed, 5 insertions(+), 67 deletions(-)
For drivers/spi/bcm63xx_hsspi.c and drivers/spi/bcmbca_hsspi.c
Re: [PATCH 65/81] spi: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 34 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>---
Cc: Jagan Teki <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Anand Gore <[email protected]>
Cc: William Zhang <[email protected]>
Cc: Kursad Oney <[email protected]>
Cc: Joel Peshkin <[email protected]>
Cc: Philippe Reynes <[email protected]>
Cc: Alex Nemirovsky <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Gregory CLEMENT <[email protected]>
Cc: Lars Povlsen <[email protected]>
Cc: Horatiu Vultur <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Chin-Ting Kuo <[email protected]>
Cc: "Cédric Le Goater" <[email protected]>
Cc: Aspeed BMC SW team <[email protected]>
Cc: Ryan Chen <[email protected]>
Cc: Chia-Wei Wang <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Robert Marko <[email protected]>
Cc: Luka Kovacic <[email protected]>
Quoted 8 lines
Cc: Luka Perkov <[email protected]>
Cc: Masahisa Kojima <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Kunihiko Hayashi <[email protected]>
Cc: Dai Okamura <[email protected]>
For spi-aspeed-smc.c,
Thanks,
C.
PATCH 66/81 spmi: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Caleb Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Mateusz Kulikowski <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
--- drivers/spmi/spmi-msm.c | 1 - drivers/spmi/spmi-sandbox.c | 1 - drivers/spmi/spmi-uclass.c | 1 - 3 files changed, 3 deletions(-)
drivers/spmi/spmi-msm.c +0 -1
@@ -7,7 +7,6 @@* Loosely based on Little Kernel driver */ -#include <common.h> #include <dm.h> #include <errno.h> #include <fdtdec.h>
drivers/spmi/spmi-sandbox.c +0 -1
@@ -7,7 +7,6 @@* (C) Copyright 2015 Mateusz Kulikowski <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <spmi/spmi.h>
drivers/spmi/spmi-uclass.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_SPMI -#include <common.h> #include <dm.h> #include <errno.h> #include <spmi/spmi.h>
Signature · 1 line
2.34.1
PATCH 67/81 sysinfo: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Glass <[email protected]>
--- drivers/sysinfo/gazerbeam.c | 1 - drivers/sysinfo/gpio.c | 1 - drivers/sysinfo/rcar3.c | 1 - drivers/sysinfo/sandbox.c | 1 - drivers/sysinfo/smbios.c | 1 - drivers/sysinfo/sysinfo-uclass.c | 1 - 6 files changed, 6 deletions(-)
drivers/sysinfo/gazerbeam.c +0 -1
@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <sysinfo.h> #include <i2c.h>
drivers/sysinfo/gpio.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2021 Sean Anderson <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <sysinfo.h>
drivers/sysinfo/rcar3.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2021 Marek Vasut <[email protected]> */ -#include <common.h> #include <dm.h> #include <i2c_eeprom.h> #include <log.h>
drivers/sysinfo/sandbox.c +0 -1
@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <dm.h> #include <sysinfo.h>
drivers/sysinfo/smbios.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <sysinfo.h>
drivers/sysinfo/sysinfo-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SYSINFO -#include <common.h> #include <dm.h> #include <sysinfo.h>
Signature · 1 line
2.34.1
PATCH 68/81 sysreset: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Rick Chen <[email protected]>
Cc: Leo <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Goldschmidt <[email protected]>
Cc: Tien Fong Chee <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: Paul Barker <[email protected]>
Cc: Bin Meng <[email protected]>
--- drivers/sysreset/poweroff_gpio.c | 1 - drivers/sysreset/sysreset-ti-sci.c | 1 - drivers/sysreset/sysreset-uclass.c | 1 - drivers/sysreset/sysreset_ast.c | 1 - drivers/sysreset/sysreset_at91.c | 1 - drivers/sysreset/sysreset_gpio.c | 1 - drivers/sysreset/sysreset_microblaze.c | 1 - drivers/sysreset/sysreset_mpc83xx.c | 1 - drivers/sysreset/sysreset_octeon.c | 1 - drivers/sysreset/sysreset_psci.c | 1 - drivers/sysreset/sysreset_resetctl.c | 1 - drivers/sysreset/sysreset_rockchip.c | 1 - drivers/sysreset/sysreset_sandbox.c | 1 - drivers/sysreset/sysreset_sbi.c | 1 - drivers/sysreset/sysreset_socfpga.c | 1 - drivers/sysreset/sysreset_socfpga_soc64.c | 1 - drivers/sysreset/sysreset_sti.c | 1 - drivers/sysreset/sysreset_syscon.c | 1 - drivers/sysreset/sysreset_watchdog.c | 1 - drivers/sysreset/sysreset_x86.c | 1 - drivers/sysreset/sysreset_xtfpga.c | 2 +- 21 files changed, 1 insertion(+), 21 deletions(-)
drivers/sysreset/poweroff_gpio.c +0 -1
@@ -11,7 +11,6 @@* Copyright (C) 2012 Jamie Lentin */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/sysreset/sysreset-ti-sci.c +0 -1
@@ -6,7 +6,6 @@* Andreas Dannenberg <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/sysreset/sysreset-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SYSRESET -#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h>
drivers/sysreset/sysreset_ast.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2016 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/sysreset/sysreset_at91.c +0 -1
@@ -7,7 +7,6 @@#include <asm/io.h> #include <asm/arch/at91_rstc.h> #include <clk.h> -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device_compat.h>
drivers/sysreset/sysreset_gpio.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2018 Xilinx, Inc. - Michal Simek */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/sysreset/sysreset_microblaze.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2018 Xilinx, Inc. - Michal Simek */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
drivers/sysreset/sysreset_mpc83xx.c +0 -1
@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <command.h> #include <dm.h> #include <log.h>
drivers/sysreset/sysreset_octeon.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2020 Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
drivers/sysreset/sysreset_psci.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2017 Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <sysreset.h> #include <linux/errno.h>
drivers/sysreset/sysreset_resetctl.c +0 -1
@@ -5,7 +5,6 @@* Author: Weijie Gao <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
drivers/sysreset/sysreset_rockchip.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2017 Rockchip Electronics Co., Ltd */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
drivers/sysreset/sysreset_sandbox.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
drivers/sysreset/sysreset_sbi.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2021, Heinrich Schuchardt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/sysreset/sysreset_socfpga.c +0 -1
@@ -4,7 +4,6 @@* Simon Goldschmidt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
drivers/sysreset/sysreset_socfpga_soc64.c +0 -1
@@ -4,7 +4,6 @@* Simon Goldschmidt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
drivers/sysreset/sysreset_sti.c +0 -1
@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <syscon.h>
drivers/sysreset/sysreset_syscon.c +0 -1
@@ -7,7 +7,6 @@* Author: Feng Kan <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <regmap.h>
drivers/sysreset/sysreset_watchdog.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2017 Álvaro Fernández Rojas <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <errno.h>
drivers/sysreset/sysreset_x86.c +0 -1
@@ -5,7 +5,6 @@* Generic reset driver for x86 processor */ -#include <common.h> #include <dm.h> #include <efi_loader.h> #include <pch.h>
drivers/sysreset/sysreset_xtfpga.c +1 -1
@@ -5,7 +5,7 @@* (C) Copyright 2016 Cadence Design Systems Inc. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
Signature · 1 line
2.34.1
Re: [PATCH 68/81] sysreset: Remove <common.h> and add needed includes
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 295 lines
---
Cc: Tom Rini <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Rick Chen <[email protected]>
Cc: Leo <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Simon Goldschmidt <[email protected]>
Cc: Tien Fong Chee <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Max Filippov <[email protected]>
Cc: Paul Barker <[email protected]>
Cc: Bin Meng <[email protected]>--- drivers/sysreset/poweroff_gpio.c | 1 - drivers/sysreset/sysreset-ti-sci.c | 1 - drivers/sysreset/sysreset-uclass.c | 1 - drivers/sysreset/sysreset_ast.c | 1 - drivers/sysreset/sysreset_at91.c | 1 - drivers/sysreset/sysreset_gpio.c | 1 - drivers/sysreset/sysreset_microblaze.c | 1 - drivers/sysreset/sysreset_mpc83xx.c | 1 - drivers/sysreset/sysreset_octeon.c | 1 - drivers/sysreset/sysreset_psci.c | 1 - drivers/sysreset/sysreset_resetctl.c | 1 - drivers/sysreset/sysreset_rockchip.c | 1 - drivers/sysreset/sysreset_sandbox.c | 1 - drivers/sysreset/sysreset_sbi.c | 1 - drivers/sysreset/sysreset_socfpga.c | 1 - drivers/sysreset/sysreset_socfpga_soc64.c | 1 - drivers/sysreset/sysreset_sti.c | 1 - drivers/sysreset/sysreset_syscon.c | 1 - drivers/sysreset/sysreset_watchdog.c | 1 - drivers/sysreset/sysreset_x86.c | 1 - drivers/sysreset/sysreset_xtfpga.c | 2 +- 21 files changed, 1 insertion(+), 21 deletions(-)drivers/sysreset/poweroff_gpio.c +0
-1@@ -11,7 +11,6 @@* Copyright (C) 2012 Jamie Lentin */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/sysreset/sysreset-ti-sci.c +0
-1@@ -6,7 +6,6 @@* Andreas Dannenberg <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/sysreset/sysreset-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_SYSRESET -#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h> drivers/sysreset/sysreset_ast.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2016 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/sysreset/sysreset_at91.c +0
-1@@ -7,7 +7,6 @@#include <asm/io.h> #include <asm/arch/at91_rstc.h> #include <clk.h> -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device_compat.h> drivers/sysreset/sysreset_gpio.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2018 Xilinx, Inc. - Michal Simek */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/sysreset/sysreset_microblaze.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2018 Xilinx, Inc. - Michal Simek */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h> drivers/sysreset/sysreset_mpc83xx.c +0
-1@@ -4,7 +4,6 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <command.h> #include <dm.h> #include <log.h> drivers/sysreset/sysreset_octeon.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 Stefan Roese <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h> drivers/sysreset/sysreset_psci.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Masahiro Yamada <[email protected]> */ -#include <common.h> #include <dm.h> #include <sysreset.h> #include <linux/errno.h> drivers/sysreset/sysreset_resetctl.c +0
-1@@ -5,7 +5,6 @@* Author: Weijie Gao <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h> drivers/sysreset/sysreset_rockchip.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2017 Rockchip Electronics Co., Ltd */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h> drivers/sysreset/sysreset_sandbox.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h> drivers/sysreset/sysreset_sbi.c +0
-1@@ -3,7 +3,6 @@* Copyright 2021, Heinrich Schuchardt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/sysreset/sysreset_socfpga.c +0
-1@@ -4,7 +4,6 @@* Simon Goldschmidt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h> drivers/sysreset/sysreset_socfpga_soc64.c +0
-1@@ -4,7 +4,6 @@* Simon Goldschmidt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <sysreset.h> drivers/sysreset/sysreset_sti.c +0
-1@@ -4,7 +4,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <dm.h> #include <regmap.h> #include <syscon.h> drivers/sysreset/sysreset_syscon.c +0
-1@@ -7,7 +7,6 @@* Author: Feng Kan <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <regmap.h> drivers/sysreset/sysreset_watchdog.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Álvaro Fernández Rojas <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <errno.h> drivers/sysreset/sysreset_x86.c +0
-1@@ -5,7 +5,6 @@* Generic reset driver for x86 processor */ -#include <common.h> #include <dm.h> #include <efi_loader.h> #include <pch.h> drivers/sysreset/sysreset_xtfpga.c +1
-1@@ -5,7 +5,7 @@* (C) Copyright 2016 Cadence Design Systems Inc. */ -#include <common.h> +#include <config.h> #include <dm.h> #include <errno.h> #include <sysreset.h>
PATCH 69/81 thermal: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Andrejs Cainikovs <[email protected]>
Cc: Ye Li <[email protected]>
Cc: Benjamin Hahn <[email protected]>
--- drivers/thermal/imx_scu_thermal.c | 1 - drivers/thermal/imx_thermal.c | 1 - drivers/thermal/imx_tmu.c | 1 - drivers/thermal/thermal-uclass.c | 1 - drivers/thermal/thermal_sandbox.c | 1 - 5 files changed, 5 deletions(-)
drivers/thermal/imx_scu_thermal.c +0 -1
@@ -4,7 +4,6 @@*/ #include <config.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/thermal/imx_thermal.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <div64.h> #include <fuse.h> #include <log.h>
drivers/thermal/imx_tmu.c +0 -1
@@ -5,7 +5,6 @@*/ #include <config.h> -#include <common.h> #include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/clock.h>
drivers/thermal/thermal-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_THERMAL -#include <common.h> #include <dm.h> #include <thermal.h> #include <errno.h>
drivers/thermal/thermal_sandbox.c +0 -1
@@ -6,7 +6,6 @@* Sandbox driver for the thermal uclass. */ -#include <common.h> #include <dm.h> #include <thermal.h>
Signature · 1 line
2.34.1
PATCH 70/81 timer: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Tom Rini <[email protected]>
Cc: Rick Chen <[email protected]>
Cc: Leo <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Chanho Park <[email protected]>
Cc: Torsten Duwe <[email protected]>
Cc: Kuan Lim Lee <[email protected]>
Cc: Wei Liang Lim <[email protected]>
Cc: Alex Bee <[email protected]>
--- drivers/timer/altera_timer.c | 1 - drivers/timer/andes_plmt_timer.c | 1 - drivers/timer/arc_timer.c | 1 - drivers/timer/arm_global_timer.c | 2 +- drivers/timer/arm_twd_timer.c | 1 - drivers/timer/ast_timer.c | 1 - drivers/timer/atmel_pit_timer.c | 1 - drivers/timer/atmel_tcb_timer.c | 1 - drivers/timer/cadence-ttc.c | 1 - drivers/timer/dw-apb-timer.c | 1 - drivers/timer/fttmr010_timer.c | 1 - drivers/timer/imx-gpt-timer.c | 2 +- drivers/timer/mchp-pit64b-timer.c | 1 - drivers/timer/mpc83xx_timer.c | 2 +- drivers/timer/mtk_timer.c | 1 - drivers/timer/nomadik-mtu-timer.c | 1 - drivers/timer/npcm-timer.c | 1 - drivers/timer/omap-timer.c | 1 - drivers/timer/orion-timer.c | 2 +- drivers/timer/ostm_timer.c | 1 - drivers/timer/riscv_aclint_timer.c | 2 +- drivers/timer/riscv_timer.c | 2 +- drivers/timer/rockchip_timer.c | 1 - drivers/timer/sandbox_timer.c | 1 - drivers/timer/sp804_timer.c | 1 - drivers/timer/starfive-timer.c | 1 - drivers/timer/stm32_timer.c | 2 +- drivers/timer/tegra-timer.c | 1 - drivers/timer/timer-uclass.c | 1 - drivers/timer/tsc_timer.c | 1 - drivers/timer/xilinx-timer.c | 1 - 31 files changed, 7 insertions(+), 31 deletions(-)
drivers/timer/altera_timer.c +0 -1
@@ -7,7 +7,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h>
drivers/timer/andes_plmt_timer.c +0 -1
@@ -8,7 +8,6 @@* associated with timer tick. */ -#include <common.h> #include <dm.h> #include <timer.h> #include <asm/io.h>
drivers/timer/arc_timer.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016 Synopsys, Inc. All rights reserved. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h>
drivers/timer/arm_global_timer.c +1 -1
@@ -6,7 +6,7 @@* ARM Cortext A9 global timer driver */ -#include <common.h> +#include <config.h> #include <dm.h> #include <clk.h> #include <timer.h>
drivers/timer/arm_twd_timer.c +0 -1
@@ -27,7 +27,6 @@* Alex Zuepke <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <timer.h>
drivers/timer/ast_timer.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2016 Google Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h>
drivers/timer/atmel_pit_timer.c +0 -1
@@ -4,7 +4,6 @@* Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h>
drivers/timer/atmel_tcb_timer.c +0 -1
@@ -5,7 +5,6 @@* Author: Clément Léger <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h>
drivers/timer/cadence-ttc.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2018 Xilinx, Inc. (Michal Simek) */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <errno.h>
drivers/timer/dw-apb-timer.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2018 Marek Vasut <[email protected]> */ -#include <common.h> #include <dm.h> #include <clk.h> #include <dt-structs.h>
drivers/timer/fttmr010_timer.c +0 -1
@@ -5,7 +5,6 @@* * 23/08/2022 Port to DM */ -#include <common.h> #include <dm.h> #include <log.h> #include <timer.h>
drivers/timer/imx-gpt-timer.c +1 -1
@@ -4,7 +4,7 @@* Author(s): Giulio Benetti <[email protected]> */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <fdtdec.h>
drivers/timer/mchp-pit64b-timer.c +0 -1
@@ -7,7 +7,6 @@* Author: Claudiu Beznea <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h>
drivers/timer/mpc83xx_timer.c +1 -1
@@ -4,7 +4,7 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <irq_func.h>
drivers/timer/mtk_timer.c +0 -1
@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <timer.h> #include <asm/io.h>
drivers/timer/nomadik-mtu-timer.c +0 -1
@@ -12,7 +12,6 @@* Copyright (C) 2010 Linus Walleij for ST-Ericsson */ -#include <common.h> #include <dm.h> #include <timer.h> #include <asm/io.h>
drivers/timer/npcm-timer.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h>
drivers/timer/omap-timer.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2015, Texas Instruments, Incorporated */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h>
drivers/timer/orion-timer.c +1 -1
@@ -1,6 +1,6 @@// SPDX-License-Identifier: GPL-2.0+ #include <asm/io.h> -#include <common.h> +#include <config.h> #include <div64.h> #include <dm/device.h> #include <dm/fdtaddr.h>
drivers/timer/ostm_timer.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2019 Marek Vasut <[email protected]> */ -#include <common.h> #include <clock_legacy.h> #include <malloc.h> #include <asm/global_data.h>
drivers/timer/riscv_aclint_timer.c +1 -1
@@ -4,7 +4,7 @@* Copyright (C) 2018, Bin Meng <[email protected]> */ -#include <common.h> +#include <config.h> #include <clk.h> #include <div64.h> #include <dm.h>
drivers/timer/riscv_timer.c +1 -1
@@ -10,7 +10,7 @@* This driver provides generic timer support for S-mode U-Boot. */ -#include <common.h> +#include <config.h> #include <div64.h> #include <dm.h> #include <errno.h>
drivers/timer/rockchip_timer.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <init.h>
drivers/timer/sandbox_timer.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015 Thomas Chou <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h>
drivers/timer/sp804_timer.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2022 Arm Ltd. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <init.h>
drivers/timer/starfive-timer.c +0 -1
@@ -4,7 +4,6 @@* Author: Kuan Lim Lee <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <time.h>
drivers/timer/stm32_timer.c +1 -1
@@ -6,7 +6,7 @@#define LOG_CATEGORY UCLASS_TIMER -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <fdtdec.h>
drivers/timer/tegra-timer.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h>
drivers/timer/timer-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_TIMER -#include <common.h> #include <clk.h> #include <cpu.h> #include <dm.h>
drivers/timer/tsc_timer.c +0 -1
@@ -6,7 +6,6 @@* arch/x86/kernel/tsc_msr.c and arch/x86/kernel/tsc.c */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <log.h>
drivers/timer/xilinx-timer.c +0 -1
@@ -7,7 +7,6 @@* Michal SIMEK <[email protected]> */ -#include <common.h> #include <dm.h> #include <timer.h> #include <regmap.h>
Signature · 1 line
2.34.1
Re: [PATCH 70/81] timer: Remove <common.h> and add needed includes
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
Thanks,
- Kever
Quoted 440 lines
---
Cc: Tom Rini <[email protected]>
Cc: Rick Chen <[email protected]>
Cc: Leo <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Eugen Hristev <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Mario Six <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Chanho Park <[email protected]>
Cc: Torsten Duwe <[email protected]>
Cc: Kuan Lim Lee <[email protected]>
Cc: Wei Liang Lim <[email protected]>
Cc: Alex Bee <[email protected]>--- drivers/timer/altera_timer.c | 1 - drivers/timer/andes_plmt_timer.c | 1 - drivers/timer/arc_timer.c | 1 - drivers/timer/arm_global_timer.c | 2 +- drivers/timer/arm_twd_timer.c | 1 - drivers/timer/ast_timer.c | 1 - drivers/timer/atmel_pit_timer.c | 1 - drivers/timer/atmel_tcb_timer.c | 1 - drivers/timer/cadence-ttc.c | 1 - drivers/timer/dw-apb-timer.c | 1 - drivers/timer/fttmr010_timer.c | 1 - drivers/timer/imx-gpt-timer.c | 2 +- drivers/timer/mchp-pit64b-timer.c | 1 - drivers/timer/mpc83xx_timer.c | 2 +- drivers/timer/mtk_timer.c | 1 - drivers/timer/nomadik-mtu-timer.c | 1 - drivers/timer/npcm-timer.c | 1 - drivers/timer/omap-timer.c | 1 - drivers/timer/orion-timer.c | 2 +- drivers/timer/ostm_timer.c | 1 - drivers/timer/riscv_aclint_timer.c | 2 +- drivers/timer/riscv_timer.c | 2 +- drivers/timer/rockchip_timer.c | 1 - drivers/timer/sandbox_timer.c | 1 - drivers/timer/sp804_timer.c | 1 - drivers/timer/starfive-timer.c | 1 - drivers/timer/stm32_timer.c | 2 +- drivers/timer/tegra-timer.c | 1 - drivers/timer/timer-uclass.c | 1 - drivers/timer/tsc_timer.c | 1 - drivers/timer/xilinx-timer.c | 1 - 31 files changed, 7 insertions(+), 31 deletions(-)drivers/timer/altera_timer.c +0
-1@@ -7,7 +7,6 @@* Scott McNutt <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h> drivers/timer/andes_plmt_timer.c +0
-1@@ -8,7 +8,6 @@* associated with timer tick. */ -#include <common.h> #include <dm.h> #include <timer.h> #include <asm/io.h> drivers/timer/arc_timer.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Synopsys, Inc. All rights reserved. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h> drivers/timer/arm_global_timer.c +1
-1@@ -6,7 +6,7 @@* ARM Cortext A9 global timer driver */ -#include <common.h> +#include <config.h> #include <dm.h> #include <clk.h> #include <timer.h> drivers/timer/arm_twd_timer.c +0
-1@@ -27,7 +27,6 @@* Alex Zuepke <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <timer.h> drivers/timer/ast_timer.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Google Inc. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h> drivers/timer/atmel_pit_timer.c +0
-1@@ -4,7 +4,6 @@* Wenyou.Yang <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h> drivers/timer/atmel_tcb_timer.c +0
-1@@ -5,7 +5,6 @@* Author: Clément Léger <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h> drivers/timer/cadence-ttc.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2018 Xilinx, Inc. (Michal Simek) */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <errno.h> drivers/timer/dw-apb-timer.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2018 Marek Vasut <[email protected]> */ -#include <common.h> #include <dm.h> #include <clk.h> #include <dt-structs.h> drivers/timer/fttmr010_timer.c +0
-1@@ -5,7 +5,6 @@* * 23/08/2022 Port to DM */ -#include <common.h> #include <dm.h> #include <log.h> #include <timer.h> drivers/timer/imx-gpt-timer.c +1
-1@@ -4,7 +4,7 @@* Author(s): Giulio Benetti <[email protected]> */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/timer/mchp-pit64b-timer.c +0
-1@@ -7,7 +7,6 @@* Author: Claudiu Beznea <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h> drivers/timer/mpc83xx_timer.c +1
-1@@ -4,7 +4,7 @@* Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <irq_func.h> drivers/timer/mtk_timer.c +0
-1@@ -7,7 +7,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <timer.h> #include <asm/io.h> drivers/timer/nomadik-mtu-timer.c +0
-1@@ -12,7 +12,6 @@* Copyright (C) 2010 Linus Walleij for ST-Ericsson */ -#include <common.h> #include <dm.h> #include <timer.h> #include <asm/io.h> drivers/timer/npcm-timer.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Nuvoton Technology Corp. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <timer.h> drivers/timer/omap-timer.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2015, Texas Instruments, Incorporated */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h> drivers/timer/orion-timer.c +1
-1@@ -1,6 +1,6 @@// SPDX-License-Identifier: GPL-2.0+ #include <asm/io.h> -#include <common.h> +#include <config.h> #include <div64.h> #include <dm/device.h> #include <dm/fdtaddr.h> drivers/timer/ostm_timer.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2019 Marek Vasut <[email protected]> */ -#include <common.h> #include <clock_legacy.h> #include <malloc.h> #include <asm/global_data.h> drivers/timer/riscv_aclint_timer.c +1
-1@@ -4,7 +4,7 @@* Copyright (C) 2018, Bin Meng <[email protected]> */ -#include <common.h> +#include <config.h> #include <clk.h> #include <div64.h> #include <dm.h> drivers/timer/riscv_timer.c +1
-1@@ -10,7 +10,7 @@* This driver provides generic timer support for S-mode U-Boot. */ -#include <common.h> +#include <config.h> #include <div64.h> #include <dm.h> #include <errno.h> drivers/timer/rockchip_timer.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <init.h> drivers/timer/sandbox_timer.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2015 Thomas Chou <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h> drivers/timer/sp804_timer.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2022 Arm Ltd. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <init.h> drivers/timer/starfive-timer.c +0
-1@@ -4,7 +4,6 @@* Author: Kuan Lim Lee <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <time.h> drivers/timer/stm32_timer.c +1
-1@@ -6,7 +6,7 @@#define LOG_CATEGORY UCLASS_TIMER -#include <common.h> +#include <config.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/timer/tegra-timer.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <timer.h> drivers/timer/timer-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_TIMER -#include <common.h> #include <clk.h> #include <cpu.h> #include <dm.h> drivers/timer/tsc_timer.c +0
-1@@ -6,7 +6,6 @@* arch/x86/kernel/tsc_msr.c and arch/x86/kernel/tsc.c */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <log.h> drivers/timer/xilinx-timer.c +0
-1@@ -7,7 +7,6 @@* Michal SIMEK <[email protected]> */ -#include <common.h> #include <dm.h> #include <timer.h> #include <regmap.h>
PATCH 71/81 tpm: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Ilias Apalodimas <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>
--- drivers/tpm/cr50_i2c.c | 2 +- drivers/tpm/sandbox_common.c | 1 - drivers/tpm/tpm-uclass.c | 2 +- drivers/tpm/tpm2_ftpm_tee.c | 1 - drivers/tpm/tpm2_tis_core.c | 2 +- drivers/tpm/tpm2_tis_i2c.c | 1 - drivers/tpm/tpm2_tis_mmio.c | 1 - drivers/tpm/tpm2_tis_sandbox.c | 1 - drivers/tpm/tpm2_tis_spi.c | 2 +- drivers/tpm/tpm_atmel_twi.c | 2 +- drivers/tpm/tpm_tis_infineon.c | 2 +- drivers/tpm/tpm_tis_lpc.c | 1 - drivers/tpm/tpm_tis_sandbox.c | 1 - drivers/tpm/tpm_tis_st33zp24_i2c.c | 1 - drivers/tpm/tpm_tis_st33zp24_spi.c | 1 - 15 files changed, 6 insertions(+), 15 deletions(-)
drivers/tpm/cr50_i2c.c +1 -1
@@ -7,12 +7,12 @@#define LOG_CATEGORY UCLASS_TPM -#include <common.h> #include <dm.h> #include <i2c.h> #include <irq.h> #include <log.h> #include <spl.h> +#include <time.h> #include <tpm-common.h> #include <tpm-v2.h> #include <acpi/acpigen.h>
drivers/tpm/sandbox_common.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_TPM -#include <common.h> #include <tpm-v1.h> #include <tpm-v2.h> #include <asm/unaligned.h>
drivers/tpm/tpm-uclass.c +1 -1
@@ -6,9 +6,9 @@#define LOG_CATEGORY UCLASS_TPM -#include <common.h> #include <dm.h> #include <log.h> +#include <time.h> #include <tpm_api.h> #include <tpm-v1.h> #include <tpm-v2.h>
drivers/tpm/tpm2_ftpm_tee.c +0 -1
@@ -13,7 +13,6 @@* https://github.com/microsoft/ms-tpm-20-ref/tree/master/Samples/ARM32-FirmwareTPM/optee_ta/fTPM */ -#include <common.h> #include <dm.h> #include <log.h> #include <tpm-v2.h>
drivers/tpm/tpm2_tis_core.c +1 -1
@@ -5,8 +5,8 @@* Based on the Linux TIS core interface and U-Boot original SPI TPM driver */ -#include <common.h> #include <dm.h> +#include <time.h> #include <tpm-v2.h> #include <linux/delay.h> #include <linux/unaligned/be_byteshift.h>
drivers/tpm/tpm2_tis_i2c.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2022 IBM Corp. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <i2c.h>
drivers/tpm/tpm2_tis_mmio.c +0 -1
@@ -5,7 +5,6 @@* Specifications at www.trustedcomputinggroup.org */ -#include <common.h> #include <dm.h> #include <log.h> #include <tpm-v2.h>
drivers/tpm/tpm2_tis_sandbox.c +0 -1
@@ -4,7 +4,6 @@* Author: Miquel Raynal <[email protected]> */ -#include <common.h> #include <dm.h> #include <tpm-v2.h> #include <asm/state.h>
drivers/tpm/tpm2_tis_spi.c +1 -1
@@ -13,11 +13,11 @@* It is based on the U-Boot driver tpm_tis_infineon_i2c.c. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> #include <spi.h> +#include <time.h> #include <tpm-v2.h> #include <linux/bitops.h> #include <linux/delay.h>
drivers/tpm/tpm_atmel_twi.c +1 -1
@@ -5,11 +5,11 @@* Written by Dirk Eibach <[email protected]> */ -#include <common.h> #include <display_options.h> #include <dm.h> #include <tpm-v1.h> #include <i2c.h> +#include <time.h> #include <asm/unaligned.h> #include <linux/delay.h>
drivers/tpm/tpm_tis_infineon.c +1 -1
@@ -19,11 +19,11 @@* Version: 2.1.1 */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <i2c.h> #include <log.h> +#include <time.h> #include <tpm-v1.h> #include <linux/delay.h> #include <linux/errno.h>
drivers/tpm/tpm_tis_lpc.c +0 -1
@@ -12,7 +12,6 @@* slb9635), so this driver provides access to locality 0 only. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mapmem.h>
drivers/tpm/tpm_tis_sandbox.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <display_options.h> #include <dm.h> #include <tpm-v1.h>
drivers/tpm/tpm_tis_st33zp24_i2c.c +0 -1
@@ -12,7 +12,6 @@* STMicroelectronics Protocol Stack Specification version 1.2.0. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <i2c.h>
drivers/tpm/tpm_tis_st33zp24_spi.c +0 -1
@@ -12,7 +12,6 @@* STMicroelectronics Protocol Stack Specification version 1.2.0. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h>
Signature · 1 line
2.34.1
Re: [PATCH 71/81] tpm: Remove <common.h> and add needed includes
Quoted 234 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>---
Cc: Ilias Apalodimas <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Simon Glass <[email protected]>--- drivers/tpm/cr50_i2c.c | 2 +- drivers/tpm/sandbox_common.c | 1 - drivers/tpm/tpm-uclass.c | 2 +- drivers/tpm/tpm2_ftpm_tee.c | 1 - drivers/tpm/tpm2_tis_core.c | 2 +- drivers/tpm/tpm2_tis_i2c.c | 1 - drivers/tpm/tpm2_tis_mmio.c | 1 - drivers/tpm/tpm2_tis_sandbox.c | 1 - drivers/tpm/tpm2_tis_spi.c | 2 +- drivers/tpm/tpm_atmel_twi.c | 2 +- drivers/tpm/tpm_tis_infineon.c | 2 +- drivers/tpm/tpm_tis_lpc.c | 1 - drivers/tpm/tpm_tis_sandbox.c | 1 - drivers/tpm/tpm_tis_st33zp24_i2c.c | 1 - drivers/tpm/tpm_tis_st33zp24_spi.c | 1 - 15 files changed, 6 insertions(+), 15 deletions(-)drivers/tpm/cr50_i2c.c +1
-1@@ -7,12 +7,12 @@#define LOG_CATEGORY UCLASS_TPM -#include <common.h> #include <dm.h> #include <i2c.h> #include <irq.h> #include <log.h> #include <spl.h> +#include <time.h> #include <tpm-common.h> #include <tpm-v2.h> #include <acpi/acpigen.h> drivers/tpm/sandbox_common.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_TPM -#include <common.h> #include <tpm-v1.h> #include <tpm-v2.h> #include <asm/unaligned.h> drivers/tpm/tpm-uclass.c +1
-1@@ -6,9 +6,9 @@#define LOG_CATEGORY UCLASS_TPM -#include <common.h> #include <dm.h> #include <log.h> +#include <time.h> #include <tpm_api.h> #include <tpm-v1.h> #include <tpm-v2.h> drivers/tpm/tpm2_ftpm_tee.c +0
-1@@ -13,7 +13,6 @@* https://github.com/microsoft/ms-tpm-20-ref/tree/master/Samples/ARM32-FirmwareTPM/optee_ta/fTPM */ -#include <common.h> #include <dm.h> #include <log.h> #include <tpm-v2.h> drivers/tpm/tpm2_tis_core.c +1
-1@@ -5,8 +5,8 @@* Based on the Linux TIS core interface and U-Boot original SPI TPM driver */ -#include <common.h> #include <dm.h> +#include <time.h> #include <tpm-v2.h> #include <linux/delay.h> #include <linux/unaligned/be_byteshift.h> drivers/tpm/tpm2_tis_i2c.c +0
-1@@ -3,7 +3,6 @@* Copyright 2022 IBM Corp. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <i2c.h> drivers/tpm/tpm2_tis_mmio.c +0
-1@@ -5,7 +5,6 @@* Specifications at www.trustedcomputinggroup.org */ -#include <common.h> #include <dm.h> #include <log.h> #include <tpm-v2.h> drivers/tpm/tpm2_tis_sandbox.c +0
-1@@ -4,7 +4,6 @@* Author: Miquel Raynal <[email protected]> */ -#include <common.h> #include <dm.h> #include <tpm-v2.h> #include <asm/state.h> drivers/tpm/tpm2_tis_spi.c +1
-1@@ -13,11 +13,11 @@* It is based on the U-Boot driver tpm_tis_infineon_i2c.c. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> #include <spi.h> +#include <time.h> #include <tpm-v2.h> #include <linux/bitops.h> #include <linux/delay.h> drivers/tpm/tpm_atmel_twi.c +1
-1@@ -5,11 +5,11 @@* Written by Dirk Eibach <[email protected]> */ -#include <common.h> #include <display_options.h> #include <dm.h> #include <tpm-v1.h> #include <i2c.h> +#include <time.h> #include <asm/unaligned.h> #include <linux/delay.h> drivers/tpm/tpm_tis_infineon.c +1
-1@@ -19,11 +19,11 @@* Version: 2.1.1 */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <i2c.h> #include <log.h> +#include <time.h> #include <tpm-v1.h> #include <linux/delay.h> #include <linux/errno.h> drivers/tpm/tpm_tis_lpc.c +0
-1@@ -12,7 +12,6 @@* slb9635), so this driver provides access to locality 0 only. */ -#include <common.h> #include <dm.h> #include <log.h> #include <mapmem.h> drivers/tpm/tpm_tis_sandbox.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <display_options.h> #include <dm.h> #include <tpm-v1.h> drivers/tpm/tpm_tis_st33zp24_i2c.c +0
-1@@ -12,7 +12,6 @@* STMicroelectronics Protocol Stack Specification version 1.2.0. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <i2c.h> drivers/tpm/tpm_tis_st33zp24_spi.c +0
-2@@ -12,7 +12,6 @@* STMicroelectronics Protocol Stack Specification version 1.2.0. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> --
Quoted 2 lines
2.34.1
PATCH 72/81 ufs: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Bhupesh Sharma <[email protected]>
Cc: Neha Malcom Francis <[email protected]>
Cc: Tom Rini <[email protected]>
--- drivers/ufs/cdns-platform.c | 1 - drivers/ufs/ti-j721e-ufs.c | 1 - drivers/ufs/ufs-pci.c | 1 - drivers/ufs/ufs-uclass.c | 1 - drivers/ufs/ufs.c | 1 - drivers/ufs/ufs.h | 1 + 6 files changed, 1 insertion(+), 5 deletions(-)
drivers/ufs/cdns-platform.c +0 -1
@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <ufs.h> #include <asm/io.h>
drivers/ufs/ti-j721e-ufs.c +0 -1
@@ -5,7 +5,6 @@#include <asm/io.h> #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/bitops.h>
drivers/ufs/ufs-pci.c +0 -1
@@ -4,7 +4,6 @@* Author: Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <pci.h>
drivers/ufs/ufs-uclass.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_UFS -#include <common.h> #include "ufs.h" #include <dm.h>
drivers/ufs/ufs.c +0 -1
@@ -10,7 +10,6 @@#include <bouncebuf.h> #include <charset.h> -#include <common.h> #include <dm.h> #include <log.h> #include <dm/device_compat.h>
drivers/ufs/ufs.h +1 -0
@@ -2,6 +2,7 @@#ifndef __UFS_H#define __UFS_H +#include <linux/types.h> #include "unipro.h" struct udevice ;
Signature · 1 line
2.34.1
PATCH 73/81 usb: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from this driver directory and when needed add missing include files directly.
---
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Eddie Cai <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc: GSS_MTK_Uboot_upstream <[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Igor Prusov <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Venkatesh Yadav Abbarapu <[email protected]>
Cc: Peter Korsgaard <[email protected]>
Cc: Oleksandr Suvorov <[email protected]>
Cc: Alexey Romanov <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Miquel Raynal <[email protected]>
Cc: Teik Heng Chong <[email protected]>
Cc: Tim Harvey <[email protected]>
Cc: Mathieu Othacehe <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Xavier Drudis Ferran <[email protected]>
Cc: Fabrice Gasnier <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Sam Edwards <[email protected]>
Cc: Andre Przywara <[email protected]>
--- drivers/usb/cdns3/cdns3-ti.c | 1 - drivers/usb/cdns3/core.c | 1 - drivers/usb/common/common.c | 1 - drivers/usb/common/fsl-dt-fixup.c | 1 - drivers/usb/common/fsl-errata.c | 1 - drivers/usb/dwc3/core.c | 1 - drivers/usb/dwc3/dwc3-generic.c | 1 - drivers/usb/dwc3/dwc3-layerscape.c | 1 - drivers/usb/dwc3/dwc3-meson-g12a.c | 1 - drivers/usb/dwc3/dwc3-meson-gxl.c | 1 - drivers/usb/dwc3/dwc3-omap.c | 1 - drivers/usb/dwc3/ep0.c | 1 - drivers/usb/dwc3/gadget.c | 1 - drivers/usb/dwc3/samsung_usb_phy.c | 2 +- drivers/usb/dwc3/ti_usb_phy.c | 1 - drivers/usb/emul/sandbox_flash.c | 1 - drivers/usb/emul/sandbox_hub.c | 1 - drivers/usb/emul/sandbox_keyb.c | 1 - drivers/usb/emul/usb-emul-uclass.c | 1 - drivers/usb/eth/asix.c | 1 - drivers/usb/eth/asix88179.c | 1 - drivers/usb/eth/mcs7830.c | 1 - drivers/usb/eth/r8152.c | 1 - drivers/usb/eth/r8152_fw.c | 1 - drivers/usb/eth/smsc95xx.c | 1 - drivers/usb/eth/usb_ether.c | 1 - drivers/usb/gadget/at91_udc.c | 1 - drivers/usb/gadget/atmel_usba_udc.c | 1 - drivers/usb/gadget/bcm_udc_otg_phy.c | 1 - drivers/usb/gadget/ci_udc.c | 1 - drivers/usb/gadget/config.c | 1 - drivers/usb/gadget/dwc2_udc_otg.c | 1 - drivers/usb/gadget/dwc2_udc_otg_phy.c | 1 - drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 1 - drivers/usb/gadget/ep0.c | 1 - drivers/usb/gadget/epautoconf.c | 1 - drivers/usb/gadget/ether.c | 1 - drivers/usb/gadget/f_acm.c | 1 - drivers/usb/gadget/f_dfu.c | 1 - drivers/usb/gadget/f_fastboot.c | 1 - drivers/usb/gadget/f_mass_storage.c | 1 - drivers/usb/gadget/f_rockusb.c | 1 - drivers/usb/gadget/f_sdp.c | 1 - drivers/usb/gadget/f_thor.c | 1 - drivers/usb/gadget/g_dnl.c | 1 - drivers/usb/gadget/max3420_udc.c | 1 - drivers/usb/gadget/rndis.c | 1 - drivers/usb/gadget/udc/udc-core.c | 1 - drivers/usb/gadget/udc/udc-uclass.c | 1 - drivers/usb/gadget/usbstring.c | 1 - drivers/usb/host/dwc2.c | 1 - drivers/usb/host/dwc3-of-simple.c | 1 - drivers/usb/host/dwc3-sti-glue.c | 1 - drivers/usb/host/ehci-atmel.c | 1 - drivers/usb/host/ehci-exynos.c | 1 - drivers/usb/host/ehci-fsl.c | 1 - drivers/usb/host/ehci-generic.c | 1 - drivers/usb/host/ehci-hcd.c | 1 - drivers/usb/host/ehci-marvell.c | 1 - drivers/usb/host/ehci-msm.c | 1 - drivers/usb/host/ehci-mx5.c | 1 - drivers/usb/host/ehci-mx6.c | 1 - drivers/usb/host/ehci-mxs.c | 1 - drivers/usb/host/ehci-npcm.c | 1 - drivers/usb/host/ehci-omap.c | 2 +- drivers/usb/host/ehci-pci.c | 1 - drivers/usb/host/ehci-tegra.c | 1 - drivers/usb/host/ehci-vf.c | 1 - drivers/usb/host/ehci-zynq.c | 1 - drivers/usb/host/ohci-at91.c | 1 - drivers/usb/host/ohci-da8xx.c | 1 - drivers/usb/host/ohci-generic.c | 1 - drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-lpc32xx.c | 1 - drivers/usb/host/ohci-npcm.c | 1 - drivers/usb/host/ohci-pci.c | 1 - drivers/usb/host/r8a66597-hcd.c | 1 - drivers/usb/host/usb-sandbox.c | 1 - drivers/usb/host/usb-uclass.c | 1 - drivers/usb/host/usb_bootdev.c | 1 - drivers/usb/host/xhci-brcm.c | 1 - drivers/usb/host/xhci-dwc3.c | 1 - drivers/usb/host/xhci-exynos5.c | 1 - drivers/usb/host/xhci-fsl.c | 1 - drivers/usb/host/xhci-mem.c | 1 - drivers/usb/host/xhci-mtk.c | 1 - drivers/usb/host/xhci-mvebu.c | 1 - drivers/usb/host/xhci-omap.c | 1 - drivers/usb/host/xhci-pci.c | 1 - drivers/usb/host/xhci-rcar.c | 1 - drivers/usb/host/xhci-ring.c | 1 - drivers/usb/host/xhci.c | 1 - drivers/usb/isp1760/isp1760-hcd.c | 1 - drivers/usb/isp1760/isp1760-if.c | 1 - drivers/usb/isp1760/isp1760-uboot.c | 1 - drivers/usb/mtu3/mtu3_plat.c | 1 - drivers/usb/musb-new/am35x.c | 1 - drivers/usb/musb-new/da8xx.c | 1 - drivers/usb/musb-new/mt85xx.c | 1 - drivers/usb/musb-new/musb_core.c | 1 - drivers/usb/musb-new/musb_dsps.c | 1 - drivers/usb/musb-new/musb_gadget.c | 1 - drivers/usb/musb-new/musb_gadget_ep0.c | 1 - drivers/usb/musb-new/musb_host.c | 1 - drivers/usb/musb-new/musb_uboot.c | 1 - drivers/usb/musb-new/omap2430.c | 1 - drivers/usb/musb-new/pic32.c | 1 - drivers/usb/musb-new/sunxi.c | 1 - drivers/usb/musb-new/ti-musb.c | 1 - drivers/usb/musb-new/ux500.c | 1 - drivers/usb/musb/am35x.c | 1 - drivers/usb/musb/musb_core.c | 1 - drivers/usb/musb/musb_hcd.c | 1 - drivers/usb/musb/musb_udc.c | 1 - drivers/usb/phy/rockchip_usb2_phy.c | 1 - drivers/usb/ulpi/omap-ulpi-viewport.c | 1 - drivers/usb/ulpi/ulpi-viewport.c | 1 - drivers/usb/ulpi/ulpi.c | 1 - 118 files changed, 3 insertions(+), 118 deletions(-)
drivers/usb/cdns3/cdns3-ti.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/usb/cdns3/core.c +0 -1
@@ -11,7 +11,6 @@* Roger Quadros <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/device-internal.h>
drivers/usb/common/common.c +0 -1
@@ -6,7 +6,6 @@* Texas Instruments Incorporated, <www.ti.com> */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <linux/printk.h>
drivers/usb/common/fsl-dt-fixup.c +0 -1
@@ -7,7 +7,6 @@* Author: Tor Krill [email protected] */ -#include <common.h> #include <log.h> #include <usb.h> #include <asm/io.h>
drivers/usb/common/fsl-errata.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> #include <hwconfig.h> #include <fsl_errata.h> #include <fsl_usb.h>
drivers/usb/dwc3/core.c +0 -1
@@ -13,7 +13,6 @@* commit cd72f890d2 : usb: dwc3: core: enable phy suspend quirk on non-FPGA */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <malloc.h>
drivers/usb/dwc3/dwc3-generic.c +0 -1
@@ -7,7 +7,6 @@* Based on dwc3-omap.c. */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <dm.h>
drivers/usb/dwc3/dwc3-layerscape.c +0 -1
@@ -7,7 +7,6 @@* Based on dwc3-generic.c. */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dm/device-internal.h>
drivers/usb/dwc3/dwc3-meson-g12a.c +0 -1
@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <log.h> #include <dm.h> #include <dm/device-internal.h>
drivers/usb/dwc3/dwc3-meson-gxl.c +0 -1
@@ -7,7 +7,6 @@*/ #define DEBUG -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/lists.h>
drivers/usb/dwc3/dwc3-omap.c +0 -1
@@ -13,7 +13,6 @@* commit 7ee2566ff5 : usb: dwc3: dwc3-omap: get rid of ->prepare()/->complete() */ -#include <common.h> #include <malloc.h> #include <asm/io.h> #include <dm.h>
drivers/usb/dwc3/ep0.c +0 -1
@@ -12,7 +12,6 @@* * commit c00552ebaf : Merge 3.18-rc7 into usb-next */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device_compat.h>
drivers/usb/dwc3/gadget.c +0 -1
@@ -13,7 +13,6 @@* commit 8e74475b0e : usb: dwc3: gadget: use udc-core's reset notifier */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h>
drivers/usb/dwc3/samsung_usb_phy.c +1 -1
@@ -7,7 +7,7 @@* Author: Joonyoung Shim <[email protected]> */ -#include <common.h> +#include <asm/io.h> #include <asm/arch/power.h> #include <asm/arch/xhci-exynos.h> #include <linux/delay.h>
drivers/usb/dwc3/ti_usb_phy.c +0 -1
@@ -16,7 +16,6 @@* and remove" for phy-omap-usb2.c */ -#include <common.h> #include <malloc.h> #include <ti-usb-phy-uboot.h> #include <dm/device_compat.h>
drivers/usb/emul/sandbox_flash.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_USB -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/usb/emul/sandbox_hub.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h>
drivers/usb/emul/sandbox_keyb.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <os.h>
drivers/usb/emul/usb-emul-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_USB_EMUL -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h>
drivers/usb/eth/asix.c +0 -1
@@ -5,7 +5,6 @@* Patched for AX88772B by Antmicro Ltd <www.antmicro.com> */ -#include <common.h> #include <dm.h> #include <log.h> #include <net.h>
drivers/usb/eth/asix88179.c +0 -1
@@ -5,7 +5,6 @@* from the Linux AX88179_178a driver */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h>
drivers/usb/eth/mcs7830.c +0 -1
@@ -9,7 +9,6 @@* MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/usb/eth/r8152.c +0 -1
@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/usb/eth/r8152_fw.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2015 Realtek Semiconductor Corp. All rights reserved. * */ -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/bitops.h>
drivers/usb/eth/smsc95xx.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2007-2008 SMSC (Steve Glendinning) */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/usb/eth/usb_ether.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/usb/gadget/at91_udc.c +0 -1
@@ -13,7 +13,6 @@#undef VERBOSE_DEBUG#undef PACKET_TRACE -#include <common.h> #include <dm/devres.h> #include <linux/bug.h> #include <linux/err.h>
drivers/usb/gadget/atmel_usba_udc.c +0 -1
@@ -7,7 +7,6 @@* Bo Shen <[email protected]> */ -#include <common.h> #include <linux/bitops.h> #include <linux/errno.h> #include <asm/gpio.h>
drivers/usb/gadget/bcm_udc_otg_phy.c +0 -1
@@ -4,7 +4,6 @@*/ #include <config.h> -#include <common.h> #include <asm/io.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h>
drivers/usb/gadget/ci_udc.c +0 -1
@@ -7,7 +7,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <command.h> #include <config.h> #include <cpu_func.h>
drivers/usb/gadget/config.c +0 -1
@@ -8,7 +8,6 @@* Remy Bohmer <[email protected]> */ -#include <common.h> #include <asm/unaligned.h> #include <linux/errno.h> #include <linux/list.h>
drivers/usb/gadget/dwc2_udc_otg.c +0 -1
@@ -17,7 +17,6 @@* Lukasz Majewski <[email protected]> */ #undef DEBUG -#include <common.h> #include <clk.h> #include <dm.h> #include <generic-phy.h>
drivers/usb/gadget/dwc2_udc_otg_phy.c +0 -1
@@ -17,7 +17,6 @@* Lukasz Majewski <[email protected]> */ -#include <common.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/list.h>
drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c +0 -1
@@ -17,7 +17,6 @@* Lukasz Majewski <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <linux/bug.h>
drivers/usb/gadget/ep0.c +0 -1
@@ -36,7 +36,6 @@* XXX */ -#include <common.h> #include <serial.h> #include <usbdevice.h>
drivers/usb/gadget/epautoconf.c +0 -1
@@ -8,7 +8,6 @@* Remy Bohmer <[email protected]> */ -#include <common.h> #include <linux/usb/ch9.h> #include <linux/errno.h> #include <linux/usb/gadget.h>
drivers/usb/gadget/ether.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2008 Nokia Corporation */ -#include <common.h> #include <console.h> #include <env.h> #include <log.h>
drivers/usb/gadget/f_acm.c +0 -1
@@ -10,7 +10,6 @@*/ #include <circbuf.h> -#include <common.h> #include <console.h> #include <errno.h> #include <g_dnl.h>
drivers/usb/gadget/f_dfu.c +0 -1
@@ -16,7 +16,6 @@#include <env.h> #include <errno.h> -#include <common.h> #include <log.h> #include <malloc.h>
drivers/usb/gadget/f_fastboot.c +0 -1
@@ -11,7 +11,6 @@*/ #include <command.h> #include <config.h> -#include <common.h> #include <env.h> #include <errno.h> #include <fastboot.h>
drivers/usb/gadget/f_mass_storage.c +0 -1
@@ -244,7 +244,6 @@#include <hexdump.h> #include <log.h> #include <malloc.h> -#include <common.h> #include <console.h> #include <g_dnl.h> #include <dm/devres.h>
drivers/usb/gadget/f_rockusb.c +0 -1
@@ -6,7 +6,6 @@*/ #include <command.h> #include <config.h> -#include <common.h> #include <env.h> #include <errno.h> #include <log.h>
drivers/usb/gadget/f_sdp.c +0 -1
@@ -17,7 +17,6 @@*/ #include <errno.h> -#include <common.h> #include <console.h> #include <env.h> #include <log.h>
drivers/usb/gadget/f_thor.c +0 -1
@@ -15,7 +15,6 @@*/ #include <command.h> -#include <common.h> #include <console.h> #include <dm.h> #include <errno.h>
drivers/usb/gadget/g_dnl.c +0 -1
@@ -6,7 +6,6 @@* Lukasz Majewski <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h>
drivers/usb/gadget/max3420_udc.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <linux/errno.h> #include <linux/delay.h> #include <asm/gpio.h>
drivers/usb/gadget/rndis.c +0 -1
@@ -18,7 +18,6 @@* updates to merge with Linux 2.6, better match RNDIS spec */ -#include <common.h> #include <log.h> #include <net.h> #include <malloc.h>
drivers/usb/gadget/udc/udc-core.c +0 -1
@@ -19,7 +19,6 @@#include <malloc.h> #include <asm/cache.h> #include <linux/dma-mapping.h> -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <linux/usb/ch9.h>
drivers/usb/gadget/udc/udc-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_USB_GADGET_GENERIC -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <linux/printk.h>
drivers/usb/gadget/usbstring.c +0 -1
@@ -6,7 +6,6 @@* Remy Bohmer <[email protected]> */ -#include <common.h> #include <linux/errno.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h>
drivers/usb/host/dwc2.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2014 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
drivers/usb/host/dwc3-of-simple.c +0 -1
@@ -10,7 +10,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <reset.h> #include <clk.h>
drivers/usb/host/dwc3-sti-glue.c +0 -1
@@ -6,7 +6,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h>
drivers/usb/host/ehci-atmel.c +0 -1
@@ -5,7 +5,6 @@* Written-by: Bo Shen <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/usb/host/ehci-exynos.c +0 -1
@@ -6,7 +6,6 @@* Vivek Gautam <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h>
drivers/usb/host/ehci-fsl.c +0 -1
@@ -7,7 +7,6 @@* Author: Tor Krill [email protected] */ -#include <common.h> #include <env.h> #include <log.h> #include <pci.h>
drivers/usb/host/ehci-generic.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015 Alexey Brodkin <[email protected]> */ -#include <common.h> #include <clk.h> #include <log.h> #include <dm/device_compat.h>
drivers/usb/host/ehci-hcd.c +0 -1
@@ -6,7 +6,6 @@* * All rights reserved. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h>
drivers/usb/host/ehci-marvell.c +0 -1
@@ -5,7 +5,6 @@* Written-by: Prafulla Wadaskar <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h>
drivers/usb/host/ehci-msm.c +0 -1
@@ -7,7 +7,6 @@* Based on Linux driver */ -#include <common.h> #include <dm.h> #include <dm/lists.h> #include <errno.h>
drivers/usb/host/ehci-mx5.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <log.h> #include <usb.h> #include <errno.h>
drivers/usb/host/ehci-mx6.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <clk.h> #include <log.h> #include <usb.h>
drivers/usb/host/ehci-mxs.c +0 -1
@@ -6,7 +6,6 @@* on behalf of DENX Software Engineering GmbH */ -#include <common.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <errno.h>
drivers/usb/host/ehci-npcm.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <reset.h>
drivers/usb/host/ehci-omap.c +1 -1
@@ -10,8 +10,8 @@* */ -#include <common.h> #include <log.h> +#include <time.h> #include <usb.h> #include <linux/delay.h> #include <usb/ulpi.h>
drivers/usb/host/ehci-pci.c +0 -1
@@ -4,7 +4,6 @@* All rights reserved. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <init.h>
drivers/usb/host/ehci-tegra.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2013 Lucas Stach */ -#include <common.h> #include <dm.h> #include <log.h> #include <linux/delay.h>
drivers/usb/host/ehci-vf.c +0 -1
@@ -6,7 +6,6 @@* Based on ehci-mx6 driver */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h>
drivers/usb/host/ehci-zynq.c +0 -1
@@ -5,7 +5,6 @@* USB Low level initialization(Specific to zynq) */ -#include <common.h> #include <dm.h> #include <usb.h> #include <asm/arch/hardware.h>
drivers/usb/host/ohci-at91.c +0 -1
@@ -4,7 +4,6 @@* DENX Software Engineering <[email protected]> */ -#include <common.h> #include <asm/arch/clk.h> int usb_cpu_init (void )
drivers/usb/host/ohci-da8xx.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2012 Sughosh Ganu <[email protected]> */ -#include <common.h> #include <malloc.h> #include <asm/io.h> #include <clk.h>
drivers/usb/host/ohci-generic.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2015 Alexey Brodkin <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/usb/host/ohci-hcd.c +1 -1
@@ -27,7 +27,7 @@* to activate workaround for bug #41 or this driver will NOT work! */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <asm/byteorder.h> #include <dm.h>
drivers/usb/host/ohci-lpc32xx.c +0 -1
@@ -7,7 +7,6 @@* Copyright (c) 2015 Tyco Fire Protection Products. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <init.h>
drivers/usb/host/ohci-npcm.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <reset.h>
drivers/usb/host/ohci-pci.c +0 -1
@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <pci.h>
drivers/usb/host/r8a66597-hcd.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2008 Yoshihiro Shimoda <[email protected]> */ -#include <common.h> #include <console.h> #include <dm.h> #include <log.h>
drivers/usb/host/usb-sandbox.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h>
drivers/usb/host/usb-uclass.c +0 -1
@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_USB -#include <common.h> #include <bootdev.h> #include <dm.h> #include <errno.h>
drivers/usb/host/usb_bootdev.c +0 -1
@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <bootdev.h> #include <dm.h> #include <usb.h>
drivers/usb/host/xhci-brcm.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2019 Broadcom. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <usb.h>
drivers/usb/host/xhci-dwc3.c +0 -1
@@ -8,7 +8,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <log.h>
drivers/usb/host/xhci-exynos5.c +0 -1
@@ -12,7 +12,6 @@* exynos5 specific PHY-init sequence. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h>
drivers/usb/host/xhci-fsl.c +0 -1
@@ -7,7 +7,6 @@* Author: Ramneek Mehresh<[email protected]> */ -#include <common.h> #include <log.h> #include <usb.h> #include <linux/errno.h>
drivers/usb/host/xhci-mem.c +0 -1
@@ -13,7 +13,6 @@* Vikas Sajjan <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h>
drivers/usb/host/xhci-mtk.c +0 -1
@@ -5,7 +5,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h>
drivers/usb/host/xhci-mvebu.c +0 -1
@@ -5,7 +5,6 @@* MVEBU USB HOST xHCI Controller */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h>
drivers/usb/host/xhci-omap.c +0 -1
@@ -8,7 +8,6 @@* Author: Dan Murphy <[email protected]> */ -#include <common.h> #include <log.h> #include <usb.h> #include <linux/errno.h>
drivers/usb/host/xhci-pci.c +0 -1
@@ -5,7 +5,6 @@* All rights reserved. */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <init.h>
drivers/usb/host/xhci-rcar.c +0 -1
@@ -5,7 +5,6 @@* Renesas RCar USB HOST xHCI Controller */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h>
drivers/usb/host/xhci-ring.c +0 -1
@@ -13,7 +13,6 @@* Vikas Sajjan <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <asm/byteorder.h>
drivers/usb/host/xhci.c +0 -1
@@ -19,7 +19,6 @@* The quirk devices support hasn't been given yet. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device_compat.h>
drivers/usb/isp1760/isp1760-hcd.c +0 -1
@@ -7,7 +7,6 @@*/ #include <hexdump.h> -#include <common.h> #include <asm/cache.h> #include <cpu_func.h> #include <dm.h>
drivers/usb/isp1760/isp1760-if.c +0 -1
@@ -6,7 +6,6 @@* (c) 2007 Sebastian Siewior <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/device_compat.h>
drivers/usb/isp1760/isp1760-uboot.c +0 -1
@@ -6,7 +6,6 @@* */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/device_compat.h>
drivers/usb/mtu3/mtu3_plat.c +0 -1
@@ -5,7 +5,6 @@* Author: Chunfeng Yun <[email protected]> */ -#include <common.h> #include <dm/lists.h> #include <linux/iopoll.h>
drivers/usb/musb-new/am35x.c +0 -1
@@ -24,7 +24,6 @@#include <plat/usb.h> #else -#include <common.h> #include <asm/omap_musb.h> #include <linux/bug.h> #include <linux/delay.h>
drivers/usb/musb-new/da8xx.c +0 -1
@@ -13,7 +13,6 @@* */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/device-internal.h>
drivers/usb/musb-new/mt85xx.c +0 -1
@@ -9,7 +9,6 @@* * This file is part of the Inventra Controller Driver for Linux. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/usb/musb-new/musb_core.c +0 -1
@@ -79,7 +79,6 @@#include <linux/platform_device.h> #include <linux/io.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <usb.h>
drivers/usb/musb-new/musb_dsps.c +0 -1
@@ -31,7 +31,6 @@#include <plat/usb.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <asm/omap_musb.h>
drivers/usb/musb-new/musb_gadget.c +0 -1
@@ -22,7 +22,6 @@#include <linux/dma-mapping.h> #include <linux/slab.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/bug.h>
drivers/usb/musb-new/musb_gadget_ep0.c +0 -1
@@ -18,7 +18,6 @@#include <linux/device.h> #include <linux/interrupt.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/printk.h>
drivers/usb/musb-new/musb_host.c +0 -1
@@ -21,7 +21,6 @@#include <linux/list.h> #include <linux/dma-mapping.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <usb.h>
drivers/usb/musb-new/musb_uboot.c +0 -1
@@ -1,4 +1,3 @@ -#include <common.h> #include <console.h> #include <dm.h> #include <malloc.h>
drivers/usb/musb-new/omap2430.c +0 -1
@@ -8,7 +8,6 @@* * This file is part of the Inventra Controller Driver for Linux. */ -#include <common.h> #include <dm.h> #include <log.h> #include <serial.h>
drivers/usb/musb-new/pic32.c +0 -1
@@ -9,7 +9,6 @@* Based on the dsps "glue layer" code. */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <dm/device_compat.h>
drivers/usb/musb-new/sunxi.c +0 -1
@@ -15,7 +15,6 @@* * This file is part of the Inventra Controller Driver for Linux. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <generic-phy.h>
drivers/usb/musb-new/ti-musb.c +0 -1
@@ -5,7 +5,6 @@* (C) Copyright 2016 * Texas Instruments Incorporated, <www.ti.com> */ -#include <common.h> #include <command.h> #include <console.h> #include <dm.h>
drivers/usb/musb-new/ux500.c +0 -1
@@ -1,7 +1,6 @@// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2019 Stephan Gerhold */ -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <dm/device_compat.h>
drivers/usb/musb/am35x.c +0 -1
@@ -9,7 +9,6 @@* Copyright (c) 2010 Texas Instruments Incorporated */ -#include <common.h> #include <linux/delay.h> #include "am35x.h"
drivers/usb/musb/musb_core.c +0 -1
@@ -8,7 +8,6 @@* Author: Thomas Abraham [email protected], Texas Instruments */ -#include <common.h> #include <linux/bitops.h> #include "musb_core.h"
drivers/usb/musb/musb_hcd.c +0 -1
@@ -7,7 +7,6 @@* Author: Thomas Abraham [email protected], Texas Instruments */ -#include <common.h> #include <log.h> #include <usb.h> #include <linux/delay.h>
drivers/usb/musb/musb_udc.c +0 -1
@@ -37,7 +37,6 @@* ------------------------------------------------------------------------- */ -#include <common.h> #include <hang.h> #include <serial.h> #include <usbdevice.h>
drivers/usb/phy/rockchip_usb2_phy.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2016 Rockchip Electronics Co., Ltd */ -#include <common.h> #include <hang.h> #include <log.h> #include <asm/global_data.h>
drivers/usb/ulpi/omap-ulpi-viewport.c +0 -1
@@ -7,7 +7,6 @@* Author: Govindraj R <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/io.h> #include <linux/delay.h>
drivers/usb/ulpi/ulpi-viewport.c +0 -1
@@ -13,7 +13,6 @@* Copyright (C) 2011 Google, Inc. */ -#include <common.h> #include <asm/io.h> #include <linux/delay.h> #include <usb/ulpi.h>
drivers/usb/ulpi/ulpi.c +0 -1
@@ -19,7 +19,6 @@* Freescale Semiconductors */ -#include <common.h> #include <exports.h> #include <log.h> #include <linux/delay.h>
Signature · 1 line
2.34.1
Re: [PATCH 73/81] usb: Remove <common.h> and add needed includes
Hi Tom,
Thank you for the patch
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>
[...]
Quoted 17 lines
drivers/usb/host/xhci-rcar.c +0
-1@@ -5,7 +5,6 @@* Renesas RCar USB HOST xHCI Controller */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/usb/host/xhci-ring.c +0
-0
drivers/usb/host/xhci-ring.c line 16
Quoted 4 lines
drivers/usb/host/xhci-ring.c +0
-1@@ -13,7 +13,6 @@* Vikas Sajjan <[email protected]> */ -#include <common.h>
This generates the following build warning with
khadas-vim3_android_defconfig:
drivers/usb/host/xhci-ring.c: In function 'xhci_wait_for_event':drivers/usb/host/xhci-ring.c:464:28: warning: implicit declaration of function 'get_timer'; did you mean 'get_mem'? [-Wimplicit-function-declaration]
464 | unsigned long ts = get_timer(0);
| ^~~~~~~~~
| get_memAdding: "#include <time.h>" fixes the warning.
With the above fix included:
Quoted 15 lines
drivers/usb/host/xhci-ring.c +0
-0#include <cpu_func.h> #include <log.h> #include <asm/byteorder.h> drivers/usb/host/xhci.c +0
-1@@ -19,7 +19,6 @@* The quirk devices support hasn't been given yet. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device_compat.h>
[...]
Re: [PATCH 73/81] usb: Remove <common.h> and add needed includes
Quoted 44 lines · Mattijs Korpershoek
Hi Tom,
Thank you for the patch
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>[...]
Quoted 17 lines
drivers/usb/host/xhci-rcar.c +0
-1@@ -5,7 +5,6 @@* Renesas RCar USB HOST xHCI Controller */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/usb/host/xhci-ring.c +0
-0drivers/usb/host/xhci-ring.c line 16
Quoted 4 lines
drivers/usb/host/xhci-ring.c +0
-1@@ -13,7 +13,6 @@* Vikas Sajjan <[email protected]> */ -#include <common.h> This generates the following build warning with
khadas-vim3_android_defconfig:
drivers/usb/host/xhci-ring.c: In function 'xhci_wait_for_event':drivers/usb/host/xhci-ring.c:464:28: warning: implicit declaration of function 'get_timer'; did you mean 'get_mem'? [-Wimplicit-function-declaration]464 | unsigned long ts = get_timer(0); | ^~~~~~~~~ | get_mem
Quoted 5 lines
Adding: "#include <
time.h>" fixes the warning.With the above fix included:
Reviewed-by Mattijs Korpershoek <[email protected]>
Did you have the full series applied? I don't see the warning here (nor in CI) and I suspect that:
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
is what resolves this warning.
Signature · 1 line
Tom
Re: [PATCH 73/81] usb: Remove <common.h> and add needed includes
Hi Tom,
Quoted 47 lines · Tom Rini
Quoted 46 lines · Mattijs Korpershoek
Hi Tom,
Thank you for the patch
Quoted 4 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>[...]
Quoted 17 lines
drivers/usb/host/xhci-rcar.c +0
-1@@ -5,7 +5,6 @@* Renesas RCar USB HOST xHCI Controller */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/usb/host/xhci-ring.c +0
-0drivers/usb/host/xhci-ring.c line 16
Quoted 4 lines
drivers/usb/host/xhci-ring.c +0
-1@@ -13,7 +13,6 @@* Vikas Sajjan <[email protected]> */ -#include <common.h> This generates the following build warning with
khadas-vim3_android_defconfig:
drivers/usb/host/xhci-ring.c: In function 'xhci_wait_for_event':drivers/usb/host/xhci-ring.c:464:28: warning: implicit declaration of function 'get_timer'; did you mean 'get_mem'? [-Wimplicit-function-declaration]464 | unsigned long ts = get_timer(0); | ^~~~~~~~~ | get_memAdding: "#include <
time.h>" fixes the warning.
Quoted 8 lines
Quoted 3 lines
With the above fix included:
Reviewed-by Mattijs Korpershoek <[email protected]>Did you have the full series applied? I don't see the warning here (nor in CI) and I suspect that:
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
is what resolves this warning.
No, I did not apply the full series. I had some conflicts on both:
- master: ff0de1f0557e ("Merge patch series "Update PHYTEC SOM Detection"")
- next: bc39e0677816 ("Subtree merge tag 'v6.8-dts' of devicetree-rebasing repo [1] into dts/upstream")
The above patch resolves the warning, indeed!
Thanks
Quoted 3 lines
Signature · 2 lines
-- Tom
Re: [PATCH 73/81] usb: Remove <common.h> and add needed includes
In reply to Tom RiniQuoted 1,587 lines · Tom Rini
Remove <
common.h> from this driver directory and when needed add missing include files directly.Signed-off-by Tom Rini <[email protected]>---
Cc: Marek Vasut <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Eddie Cai <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Caleb Connolly <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Ryder Lee <[email protected]>
Cc: Weijie Gao <[email protected]>
Cc: Chunfeng Yun <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Nobuhiro Iwamatsu <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Nishanth Menon <[email protected]>
Cc: Igor Prusov <[email protected]>
Cc: Roger Quadros <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Jonas Karlman <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Venkatesh Yadav Abbarapu <[email protected]>
Cc: Peter Korsgaard <[email protected]>
Cc: Oleksandr Suvorov <[email protected]>
Cc: Alexey Romanov <[email protected]>
Cc: Sean Anderson <[email protected]>
Cc: Miquel Raynal <[email protected]>
Cc: Teik Heng Chong <[email protected]>
Cc: Tim Harvey <[email protected]>
Cc: Mathieu Othacehe <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Johan Jonker <[email protected]>
Cc: Xavier Drudis Ferran <[email protected]>
Cc: Fabrice Gasnier <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Sam Edwards <[email protected]>
Cc: Andre Przywara <[email protected]>--- drivers/usb/cdns3/cdns3-ti.c | 1 - drivers/usb/cdns3/core.c | 1 - drivers/usb/common/common.c | 1 - drivers/usb/common/fsl-dt-fixup.c | 1 - drivers/usb/common/fsl-errata.c | 1 - drivers/usb/dwc3/core.c | 1 - drivers/usb/dwc3/dwc3-generic.c | 1 - drivers/usb/dwc3/dwc3-layerscape.c | 1 - drivers/usb/dwc3/dwc3-meson-g12a.c | 1 - drivers/usb/dwc3/dwc3-meson-gxl.c | 1 - drivers/usb/dwc3/dwc3-omap.c | 1 - drivers/usb/dwc3/ep0.c | 1 - drivers/usb/dwc3/gadget.c | 1 - drivers/usb/dwc3/samsung_usb_phy.c | 2 +- drivers/usb/dwc3/ti_usb_phy.c | 1 - drivers/usb/emul/sandbox_flash.c | 1 - drivers/usb/emul/sandbox_hub.c | 1 - drivers/usb/emul/sandbox_keyb.c | 1 - drivers/usb/emul/usb-emul-uclass.c | 1 - drivers/usb/eth/asix.c | 1 - drivers/usb/eth/asix88179.c | 1 - drivers/usb/eth/mcs7830.c | 1 - drivers/usb/eth/r8152.c | 1 - drivers/usb/eth/r8152_fw.c | 1 - drivers/usb/eth/smsc95xx.c | 1 - drivers/usb/eth/usb_ether.c | 1 - drivers/usb/gadget/at91_udc.c | 1 - drivers/usb/gadget/atmel_usba_udc.c | 1 - drivers/usb/gadget/bcm_udc_otg_phy.c | 1 - drivers/usb/gadget/ci_udc.c | 1 - drivers/usb/gadget/config.c | 1 - drivers/usb/gadget/dwc2_udc_otg.c | 1 - drivers/usb/gadget/dwc2_udc_otg_phy.c | 1 - drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 1 - drivers/usb/gadget/ep0.c | 1 - drivers/usb/gadget/epautoconf.c | 1 - drivers/usb/gadget/ether.c | 1 - drivers/usb/gadget/f_acm.c | 1 - drivers/usb/gadget/f_dfu.c | 1 - drivers/usb/gadget/f_fastboot.c | 1 - drivers/usb/gadget/f_mass_storage.c | 1 - drivers/usb/gadget/f_rockusb.c | 1 - drivers/usb/gadget/f_sdp.c | 1 - drivers/usb/gadget/f_thor.c | 1 - drivers/usb/gadget/g_dnl.c | 1 - drivers/usb/gadget/max3420_udc.c | 1 - drivers/usb/gadget/rndis.c | 1 - drivers/usb/gadget/udc/udc-core.c | 1 - drivers/usb/gadget/udc/udc-uclass.c | 1 - drivers/usb/gadget/usbstring.c | 1 - drivers/usb/host/dwc2.c | 1 - drivers/usb/host/dwc3-of-simple.c | 1 - drivers/usb/host/dwc3-sti-glue.c | 1 - drivers/usb/host/ehci-atmel.c | 1 - drivers/usb/host/ehci-exynos.c | 1 - drivers/usb/host/ehci-fsl.c | 1 - drivers/usb/host/ehci-generic.c | 1 - drivers/usb/host/ehci-hcd.c | 1 - drivers/usb/host/ehci-marvell.c | 1 - drivers/usb/host/ehci-msm.c | 1 - drivers/usb/host/ehci-mx5.c | 1 - drivers/usb/host/ehci-mx6.c | 1 - drivers/usb/host/ehci-mxs.c | 1 - drivers/usb/host/ehci-npcm.c | 1 - drivers/usb/host/ehci-omap.c | 2 +- drivers/usb/host/ehci-pci.c | 1 - drivers/usb/host/ehci-tegra.c | 1 - drivers/usb/host/ehci-vf.c | 1 - drivers/usb/host/ehci-zynq.c | 1 - drivers/usb/host/ohci-at91.c | 1 - drivers/usb/host/ohci-da8xx.c | 1 - drivers/usb/host/ohci-generic.c | 1 - drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-lpc32xx.c | 1 - drivers/usb/host/ohci-npcm.c | 1 - drivers/usb/host/ohci-pci.c | 1 - drivers/usb/host/r8a66597-hcd.c | 1 - drivers/usb/host/usb-sandbox.c | 1 - drivers/usb/host/usb-uclass.c | 1 - drivers/usb/host/usb_bootdev.c | 1 - drivers/usb/host/xhci-brcm.c | 1 - drivers/usb/host/xhci-dwc3.c | 1 - drivers/usb/host/xhci-exynos5.c | 1 - drivers/usb/host/xhci-fsl.c | 1 - drivers/usb/host/xhci-mem.c | 1 - drivers/usb/host/xhci-mtk.c | 1 - drivers/usb/host/xhci-mvebu.c | 1 - drivers/usb/host/xhci-omap.c | 1 - drivers/usb/host/xhci-pci.c | 1 - drivers/usb/host/xhci-rcar.c | 1 - drivers/usb/host/xhci-ring.c | 1 - drivers/usb/host/xhci.c | 1 - drivers/usb/isp1760/isp1760-hcd.c | 1 - drivers/usb/isp1760/isp1760-if.c | 1 - drivers/usb/isp1760/isp1760-uboot.c | 1 - drivers/usb/mtu3/mtu3_plat.c | 1 - drivers/usb/musb-new/am35x.c | 1 - drivers/usb/musb-new/da8xx.c | 1 - drivers/usb/musb-new/mt85xx.c | 1 - drivers/usb/musb-new/musb_core.c | 1 - drivers/usb/musb-new/musb_dsps.c | 1 - drivers/usb/musb-new/musb_gadget.c | 1 - drivers/usb/musb-new/musb_gadget_ep0.c | 1 - drivers/usb/musb-new/musb_host.c | 1 - drivers/usb/musb-new/musb_uboot.c | 1 - drivers/usb/musb-new/omap2430.c | 1 - drivers/usb/musb-new/pic32.c | 1 - drivers/usb/musb-new/sunxi.c | 1 - drivers/usb/musb-new/ti-musb.c | 1 - drivers/usb/musb-new/ux500.c | 1 - drivers/usb/musb/am35x.c | 1 - drivers/usb/musb/musb_core.c | 1 - drivers/usb/musb/musb_hcd.c | 1 - drivers/usb/musb/musb_udc.c | 1 - drivers/usb/phy/rockchip_usb2_phy.c | 1 - drivers/usb/ulpi/omap-ulpi-viewport.c | 1 - drivers/usb/ulpi/ulpi-viewport.c | 1 - drivers/usb/ulpi/ulpi.c | 1 - 118 files changed, 3 insertions(+), 118 deletions(-)drivers/usb/cdns3/cdns3-ti.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/usb/cdns3/core.c +0
-1@@ -11,7 +11,6 @@* Roger Quadros <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/device-internal.h> drivers/usb/common/common.c +0
-1@@ -6,7 +6,6 @@* Texas Instruments Incorporated, <www.ti.com> */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <linux/printk.h> drivers/usb/common/fsl-dt-fixup.c +0
-1@@ -7,7 +7,6 @@* Author: Tor Krill [email protected] */ -#include <common.h> #include <log.h> #include <usb.h> #include <asm/io.h> drivers/usb/common/fsl-errata.c +0
-1@@ -5,7 +5,6 @@* Copyright 2013 Freescale Semiconductor, Inc. */ -#include <common.h> #include <hwconfig.h> #include <fsl_errata.h> #include <fsl_usb.h> drivers/usb/dwc3/core.c +0
-1@@ -13,7 +13,6 @@* commit cd72f890d2 : usb: dwc3: core: enable phy suspend quirk on non-FPGA */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <malloc.h> drivers/usb/dwc3/dwc3-generic.c +0
-1@@ -7,7 +7,6 @@* Based on dwc3-omap.c. */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <dm.h> drivers/usb/dwc3/dwc3-layerscape.c +0
-1@@ -7,7 +7,6 @@* Based on dwc3-generic.c. */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dm/device-internal.h> drivers/usb/dwc3/dwc3-meson-g12a.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <log.h> #include <dm.h> #include <dm/device-internal.h> drivers/usb/dwc3/dwc3-meson-gxl.c +0
-1@@ -7,7 +7,6 @@*/ #define DEBUG -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/lists.h> drivers/usb/dwc3/dwc3-omap.c +0
-1@@ -13,7 +13,6 @@* commit 7ee2566ff5 : usb: dwc3: dwc3-omap: get rid of ->prepare()/->complete() */ -#include <common.h> #include <malloc.h> #include <asm/io.h> #include <dm.h> drivers/usb/dwc3/ep0.c +0
-1@@ -12,7 +12,6 @@* * commit c00552ebaf : Merge 3.18-rc7 into usb-next */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device_compat.h> drivers/usb/dwc3/gadget.c +0
-1@@ -13,7 +13,6 @@* commit 8e74475b0e : usb: dwc3: gadget: use udc-core's reset notifier */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> drivers/usb/dwc3/samsung_usb_phy.c +1
-1@@ -7,7 +7,7 @@* Author: Joonyoung Shim <[email protected]> */ -#include <common.h> +#include <asm/io.h> #include <asm/arch/power.h> #include <asm/arch/xhci-exynos.h> #include <linux/delay.h> drivers/usb/dwc3/ti_usb_phy.c +0
-1@@ -16,7 +16,6 @@* and remove" for phy-omap-usb2.c */ -#include <common.h> #include <malloc.h> #include <ti-usb-phy-uboot.h> #include <dm/device_compat.h> drivers/usb/emul/sandbox_flash.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_USB -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h> drivers/usb/emul/sandbox_hub.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h> drivers/usb/emul/sandbox_keyb.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <os.h> drivers/usb/emul/usb-emul-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_USB_EMUL -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h> drivers/usb/eth/asix.c +0
-1@@ -5,7 +5,6 @@* Patched for AX88772B by Antmicro Ltd <www.antmicro.com> */ -#include <common.h> #include <dm.h> #include <log.h> #include <net.h> drivers/usb/eth/asix88179.c +0
-1@@ -5,7 +5,6 @@* from the Linux AX88179_178a driver */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h> drivers/usb/eth/mcs7830.c +0
-1@@ -9,7 +9,6 @@* MOSCHIP MCS7830 based (7730/7830/7832) USB 2.0 Ethernet Devices */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/usb/eth/r8152.c +0
-1@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/usb/eth/r8152_fw.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 Realtek Semiconductor Corp. All rights reserved. * */ -#include <common.h> #include <dm.h> #include <errno.h> #include <linux/bitops.h> drivers/usb/eth/smsc95xx.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2007-2008 SMSC (Steve Glendinning) */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/usb/eth/usb_ether.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/usb/gadget/at91_udc.c +0
-1@@ -13,7 +13,6 @@#undef VERBOSE_DEBUG#undef PACKET_TRACE -#include <common.h> #include <dm/devres.h> #include <linux/bug.h> #include <linux/err.h> drivers/usb/gadget/atmel_usba_udc.c +0
-1@@ -7,7 +7,6 @@* Bo Shen <[email protected]> */ -#include <common.h> #include <linux/bitops.h> #include <linux/errno.h> #include <asm/gpio.h> drivers/usb/gadget/bcm_udc_otg_phy.c +0
-1@@ -4,7 +4,6 @@*/ #include <config.h> -#include <common.h> #include <asm/io.h> #include <asm/arch/sysmap.h> #include <asm/kona-common/clk.h> drivers/usb/gadget/ci_udc.c +0
-1@@ -7,7 +7,6 @@* [email protected], 27-Jan-01. */ -#include <common.h> #include <command.h> #include <config.h> #include <cpu_func.h> drivers/usb/gadget/config.c +0
-1@@ -8,7 +8,6 @@* Remy Bohmer <[email protected]> */ -#include <common.h> #include <asm/unaligned.h> #include <linux/errno.h> #include <linux/list.h> drivers/usb/gadget/dwc2_udc_otg.c +0
-1@@ -17,7 +17,6 @@* Lukasz Majewski <[email protected]> */ #undef DEBUG -#include <common.h> #include <clk.h> #include <dm.h> #include <generic-phy.h> drivers/usb/gadget/dwc2_udc_otg_phy.c +0
-1@@ -17,7 +17,6 @@* Lukasz Majewski <[email protected]> */ -#include <common.h> #include <linux/delay.h> #include <linux/errno.h> #include <linux/list.h> drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c +0
-1@@ -17,7 +17,6 @@* Lukasz Majewski <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <linux/bug.h> drivers/usb/gadget/ep0.c +0
-1@@ -36,7 +36,6 @@* XXX */ -#include <common.h> #include <serial.h> #include <usbdevice.h> drivers/usb/gadget/epautoconf.c +0
-1@@ -8,7 +8,6 @@* Remy Bohmer <[email protected]> */ -#include <common.h> #include <linux/usb/ch9.h> #include <linux/errno.h> #include <linux/usb/gadget.h> drivers/usb/gadget/ether.c +0
-1@@ -7,7 +7,6 @@* Copyright (C) 2008 Nokia Corporation */ -#include <common.h> #include <console.h> #include <env.h> #include <log.h> drivers/usb/gadget/f_acm.c +0
-1@@ -10,7 +10,6 @@*/ #include <circbuf.h> -#include <common.h> #include <console.h> #include <errno.h> #include <g_dnl.h> drivers/usb/gadget/f_dfu.c +0
-1@@ -16,7 +16,6 @@#include <env.h> #include <errno.h> -#include <common.h> #include <log.h> #include <malloc.h> drivers/usb/gadget/f_fastboot.c +0
-1@@ -11,7 +11,6 @@*/ #include <command.h> #include <config.h> -#include <common.h> #include <env.h> #include <errno.h> #include <fastboot.h> drivers/usb/gadget/f_mass_storage.c +0
-1@@ -244,7 +244,6 @@#include <hexdump.h> #include <log.h> #include <malloc.h> -#include <common.h> #include <console.h> #include <g_dnl.h> #include <dm/devres.h> drivers/usb/gadget/f_rockusb.c +0
-1@@ -6,7 +6,6 @@*/ #include <command.h> #include <config.h> -#include <common.h> #include <env.h> #include <errno.h> #include <log.h> drivers/usb/gadget/f_sdp.c +0
-1@@ -17,7 +17,6 @@*/ #include <errno.h> -#include <common.h> #include <console.h> #include <env.h> #include <log.h> drivers/usb/gadget/f_thor.c +0
-1@@ -15,7 +15,6 @@*/ #include <command.h> -#include <common.h> #include <console.h> #include <dm.h> #include <errno.h> drivers/usb/gadget/g_dnl.c +0
-1@@ -6,7 +6,6 @@* Lukasz Majewski <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> drivers/usb/gadget/max3420_udc.c +0
-1@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <linux/errno.h> #include <linux/delay.h> #include <asm/gpio.h> drivers/usb/gadget/rndis.c +0
-1@@ -18,7 +18,6 @@* updates to merge with Linux 2.6, better match RNDIS spec */ -#include <common.h> #include <log.h> #include <net.h> #include <malloc.h> drivers/usb/gadget/udc/udc-core.c +0
-1@@ -19,7 +19,6 @@#include <malloc.h> #include <asm/cache.h> #include <linux/dma-mapping.h> -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <linux/usb/ch9.h> drivers/usb/gadget/udc/udc-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_USB_GADGET_GENERIC -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <linux/printk.h> drivers/usb/gadget/usbstring.c +0
-1@@ -6,7 +6,6 @@* Remy Bohmer <[email protected]> */ -#include <common.h> #include <linux/errno.h> #include <linux/usb/ch9.h> #include <linux/usb/gadget.h> drivers/usb/host/dwc2.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2014 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> drivers/usb/host/dwc3-of-simple.c +0
-1@@ -10,7 +10,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <reset.h> #include <clk.h> drivers/usb/host/dwc3-sti-glue.c +0
-1@@ -6,7 +6,6 @@* Author(s): Patrice Chotard, <[email protected]> for STMicroelectronics. */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h> drivers/usb/host/ehci-atmel.c +0
-1@@ -5,7 +5,6 @@* Written-by: Bo Shen <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/usb/host/ehci-exynos.c +0
-1@@ -6,7 +6,6 @@* Vivek Gautam <[email protected]> */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/usb/host/ehci-fsl.c +0
-1@@ -7,7 +7,6 @@* Author: Tor Krill [email protected] */ -#include <common.h> #include <env.h> #include <log.h> #include <pci.h> drivers/usb/host/ehci-generic.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2015 Alexey Brodkin <[email protected]> */ -#include <common.h> #include <clk.h> #include <log.h> #include <dm/device_compat.h> drivers/usb/host/ehci-hcd.c +0
-1@@ -6,7 +6,6 @@* * All rights reserved. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <errno.h> drivers/usb/host/ehci-marvell.c +0
-1@@ -5,7 +5,6 @@* Written-by: Prafulla Wadaskar <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/global_data.h> #include <asm/io.h> drivers/usb/host/ehci-msm.c +0
-1@@ -7,7 +7,6 @@* Based on Linux driver */ -#include <common.h> #include <dm.h> #include <dm/lists.h> #include <errno.h> drivers/usb/host/ehci-mx5.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <log.h> #include <usb.h> #include <errno.h> drivers/usb/host/ehci-mx6.c +0
-1@@ -4,7 +4,6 @@* Copyright (C) 2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <clk.h> #include <log.h> #include <usb.h> drivers/usb/host/ehci-mxs.c +0
-1@@ -6,7 +6,6 @@* on behalf of DENX Software Engineering GmbH */ -#include <common.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <errno.h> drivers/usb/host/ehci-npcm.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <reset.h> drivers/usb/host/ehci-omap.c +1
-1@@ -10,8 +10,8 @@* */ -#include <common.h> #include <log.h> +#include <time.h> #include <usb.h> #include <linux/delay.h> #include <usb/ulpi.h> drivers/usb/host/ehci-pci.c +0
-1@@ -4,7 +4,6 @@* All rights reserved. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <init.h> drivers/usb/host/ehci-tegra.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2013 Lucas Stach */ -#include <common.h> #include <dm.h> #include <log.h> #include <linux/delay.h> drivers/usb/host/ehci-vf.c +0
-1@@ -6,7 +6,6 @@* Based on ehci-mx6 driver */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h> drivers/usb/host/ehci-zynq.c +0
-1@@ -5,7 +5,6 @@* USB Low level initialization(Specific to zynq) */ -#include <common.h> #include <dm.h> #include <usb.h> #include <asm/arch/hardware.h> drivers/usb/host/ohci-at91.c +0
-1@@ -4,7 +4,6 @@* DENX Software Engineering <[email protected]> */ -#include <common.h> #include <asm/arch/clk.h> int usb_cpu_init (void )drivers/usb/host/ohci-da8xx.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2012 Sughosh Ganu <[email protected]> */ -#include <common.h> #include <malloc.h> #include <asm/io.h> #include <clk.h> drivers/usb/host/ohci-generic.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2015 Alexey Brodkin <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/usb/host/ohci-hcd.c +1
-1@@ -27,7 +27,7 @@* to activate workaround for bug #41 or this driver will NOT work! */ -#include <common.h> +#include <config.h> #include <cpu_func.h> #include <asm/byteorder.h> #include <dm.h> drivers/usb/host/ohci-lpc32xx.c +0
-1@@ -7,7 +7,6 @@* Copyright (c) 2015 Tyco Fire Protection Products. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <init.h> drivers/usb/host/ohci-npcm.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2021 Nuvoton Technology Corp. */ -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <reset.h> drivers/usb/host/ohci-pci.c +0
-1@@ -5,7 +5,6 @@* */ -#include <common.h> #include <dm.h> #include <errno.h> #include <pci.h> drivers/usb/host/r8a66597-hcd.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2008 Yoshihiro Shimoda <[email protected]> */ -#include <common.h> #include <console.h> #include <dm.h> #include <log.h> drivers/usb/host/usb-sandbox.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <usb.h> drivers/usb/host/usb-uclass.c +0
-1@@ -8,7 +8,6 @@#define LOG_CATEGORY UCLASS_USB -#include <common.h> #include <bootdev.h> #include <dm.h> #include <errno.h> drivers/usb/host/usb_bootdev.c +0
-1@@ -6,7 +6,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <bootdev.h> #include <dm.h> #include <usb.h> drivers/usb/host/xhci-brcm.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2019 Broadcom. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <usb.h> drivers/usb/host/xhci-dwc3.c +0
-1@@ -8,7 +8,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <log.h> drivers/usb/host/xhci-exynos5.c +0
-1@@ -12,7 +12,6 @@* exynos5 specific PHY-init sequence. */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/usb/host/xhci-fsl.c +0
-1@@ -7,7 +7,6 @@* Author: Ramneek Mehresh<[email protected]> */ -#include <common.h> #include <log.h> #include <usb.h> #include <linux/errno.h> drivers/usb/host/xhci-mem.c +0
-1@@ -13,7 +13,6 @@* Vikas Sajjan <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <log.h> drivers/usb/host/xhci-mtk.c +0
-1@@ -5,7 +5,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <dm/devres.h> drivers/usb/host/xhci-mvebu.c +0
-1@@ -5,7 +5,6 @@* MVEBU USB HOST xHCI Controller */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/usb/host/xhci-omap.c +0
-1@@ -8,7 +8,6 @@* Author: Dan Murphy <[email protected]> */ -#include <common.h> #include <log.h> #include <usb.h> #include <linux/errno.h> drivers/usb/host/xhci-pci.c +0
-1@@ -5,7 +5,6 @@* All rights reserved. */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <init.h> drivers/usb/host/xhci-rcar.c +0
-1@@ -5,7 +5,6 @@* Renesas RCar USB HOST xHCI Controller */ -#include <common.h> #include <clk.h> #include <dm.h> #include <fdtdec.h> drivers/usb/host/xhci-ring.c +0
-1@@ -13,7 +13,6 @@* Vikas Sajjan <[email protected]> */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <asm/byteorder.h> drivers/usb/host/xhci.c +0
-1@@ -19,7 +19,6 @@* The quirk devices support hasn't been given yet. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <dm/device_compat.h> drivers/usb/isp1760/isp1760-hcd.c +0
-1@@ -7,7 +7,6 @@*/ #include <hexdump.h> -#include <common.h> #include <asm/cache.h> #include <cpu_func.h> #include <dm.h> drivers/usb/isp1760/isp1760-if.c +0
-1@@ -6,7 +6,6 @@* (c) 2007 Sebastian Siewior <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/device_compat.h> drivers/usb/isp1760/isp1760-uboot.c +0
-1@@ -6,7 +6,6 @@* */ -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <dm/device_compat.h> drivers/usb/mtu3/mtu3_plat.c +0
-1@@ -5,7 +5,6 @@* Author: Chunfeng Yun <[email protected]> */ -#include <common.h> #include <dm/lists.h> #include <linux/iopoll.h> drivers/usb/musb-new/am35x.c +0
-1@@ -24,7 +24,6 @@#include <plat/usb.h> #else -#include <common.h> #include <asm/omap_musb.h> #include <linux/bug.h> #include <linux/delay.h> drivers/usb/musb-new/da8xx.c +0
-1@@ -13,7 +13,6 @@* */ -#include <common.h> #include <dm.h> #include <log.h> #include <dm/device-internal.h> drivers/usb/musb-new/mt85xx.c +0
-1@@ -9,7 +9,6 @@* * This file is part of the Inventra Controller Driver for Linux. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/usb/musb-new/musb_core.c +0
-1@@ -79,7 +79,6 @@#include <linux/platform_device.h> #include <linux/io.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <usb.h> drivers/usb/musb-new/musb_dsps.c +0
-1@@ -31,7 +31,6 @@#include <plat/usb.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <asm/omap_musb.h> drivers/usb/musb-new/musb_gadget.c +0
-1@@ -22,7 +22,6 @@#include <linux/dma-mapping.h> #include <linux/slab.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/bug.h> drivers/usb/musb-new/musb_gadget_ep0.c +0
-1@@ -18,7 +18,6 @@#include <linux/device.h> #include <linux/interrupt.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/printk.h> drivers/usb/musb-new/musb_host.c +0
-1@@ -21,7 +21,6 @@#include <linux/list.h> #include <linux/dma-mapping.h> #else -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <usb.h> drivers/usb/musb-new/musb_uboot.c +0
-1@@ -1,4 +1,3 @@ -#include <common.h> #include <console.h> #include <dm.h> #include <malloc.h> drivers/usb/musb-new/omap2430.c +0
-1@@ -8,7 +8,6 @@* * This file is part of the Inventra Controller Driver for Linux. */ -#include <common.h> #include <dm.h> #include <log.h> #include <serial.h> drivers/usb/musb-new/pic32.c +0
-1@@ -9,7 +9,6 @@* Based on the dsps "glue layer" code. */ -#include <common.h> #include <dm.h> #include <asm/global_data.h> #include <dm/device_compat.h> drivers/usb/musb-new/sunxi.c +0
-1@@ -15,7 +15,6 @@* * This file is part of the Inventra Controller Driver for Linux. */ -#include <common.h> #include <clk.h> #include <dm.h> #include <generic-phy.h> drivers/usb/musb-new/ti-musb.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2016 * Texas Instruments Incorporated, <www.ti.com> */ -#include <common.h> #include <command.h> #include <console.h> #include <dm.h> drivers/usb/musb-new/ux500.c +0
-1@@ -1,7 +1,6 @@// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2019 Stephan Gerhold */ -#include <common.h> #include <dm.h> #include <generic-phy.h> #include <dm/device_compat.h> drivers/usb/musb/am35x.c +0
-1@@ -9,7 +9,6 @@* Copyright (c) 2010 Texas Instruments Incorporated */ -#include <common.h> #include <linux/delay.h> #include "am35x.h" drivers/usb/musb/musb_core.c +0
-1@@ -8,7 +8,6 @@* Author: Thomas Abraham [email protected], Texas Instruments */ -#include <common.h> #include <linux/bitops.h> #include "musb_core.h" drivers/usb/musb/musb_hcd.c +0
-1@@ -7,7 +7,6 @@* Author: Thomas Abraham [email protected], Texas Instruments */ -#include <common.h> #include <log.h> #include <usb.h> #include <linux/delay.h> drivers/usb/musb/musb_udc.c +0
-1@@ -37,7 +37,6 @@* ------------------------------------------------------------------------- */ -#include <common.h> #include <hang.h> #include <serial.h> #include <usbdevice.h> drivers/usb/phy/rockchip_usb2_phy.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Rockchip Electronics Co., Ltd */ -#include <common.h> #include <hang.h> #include <log.h> #include <asm/global_data.h> drivers/usb/ulpi/omap-ulpi-viewport.c +0
-1@@ -7,7 +7,6 @@* Author: Govindraj R <[email protected]> */ -#include <common.h> #include <log.h> #include <asm/io.h> #include <linux/delay.h> drivers/usb/ulpi/ulpi-viewport.c +0
-1@@ -13,7 +13,6 @@* Copyright (C) 2011 Google, Inc. */ -#include <common.h> #include <asm/io.h> #include <linux/delay.h> #include <usb/ulpi.h> drivers/usb/ulpi/ulpi.c +0
-2@@ -19,7 +19,6 @@* Freescale Semiconductors */ -#include <common.h> #include <exports.h> #include <log.h> #include <linux/delay.h> --
Quoted 2 lines
2.34.1
There is a warning for RISC-V maybe to do with having only the generic find_next_zero_bit and not an optimized one in arch/riscv/include/asm/bitops.h:
CC drivers/usb/cdns3/gadget.o
In file included from drivers/usb/cdns3/gadget.c:70:include/linux/bitmap.h: In function ‘bitmap_find_next_zero_area’:include/linux/bitmap.h:170:17: warning: implicit declaration of function ‘find_next_zero_bit’; did you mean ‘find_next_bit’? [-Wimplicit-function-declaration]
170 | index = find_next_zero_bit(map, size, start);
| ^~~~~~~~~~~~~~~~~~
| find_next_bit
CC drivers/usb/cdns3/ep0.o
In file included from include/linux/usb/composite.h:26,
from drivers/usb/cdns3/ep0.c:19:include/linux/bitmap.h: In function ‘bitmap_find_next_zero_area’:include/linux/bitmap.h:170:17: warning: implicit declaration of function ‘find_next_zero_bit’; did you mean ‘find_next_bit’? [-Wimplicit-function-declaration]
170 | index = find_next_zero_bit(map, size, start);
| ^~~~~~~~~~~~~~~~~~
| find_next_bit CC drivers/usb/cdns3/host.o
I would guess that for architectures that have optimized versions there is no implicit declaration. This was HEAD (2f1e76bc) with patch series 405474 "Add Starfive JH7110 Cadence USB driver" applied and starfive_visionfive2_defconfig. -E