mmc: Migrate MMC_SUPPORTS_TUNING to Kconfig
Subsystems (123)
Re: [PATCH 73/81] usb: Remove <common.h> and add needed includes
In reply to E ShattowQuoted 1,614 lines · E Shattow
Quoted 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_bitand not an optimized one inarch/riscv/include/asm/bitops.h:CC
drivers/usb/cdns3/gadget.o
In file included fromdrivers/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
Quoted 6 lines
CC
drivers/usb/cdns3/host.oI 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 andstarfive_visionfive2_defconfig. -E
I suspect you missed one of the earlier series, all platforms compile without warnings in the end.
Signature · 1 line
Tom
PATCH 74/81 video: 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: Anatolij Gustschin <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Johan Jonker <[email protected]>
--- drivers/video/anx9804.c | 1 - drivers/video/atmel_hlcdfb.c | 1 - drivers/video/atmel_lcdfb.c | 1 - drivers/video/backlight-uclass.c | 1 - drivers/video/backlight_gpio.c | 1 - drivers/video/bcm2835.c | 1 - drivers/video/bmp.c | 1 - drivers/video/bochs.c | 1 - drivers/video/bridge/anx6345.c | 1 - drivers/video/bridge/ps862x.c | 1 - drivers/video/bridge/ptn3460.c | 1 - drivers/video/bridge/ssd2825.c | 1 - drivers/video/bridge/video-bridge-uclass.c | 1 - drivers/video/broadwell_igd.c | 2 +- drivers/video/console_normal.c | 1 - drivers/video/console_rotate.c | 1 - drivers/video/console_truetype.c | 1 - drivers/video/coreboot.c | 1 - drivers/video/display-uclass.c | 1 - drivers/video/dsi-host-uclass.c | 1 - drivers/video/dw_hdmi.c | 3 ++- drivers/video/dw_mipi_dsi.c | 1 - drivers/video/efi.c | 1 - drivers/video/endeavoru-panel.c | 1 - drivers/video/exynos/exynos_dp.c | 1 - drivers/video/exynos/exynos_dp_lowlevel.c | 1 - drivers/video/exynos/exynos_fb.c | 1 - drivers/video/exynos/exynos_mipi_dsi.c | 1 - drivers/video/exynos/exynos_mipi_dsi_common.c | 1 - drivers/video/exynos/exynos_mipi_dsi_lowlevel.c | 1 - drivers/video/himax-hx8394.c | 1 - drivers/video/hitachi_tx18d42vm_lcd.c | 1 - drivers/video/hx8238d.c | 1 - drivers/video/ihs_video_out.c | 1 - drivers/video/imx/ipu_common.c | 2 +- drivers/video/imx/ipu_disp.c | 1 - drivers/video/imx/mxc_ipuv3_fb.c | 1 - drivers/video/ivybridge_igd.c | 1 - drivers/video/lm3533_backlight.c | 1 - drivers/video/logicore_dp_tx.c | 1 - drivers/video/mali_dp.c | 1 - drivers/video/mcde_simple.c | 1 - drivers/video/meson/meson_canvas.c | 1 - drivers/video/meson/meson_dw_hdmi.c | 1 - drivers/video/meson/meson_plane.c | 1 - drivers/video/meson/meson_vclk.c | 1 - drivers/video/meson/meson_venc.c | 1 - drivers/video/meson/meson_vpu.c | 1 - drivers/video/meson/meson_vpu_init.c | 1 - drivers/video/mipi_dsi.c | 1 - drivers/video/mvebu_lcd.c | 1 - drivers/video/mxsfb.c | 1 - drivers/video/nexell/s5pxx18_dp.c | 1 - drivers/video/nexell/s5pxx18_dp_hdmi.c | 1 - drivers/video/nexell/s5pxx18_dp_lvds.c | 2 +- drivers/video/nexell/s5pxx18_dp_mipi.c | 1 - drivers/video/nexell/s5pxx18_dp_rgb.c | 2 +- drivers/video/nexell/soc/s5pxx18_soc_disptop.h | 1 + drivers/video/nexell_display.c | 1 - drivers/video/omap3_dss.c | 1 - drivers/video/orisetech_otm8009a.c | 1 - drivers/video/panel-uclass.c | 1 - drivers/video/pwm_backlight.c | 1 - drivers/video/raydium-rm68200.c | 1 - drivers/video/renesas-r61307.c | 1 - drivers/video/renesas-r69328.c | 1 - drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 1 - drivers/video/rockchip/rk3288_hdmi.c | 1 - drivers/video/rockchip/rk3288_mipi.c | 1 - drivers/video/rockchip/rk3288_vop.c | 1 - drivers/video/rockchip/rk3399_hdmi.c | 1 - drivers/video/rockchip/rk3399_mipi.c | 1 - drivers/video/rockchip/rk3399_vop.c | 1 - drivers/video/rockchip/rk_edp.c | 1 - drivers/video/rockchip/rk_hdmi.c | 1 - drivers/video/rockchip/rk_lvds.c | 1 - drivers/video/rockchip/rk_mipi.c | 1 - drivers/video/rockchip/rk_vop.c | 1 - drivers/video/sandbox_dsi_host.c | 1 - drivers/video/sandbox_osd.c | 1 - drivers/video/sandbox_sdl.c | 1 - drivers/video/seps525.c | 1 - drivers/video/simple_panel.c | 1 - drivers/video/simplefb.c | 1 - drivers/video/ssd2828.c | 1 - drivers/video/stm32/stm32_dsi.c | 1 - drivers/video/stm32/stm32_ltdc.c | 1 - drivers/video/sunxi/lcdc.c | 1 - drivers/video/sunxi/sunxi_de2.c | 1 - drivers/video/sunxi/sunxi_display.c | 2 +- drivers/video/sunxi/sunxi_dw_hdmi.c | 1 - drivers/video/sunxi/sunxi_lcd.c | 1 - drivers/video/sunxi/tve_common.c | 1 - drivers/video/tda19988.c | 1 - drivers/video/tdo-tl070wsh30.c | 1 - drivers/video/tegra124/display.c | 2 +- drivers/video/tegra124/dp.c | 2 +- drivers/video/tegra124/sor.c | 1 - drivers/video/tegra20/mipi-phy.c | 1 - drivers/video/tegra20/tegra-dsi.c | 1 - drivers/video/tegra20/tegra-pwm-backlight.c | 1 - drivers/video/ti/tilcdc-panel.c | 1 - drivers/video/ti/tilcdc.c | 1 - drivers/video/tidss/tidss_drv.c | 1 - drivers/video/vesa.c | 1 - drivers/video/vidconsole-uclass.c | 1 - drivers/video/video-uclass.c | 1 - drivers/video/video_bmp.c | 1 - drivers/video/video_osd-uclass.c | 1 - drivers/video/videomodes.c | 1 - drivers/video/zynqmp/zynqmp_dpsub.c | 1 - 111 files changed, 10 insertions(+), 110 deletions(-)
drivers/video/anx9804.c +0 -1
@@ -9,7 +9,6 @@* interface for driving eDP TFT displays. */ -#include <common.h> #include <i2c.h> #include <linux/delay.h> #include "anx98xx-edp.h"
drivers/video/atmel_hlcdfb.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2012 Atmel Corporation */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h>
drivers/video/atmel_lcdfb.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2007 Atmel Corporation */ -#include <common.h> #include <atmel_lcd.h> #include <dm.h> #include <fdtdec.h>
drivers/video/backlight-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h>
drivers/video/backlight_gpio.c +0 -1
@@ -4,7 +4,6 @@* Author: Patrick Delaunay <[email protected]> */ -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h>
drivers/video/bcm2835.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2012 Stephen Warren */ -#include <common.h> #include <dm.h> #include <log.h> #include <video.h>
drivers/video/bmp.c +0 -1
@@ -8,7 +8,6 @@* BMP handling routines */ -#include <common.h> #include <bmp_layout.h> #include <command.h> #include <dm.h>
drivers/video/bochs.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h>
drivers/video/bridge/anx6345.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/video/bridge/ps862x.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h>
drivers/video/bridge/ptn3460.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <video_bridge.h>
drivers/video/bridge/ssd2825.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/video/bridge/video-bridge-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <dm.h> #include <errno.h> #include <edid.h>
drivers/video/broadwell_igd.c +1 -1
@@ -5,12 +5,12 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <bootstage.h> #include <dm.h> #include <init.h> #include <log.h> +#include <time.h> #include <vesa.h> #include <video.h> #include <asm/cpu.h>
drivers/video/console_normal.c +0 -1
@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h>
drivers/video/console_rotate.c +0 -1
@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h>
drivers/video/console_truetype.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2016 Google, Inc */ -#include <common.h> #include <abuf.h> #include <dm.h> #include <log.h>
drivers/video/coreboot.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <init.h> #include <vesa.h>
drivers/video/display-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_DISPLAY -#include <common.h> #include <dm.h> #include <display.h> #include <edid.h>
drivers/video/dsi-host-uclass.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_DSI_HOST -#include <common.h> #include <dm.h> #include <dsi_host.h>
drivers/video/dw_hdmi.c +2 -1
@@ -5,13 +5,14 @@* Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <fdtdec.h> #include <log.h> #include <asm/io.h> #include <i2c.h> #include <media_bus_format.h> +#include <time.h> #include <linux/delay.h> +#include <linux/errno.h> #include "dw_hdmi.h" struct tmds_n_cts {
drivers/video/dw_mipi_dsi.c +0 -1
@@ -9,7 +9,6 @@* the Linux Kernel driver drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c. */ -#include <common.h> #include <clk.h> #include <dsi_host.h> #include <dm.h>
drivers/video/efi.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY LOGC_EFI -#include <common.h> #include <dm.h> #include <efi_api.h> #include <log.h>
drivers/video/endeavoru-panel.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h>
drivers/video/exynos/exynos_dp.c +0 -1
@@ -5,7 +5,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <display.h> #include <fdtdec.h>
drivers/video/exynos/exynos_dp_lowlevel.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h>
drivers/video/exynos/exynos_fb.c +0 -1
@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <display.h> #include <div64.h> #include <dm.h>
drivers/video/exynos/exynos_mipi_dsi.c +0 -1
@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <fdtdec.h>
drivers/video/exynos/exynos_mipi_dsi_common.c +0 -1
@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h>
drivers/video/exynos/exynos_mipi_dsi_lowlevel.c +0 -1
@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <asm/arch/dsim.h> #include <asm/arch/mipi_dsim.h> #include <asm/arch/power.h>
drivers/video/himax-hx8394.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright (C) 2022 Ondrej Jirman <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h>
drivers/video/hitachi_tx18d42vm_lcd.c +0 -1
@@ -5,7 +5,6 @@* (C) Copyright 2015 Hans de Goede <[email protected]> */ -#include <common.h> #include <malloc.h> #include <linux/delay.h>
drivers/video/hx8238d.c +0 -1
@@ -12,7 +12,6 @@* */ -#include <common.h> #include <dm.h> #include <panel.h> #include <spi.h>
drivers/video/ihs_video_out.c +0 -1
@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h>
drivers/video/imx/ipu_common.c +1 -1
@@ -11,7 +11,7 @@*/ /* #define DEBUG */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h>
drivers/video/imx/ipu_disp.c +0 -1
@@ -12,7 +12,6 @@/* #define DEBUG */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h>
drivers/video/imx/mxc_ipuv3_fb.c +0 -1
@@ -10,7 +10,6 @@* (C) Copyright 2004-2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <log.h> #include <part.h> #include <asm/cache.h>
drivers/video/ivybridge_igd.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <dm.h> #include <errno.h>
drivers/video/lm3533_backlight.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/video/logicore_dp_tx.c +0 -1
@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/mali_dp.c +0 -1
@@ -5,7 +5,6 @@* */ #define DEBUG -#include <common.h> #include <malloc.h> #include <video.h> #include <dm.h>
drivers/video/mcde_simple.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 <log.h> #include <video.h>
drivers/video/meson/meson_canvas.c +0 -1
@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h>
drivers/video/meson/meson_dw_hdmi.c +0 -1
@@ -4,7 +4,6 @@* Author: Jorge Ramirez-Ortiz <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h>
drivers/video/meson/meson_plane.c +0 -1
@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitfield.h>
drivers/video/meson/meson_vclk.c +0 -1
@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <linux/bitops.h>
drivers/video/meson/meson_venc.c +0 -1
@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <fdtdec.h>
drivers/video/meson/meson_vpu.c +0 -1
@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <efi_loader.h>
drivers/video/meson/meson_vpu_init.c +0 -1
@@ -8,7 +8,6 @@#define DEBUG -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h>
drivers/video/mipi_dsi.c +0 -1
@@ -32,7 +32,6 @@* */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/mvebu_lcd.c +0 -1
@@ -5,7 +5,6 @@* Initialization of LCD interface and setup of SPLASH screen image */ -#include <common.h> #include <dm.h> #include <part.h> #include <video.h>
drivers/video/mxsfb.c +0 -1
@@ -4,7 +4,6 @@* * Copyright (C) 2011-2013 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <env.h>
drivers/video/nexell/s5pxx18_dp.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h> #include <asm/arch/reset.h>
drivers/video/nexell/s5pxx18_dp_hdmi.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h>
drivers/video/nexell/s5pxx18_dp_lvds.c +1 -1
@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/nexell.h> #include <asm/arch/reset.h>
drivers/video/nexell/s5pxx18_dp_mipi.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <asm/arch/nexell.h>
drivers/video/nexell/s5pxx18_dp_rgb.c +1 -1
@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/display.h>
drivers/video/nexell/soc/s5pxx18_soc_disptop.h +1 -0
@@ -8,6 +8,7 @@#ifndef _S5PXX18_SOC_DISPTOP_H_#define _S5PXX18_SOC_DISPTOP_H_ +#include <linux/types.h> #include "s5pxx18_soc_disptype.h" #define NUMBER_OF_DISPTOP_MODULE 1
drivers/video/nexell_display.c +0 -1
@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <dm.h> #include <mapmem.h>
drivers/video/omap3_dss.c +0 -1
@@ -25,7 +25,6 @@* MA 02111-1307 USA */ -#include <common.h> #include <asm/io.h> #include <asm/arch/dss.h>
drivers/video/orisetech_otm8009a.c +0 -1
@@ -7,7 +7,6 @@* This otm8009a panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-orisetech-otm8009a.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h>
drivers/video/panel-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL -#include <common.h> #include <dm.h> #include <panel.h>
drivers/video/pwm_backlight.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h>
drivers/video/raydium-rm68200.c +0 -1
@@ -7,7 +7,6 @@* This rm68200 panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-raydium-rm68200.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h>
drivers/video/renesas-r61307.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h>
drivers/video/renesas-r69328.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h>
drivers/video/rockchip/dw_mipi_dsi_rockchip.c +0 -1
@@ -24,7 +24,6 @@#include <dm/lists.h> #include <linux/iopoll.h> -#include <common.h> #include <log.h> #include <video.h> #include <dm/device-internal.h>
drivers/video/rockchip/rk3288_hdmi.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/rockchip/rk3288_mipi.c +0 -1
@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/rockchip/rk3288_vop.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <regmap.h>
drivers/video/rockchip/rk3399_hdmi.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/rockchip/rk3399_mipi.c +0 -1
@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/rockchip/rk3399_vop.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h>
drivers/video/rockchip/rk_edp.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/rockchip/rk_hdmi.c +0 -1
@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/rockchip/rk_lvds.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2016 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h>
drivers/video/rockchip/rk_mipi.c +0 -1
@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/rockchip/rk_vop.c +0 -1
@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/sandbox_dsi_host.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <display.h> #include <dm.h> #include <dsi_host.h>
drivers/video/sandbox_osd.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2018 * Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <malloc.h>
drivers/video/sandbox_sdl.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h>
drivers/video/seps525.c +0 -1
@@ -6,7 +6,6 @@* Copyright (C) 2020 Xilinx Inc. */ -#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h>
drivers/video/simple_panel.c +0 -1
@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <edid.h>
drivers/video/simplefb.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2017 Rob Clark */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <fdt_support.h>
drivers/video/ssd2828.c +0 -1
@@ -9,7 +9,6 @@* interface for driving a MIPI compatible TFT display. */ -#include <common.h> #include <malloc.h> #include <mipi_display.h> #include <asm/gpio.h>
drivers/video/stm32/stm32_dsi.c +0 -1
@@ -10,7 +10,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <clk.h> #include <dm.h> #include <dsi_host.h>
drivers/video/stm32/stm32_ltdc.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h>
drivers/video/sunxi/lcdc.c +0 -1
@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h>
drivers/video/sunxi/sunxi_de2.c +0 -1
@@ -5,7 +5,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h>
drivers/video/sunxi/sunxi_display.c +1 -1
@@ -6,7 +6,7 @@* (C) Copyright 2014-2015 Hans de Goede <[email protected]> */ -#include <common.h> +#include <config.h> #include <display.h> #include <dm.h> #include <cpu_func.h>
drivers/video/sunxi/sunxi_dw_hdmi.c +0 -1
@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <display.h> #include <dm.h> #include <dw_hdmi.h>
drivers/video/sunxi/sunxi_lcd.c +0 -1
@@ -5,7 +5,6 @@* (C) Copyright 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <display.h> #include <log.h> #include <video_bridge.h>
drivers/video/sunxi/tve_common.c +0 -1
@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <asm/arch/tve.h> #include <asm/io.h>
drivers/video/tda19988.c +0 -1
@@ -5,7 +5,6 @@* Based on the Linux driver, (C) 2012 Texas Instruments */ -#include <common.h> #include <dm.h> #include <display.h> #include <i2c.h>
drivers/video/tdo-tl070wsh30.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2020 BayLibre, SAS * Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h>
drivers/video/tegra124/display.c +1 -1
@@ -5,7 +5,6 @@* Extracted from Chromium coreboot commit 3f59b13d */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <edid.h>
@@ -14,6 +13,7 @@#include <edid.h> #include <log.h> #include <part.h> +#include <time.h> #include <video.h> #include <asm/gpio.h> #include <asm/io.h>
drivers/video/tegra124/dp.c +1 -1
@@ -4,12 +4,12 @@* Copyright 2014 Google Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <div64.h> #include <errno.h> #include <log.h> +#include <time.h> #include <video_bridge.h> #include <asm/io.h> #include <asm/arch-tegra/dc.h>
drivers/video/tegra124/sor.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2011-2013, NVIDIA Corporation. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/video/tegra20/mipi-phy.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2013 NVIDIA Corporation */ -#include <common.h> #include <linux/err.h> #include "mipi-phy.h"
drivers/video/tegra20/tegra-dsi.c +0 -1
@@ -4,7 +4,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h>
drivers/video/tegra20/tegra-pwm-backlight.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h>
drivers/video/ti/tilcdc-panel.c +0 -1
@@ -5,7 +5,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <backlight.h> #include <clk.h> #include <display.h>
drivers/video/ti/tilcdc.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/video/tidss/tidss_drv.c +0 -1
@@ -9,7 +9,6 @@* Author: Tomi Valkeinen <[email protected]> */ -#include <common.h> #include <dm.h> #include <clk.h> #include <log.h>
drivers/video/vesa.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h>
drivers/video/vidconsole-uclass.c +0 -1
@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_VIDEO_CONSOLE -#include <common.h> #include <abuf.h> #include <charset.h> #include <command.h>
drivers/video/video-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <bloblist.h> #include <console.h> #include <cpu_func.h>
drivers/video/video_bmp.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <bmp_layout.h> #include <dm.h> #include <log.h>
drivers/video/video_osd-uclass.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_OSD -#include <common.h> #include <dm.h> #include <video_osd.h>
drivers/video/videomodes.c +0 -1
@@ -55,7 +55,6 @@"myvideo" and setting the variable "videomode=myvideo".. ****************************************************************************/ -#include <common.h> #include <edid.h> #include <env.h> #include <errno.h>
drivers/video/zynqmp/zynqmp_dpsub.c +0 -1
@@ -6,7 +6,6 @@* Xilinx displayport(DP) Tx Subsytem driver */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
Signature · 1 line
2.34.1
Re: [PATCH 74/81] video: 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]>
LGTM.
Quoted 1,504 lines
---
Cc: Anatolij Gustschin <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Johan Jonker <[email protected]>--- drivers/video/anx9804.c | 1 - drivers/video/atmel_hlcdfb.c | 1 - drivers/video/atmel_lcdfb.c | 1 - drivers/video/backlight-uclass.c | 1 - drivers/video/backlight_gpio.c | 1 - drivers/video/bcm2835.c | 1 - drivers/video/bmp.c | 1 - drivers/video/bochs.c | 1 - drivers/video/bridge/anx6345.c | 1 - drivers/video/bridge/ps862x.c | 1 - drivers/video/bridge/ptn3460.c | 1 - drivers/video/bridge/ssd2825.c | 1 - drivers/video/bridge/video-bridge-uclass.c | 1 - drivers/video/broadwell_igd.c | 2 +- drivers/video/console_normal.c | 1 - drivers/video/console_rotate.c | 1 - drivers/video/console_truetype.c | 1 - drivers/video/coreboot.c | 1 - drivers/video/display-uclass.c | 1 - drivers/video/dsi-host-uclass.c | 1 - drivers/video/dw_hdmi.c | 3 ++- drivers/video/dw_mipi_dsi.c | 1 - drivers/video/efi.c | 1 - drivers/video/endeavoru-panel.c | 1 - drivers/video/exynos/exynos_dp.c | 1 - drivers/video/exynos/exynos_dp_lowlevel.c | 1 - drivers/video/exynos/exynos_fb.c | 1 - drivers/video/exynos/exynos_mipi_dsi.c | 1 - drivers/video/exynos/exynos_mipi_dsi_common.c | 1 - drivers/video/exynos/exynos_mipi_dsi_lowlevel.c | 1 - drivers/video/himax-hx8394.c | 1 - drivers/video/hitachi_tx18d42vm_lcd.c | 1 - drivers/video/hx8238d.c | 1 - drivers/video/ihs_video_out.c | 1 - drivers/video/imx/ipu_common.c | 2 +- drivers/video/imx/ipu_disp.c | 1 - drivers/video/imx/mxc_ipuv3_fb.c | 1 - drivers/video/ivybridge_igd.c | 1 - drivers/video/lm3533_backlight.c | 1 - drivers/video/logicore_dp_tx.c | 1 - drivers/video/mali_dp.c | 1 - drivers/video/mcde_simple.c | 1 - drivers/video/meson/meson_canvas.c | 1 - drivers/video/meson/meson_dw_hdmi.c | 1 - drivers/video/meson/meson_plane.c | 1 - drivers/video/meson/meson_vclk.c | 1 - drivers/video/meson/meson_venc.c | 1 - drivers/video/meson/meson_vpu.c | 1 - drivers/video/meson/meson_vpu_init.c | 1 - drivers/video/mipi_dsi.c | 1 - drivers/video/mvebu_lcd.c | 1 - drivers/video/mxsfb.c | 1 - drivers/video/nexell/s5pxx18_dp.c | 1 - drivers/video/nexell/s5pxx18_dp_hdmi.c | 1 - drivers/video/nexell/s5pxx18_dp_lvds.c | 2 +- drivers/video/nexell/s5pxx18_dp_mipi.c | 1 - drivers/video/nexell/s5pxx18_dp_rgb.c | 2 +- drivers/video/nexell/soc/s5pxx18_soc_disptop.h | 1 + drivers/video/nexell_display.c | 1 - drivers/video/omap3_dss.c | 1 - drivers/video/orisetech_otm8009a.c | 1 - drivers/video/panel-uclass.c | 1 - drivers/video/pwm_backlight.c | 1 - drivers/video/raydium-rm68200.c | 1 - drivers/video/renesas-r61307.c | 1 - drivers/video/renesas-r69328.c | 1 - drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 1 - drivers/video/rockchip/rk3288_hdmi.c | 1 - drivers/video/rockchip/rk3288_mipi.c | 1 - drivers/video/rockchip/rk3288_vop.c | 1 - drivers/video/rockchip/rk3399_hdmi.c | 1 - drivers/video/rockchip/rk3399_mipi.c | 1 - drivers/video/rockchip/rk3399_vop.c | 1 - drivers/video/rockchip/rk_edp.c | 1 - drivers/video/rockchip/rk_hdmi.c | 1 - drivers/video/rockchip/rk_lvds.c | 1 - drivers/video/rockchip/rk_mipi.c | 1 - drivers/video/rockchip/rk_vop.c | 1 - drivers/video/sandbox_dsi_host.c | 1 - drivers/video/sandbox_osd.c | 1 - drivers/video/sandbox_sdl.c | 1 - drivers/video/seps525.c | 1 - drivers/video/simple_panel.c | 1 - drivers/video/simplefb.c | 1 - drivers/video/ssd2828.c | 1 - drivers/video/stm32/stm32_dsi.c | 1 - drivers/video/stm32/stm32_ltdc.c | 1 - drivers/video/sunxi/lcdc.c | 1 - drivers/video/sunxi/sunxi_de2.c | 1 - drivers/video/sunxi/sunxi_display.c | 2 +- drivers/video/sunxi/sunxi_dw_hdmi.c | 1 - drivers/video/sunxi/sunxi_lcd.c | 1 - drivers/video/sunxi/tve_common.c | 1 - drivers/video/tda19988.c | 1 - drivers/video/tdo-tl070wsh30.c | 1 - drivers/video/tegra124/display.c | 2 +- drivers/video/tegra124/dp.c | 2 +- drivers/video/tegra124/sor.c | 1 - drivers/video/tegra20/mipi-phy.c | 1 - drivers/video/tegra20/tegra-dsi.c | 1 - drivers/video/tegra20/tegra-pwm-backlight.c | 1 - drivers/video/ti/tilcdc-panel.c | 1 - drivers/video/ti/tilcdc.c | 1 - drivers/video/tidss/tidss_drv.c | 1 - drivers/video/vesa.c | 1 - drivers/video/vidconsole-uclass.c | 1 - drivers/video/video-uclass.c | 1 - drivers/video/video_bmp.c | 1 - drivers/video/video_osd-uclass.c | 1 - drivers/video/videomodes.c | 1 - drivers/video/zynqmp/zynqmp_dpsub.c | 1 - 111 files changed, 10 insertions(+), 110 deletions(-)drivers/video/anx9804.c +0
-1@@ -9,7 +9,6 @@* interface for driving eDP TFT displays. */ -#include <common.h> #include <i2c.h> #include <linux/delay.h> #include "anx98xx-edp.h" drivers/video/atmel_hlcdfb.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2012 Atmel Corporation */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> drivers/video/atmel_lcdfb.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2007 Atmel Corporation */ -#include <common.h> #include <atmel_lcd.h> #include <dm.h> #include <fdtdec.h> drivers/video/backlight-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h> drivers/video/backlight_gpio.c +0
-1@@ -4,7 +4,6 @@* Author: Patrick Delaunay <[email protected]> */ -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> drivers/video/bcm2835.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2012 Stephen Warren */ -#include <common.h> #include <dm.h> #include <log.h> #include <video.h> drivers/video/bmp.c +0
-1@@ -8,7 +8,6 @@* BMP handling routines */ -#include <common.h> #include <bmp_layout.h> #include <command.h> #include <dm.h> drivers/video/bochs.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> drivers/video/bridge/anx6345.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/video/bridge/ps862x.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/video/bridge/ptn3460.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <video_bridge.h> drivers/video/bridge/ssd2825.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/video/bridge/video-bridge-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <dm.h> #include <errno.h> #include <edid.h> drivers/video/broadwell_igd.c +1
-1@@ -5,12 +5,12 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <bootstage.h> #include <dm.h> #include <init.h> #include <log.h> +#include <time.h> #include <vesa.h> #include <video.h> #include <asm/cpu.h> drivers/video/console_normal.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> drivers/video/console_rotate.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> drivers/video/console_truetype.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016 Google, Inc */ -#include <common.h> #include <abuf.h> #include <dm.h> #include <log.h> drivers/video/coreboot.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <init.h> #include <vesa.h> drivers/video/display-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_DISPLAY -#include <common.h> #include <dm.h> #include <display.h> #include <edid.h> drivers/video/dsi-host-uclass.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_DSI_HOST -#include <common.h> #include <dm.h> #include <dsi_host.h> drivers/video/dw_hdmi.c +2
-1@@ -5,13 +5,14 @@* Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <fdtdec.h> #include <log.h> #include <asm/io.h> #include <i2c.h> #include <media_bus_format.h> +#include <time.h> #include <linux/delay.h> +#include <linux/errno.h> #include "dw_hdmi.h" struct tmds_n_cts {drivers/video/dw_mipi_dsi.c +0
-1@@ -9,7 +9,6 @@* the Linux Kernel driver drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c. */ -#include <common.h> #include <clk.h> #include <dsi_host.h> #include <dm.h> drivers/video/efi.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY LOGC_EFI -#include <common.h> #include <dm.h> #include <efi_api.h> #include <log.h> drivers/video/endeavoru-panel.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/exynos/exynos_dp.c +0
-1@@ -5,7 +5,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <display.h> #include <fdtdec.h> drivers/video/exynos/exynos_dp_lowlevel.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> drivers/video/exynos/exynos_fb.c +0
-1@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <display.h> #include <div64.h> #include <dm.h> drivers/video/exynos/exynos_mipi_dsi.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <fdtdec.h> drivers/video/exynos/exynos_mipi_dsi_common.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> drivers/video/exynos/exynos_mipi_dsi_lowlevel.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <asm/arch/dsim.h> #include <asm/arch/mipi_dsim.h> #include <asm/arch/power.h> drivers/video/himax-hx8394.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (C) 2022 Ondrej Jirman <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/hitachi_tx18d42vm_lcd.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2015 Hans de Goede <[email protected]> */ -#include <common.h> #include <malloc.h> #include <linux/delay.h> drivers/video/hx8238d.c +0
-1@@ -12,7 +12,6 @@* */ -#include <common.h> #include <dm.h> #include <panel.h> #include <spi.h> drivers/video/ihs_video_out.c +0
-1@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h> drivers/video/imx/ipu_common.c +1
-1@@ -11,7 +11,7 @@*/ /* #define DEBUG */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> drivers/video/imx/ipu_disp.c +0
-1@@ -12,7 +12,6 @@/* #define DEBUG */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> drivers/video/imx/mxc_ipuv3_fb.c +0
-1@@ -10,7 +10,6 @@* (C) Copyright 2004-2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <log.h> #include <part.h> #include <asm/cache.h> drivers/video/ivybridge_igd.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <dm.h> #include <errno.h> drivers/video/lm3533_backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/video/logicore_dp_tx.c +0
-1@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/mali_dp.c +0
-1@@ -5,7 +5,6 @@* */ #define DEBUG -#include <common.h> #include <malloc.h> #include <video.h> #include <dm.h> drivers/video/mcde_simple.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 <log.h> #include <video.h> drivers/video/meson/meson_canvas.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h> drivers/video/meson/meson_dw_hdmi.c +0
-1@@ -4,7 +4,6 @@* Author: Jorge Ramirez-Ortiz <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/meson/meson_plane.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitfield.h> drivers/video/meson/meson_vclk.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <linux/bitops.h> drivers/video/meson/meson_venc.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <fdtdec.h> drivers/video/meson/meson_vpu.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <efi_loader.h> drivers/video/meson/meson_vpu_init.c +0
-1@@ -8,7 +8,6 @@#define DEBUG -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h> drivers/video/mipi_dsi.c +0
-1@@ -32,7 +32,6 @@* */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/mvebu_lcd.c +0
-1@@ -5,7 +5,6 @@* Initialization of LCD interface and setup of SPLASH screen image */ -#include <common.h> #include <dm.h> #include <part.h> #include <video.h> drivers/video/mxsfb.c +0
-1@@ -4,7 +4,6 @@* * Copyright (C) 2011-2013 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <env.h> drivers/video/nexell/s5pxx18_dp.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h> #include <asm/arch/reset.h> drivers/video/nexell/s5pxx18_dp_hdmi.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h> drivers/video/nexell/s5pxx18_dp_lvds.c +1
-1@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/nexell.h> #include <asm/arch/reset.h> drivers/video/nexell/s5pxx18_dp_mipi.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <asm/arch/nexell.h> drivers/video/nexell/s5pxx18_dp_rgb.c +1
-1@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/display.h> drivers/video/nexell/soc/s5pxx18_soc_disptop.h +1
-0@@ -8,6 +8,7 @@#ifndef _S5PXX18_SOC_DISPTOP_H_#define _S5PXX18_SOC_DISPTOP_H_ +#include <linux/types.h> #include "s5pxx18_soc_disptype.h" #define NUMBER_OF_DISPTOP_MODULE 1drivers/video/nexell_display.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <dm.h> #include <mapmem.h> drivers/video/omap3_dss.c +0
-1@@ -25,7 +25,6 @@* MA 02111-1307 USA */ -#include <common.h> #include <asm/io.h> #include <asm/arch/dss.h> drivers/video/orisetech_otm8009a.c +0
-1@@ -7,7 +7,6 @@* This otm8009a panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-orisetech-otm8009a.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/panel-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL -#include <common.h> #include <dm.h> #include <panel.h> drivers/video/pwm_backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> drivers/video/raydium-rm68200.c +0
-1@@ -7,7 +7,6 @@* This rm68200 panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-raydium-rm68200.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/renesas-r61307.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/renesas-r69328.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/rockchip/dw_mipi_dsi_rockchip.c +0
-1@@ -24,7 +24,6 @@#include <dm/lists.h> #include <linux/iopoll.h> -#include <common.h> #include <log.h> #include <video.h> #include <dm/device-internal.h> drivers/video/rockchip/rk3288_hdmi.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3288_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3288_vop.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <regmap.h> drivers/video/rockchip/rk3399_hdmi.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3399_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3399_vop.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h> drivers/video/rockchip/rk_edp.c +0
-1@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_hdmi.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_lvds.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/rockchip/rk_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_vop.c +0
-1@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/sandbox_dsi_host.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <display.h> #include <dm.h> #include <dsi_host.h> drivers/video/sandbox_osd.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2018 * Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <malloc.h> drivers/video/sandbox_sdl.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/video/seps525.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2020 Xilinx Inc. */ -#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h> drivers/video/simple_panel.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <edid.h> drivers/video/simplefb.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2017 Rob Clark */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <fdt_support.h> drivers/video/ssd2828.c +0
-1@@ -9,7 +9,6 @@* interface for driving a MIPI compatible TFT display. */ -#include <common.h> #include <malloc.h> #include <mipi_display.h> #include <asm/gpio.h> drivers/video/stm32/stm32_dsi.c +0
-1@@ -10,7 +10,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <clk.h> #include <dm.h> #include <dsi_host.h> drivers/video/stm32/stm32_ltdc.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/sunxi/lcdc.c +0
-1@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h> drivers/video/sunxi/sunxi_de2.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/sunxi/sunxi_display.c +1
-1@@ -6,7 +6,7 @@* (C) Copyright 2014-2015 Hans de Goede <[email protected]> */ -#include <common.h> +#include <config.h> #include <display.h> #include <dm.h> #include <cpu_func.h> drivers/video/sunxi/sunxi_dw_hdmi.c +0
-1@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <display.h> #include <dm.h> #include <dw_hdmi.h> drivers/video/sunxi/sunxi_lcd.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <display.h> #include <log.h> #include <video_bridge.h> drivers/video/sunxi/tve_common.c +0
-1@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <asm/arch/tve.h> #include <asm/io.h> drivers/video/tda19988.c +0
-1@@ -5,7 +5,6 @@* Based on the Linux driver, (C) 2012 Texas Instruments */ -#include <common.h> #include <dm.h> #include <display.h> #include <i2c.h> drivers/video/tdo-tl070wsh30.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 BayLibre, SAS * Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/tegra124/display.c +1
-1@@ -5,7 +5,6 @@* Extracted from Chromium coreboot commit 3f59b13d */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <edid.h> @@ -14,6 +13,7 @@#include <edid.h> #include <log.h> #include <part.h> +#include <time.h> #include <video.h> #include <asm/gpio.h> #include <asm/io.h> drivers/video/tegra124/dp.c +1
-1@@ -4,12 +4,12 @@* Copyright 2014 Google Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <div64.h> #include <errno.h> #include <log.h> +#include <time.h> #include <video_bridge.h> #include <asm/io.h> #include <asm/arch-tegra/dc.h> drivers/video/tegra124/sor.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2011-2013, NVIDIA Corporation. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/video/tegra20/mipi-phy.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2013 NVIDIA Corporation */ -#include <common.h> #include <linux/err.h> #include "mipi-phy.h" drivers/video/tegra20/tegra-dsi.c +0
-1@@ -4,7 +4,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> drivers/video/tegra20/tegra-pwm-backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/video/ti/tilcdc-panel.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <backlight.h> #include <clk.h> #include <display.h> drivers/video/ti/tilcdc.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/video/tidss/tidss_drv.c +0
-1@@ -9,7 +9,6 @@* Author: Tomi Valkeinen <[email protected]> */ -#include <common.h> #include <dm.h> #include <clk.h> #include <log.h> drivers/video/vesa.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> drivers/video/vidconsole-uclass.c +0
-1@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_VIDEO_CONSOLE -#include <common.h> #include <abuf.h> #include <charset.h> #include <command.h> drivers/video/video-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <bloblist.h> #include <console.h> #include <cpu_func.h> drivers/video/video_bmp.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <bmp_layout.h> #include <dm.h> #include <log.h> drivers/video/video_osd-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_OSD -#include <common.h> #include <dm.h> #include <video_osd.h> drivers/video/videomodes.c +0
-1@@ -55,7 +55,6 @@"myvideo" and setting the variable "videomode=myvideo".. ****************************************************************************/ -#include <common.h> #include <edid.h> #include <env.h> #include <errno.h> drivers/video/zynqmp/zynqmp_dpsub.c +0
-2@@ -6,7 +6,6 @@* Xilinx displayport(DP) Tx Subsytem driver */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h> --2.34.1
Re: [PATCH 74/81] video: 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 1,501 lines
---
Cc: Anatolij Gustschin <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Johan Jonker <[email protected]>--- drivers/video/anx9804.c | 1 - drivers/video/atmel_hlcdfb.c | 1 - drivers/video/atmel_lcdfb.c | 1 - drivers/video/backlight-uclass.c | 1 - drivers/video/backlight_gpio.c | 1 - drivers/video/bcm2835.c | 1 - drivers/video/bmp.c | 1 - drivers/video/bochs.c | 1 - drivers/video/bridge/anx6345.c | 1 - drivers/video/bridge/ps862x.c | 1 - drivers/video/bridge/ptn3460.c | 1 - drivers/video/bridge/ssd2825.c | 1 - drivers/video/bridge/video-bridge-uclass.c | 1 - drivers/video/broadwell_igd.c | 2 +- drivers/video/console_normal.c | 1 - drivers/video/console_rotate.c | 1 - drivers/video/console_truetype.c | 1 - drivers/video/coreboot.c | 1 - drivers/video/display-uclass.c | 1 - drivers/video/dsi-host-uclass.c | 1 - drivers/video/dw_hdmi.c | 3 ++- drivers/video/dw_mipi_dsi.c | 1 - drivers/video/efi.c | 1 - drivers/video/endeavoru-panel.c | 1 - drivers/video/exynos/exynos_dp.c | 1 - drivers/video/exynos/exynos_dp_lowlevel.c | 1 - drivers/video/exynos/exynos_fb.c | 1 - drivers/video/exynos/exynos_mipi_dsi.c | 1 - drivers/video/exynos/exynos_mipi_dsi_common.c | 1 - drivers/video/exynos/exynos_mipi_dsi_lowlevel.c | 1 - drivers/video/himax-hx8394.c | 1 - drivers/video/hitachi_tx18d42vm_lcd.c | 1 - drivers/video/hx8238d.c | 1 - drivers/video/ihs_video_out.c | 1 - drivers/video/imx/ipu_common.c | 2 +- drivers/video/imx/ipu_disp.c | 1 - drivers/video/imx/mxc_ipuv3_fb.c | 1 - drivers/video/ivybridge_igd.c | 1 - drivers/video/lm3533_backlight.c | 1 - drivers/video/logicore_dp_tx.c | 1 - drivers/video/mali_dp.c | 1 - drivers/video/mcde_simple.c | 1 - drivers/video/meson/meson_canvas.c | 1 - drivers/video/meson/meson_dw_hdmi.c | 1 - drivers/video/meson/meson_plane.c | 1 - drivers/video/meson/meson_vclk.c | 1 - drivers/video/meson/meson_venc.c | 1 - drivers/video/meson/meson_vpu.c | 1 - drivers/video/meson/meson_vpu_init.c | 1 - drivers/video/mipi_dsi.c | 1 - drivers/video/mvebu_lcd.c | 1 - drivers/video/mxsfb.c | 1 - drivers/video/nexell/s5pxx18_dp.c | 1 - drivers/video/nexell/s5pxx18_dp_hdmi.c | 1 - drivers/video/nexell/s5pxx18_dp_lvds.c | 2 +- drivers/video/nexell/s5pxx18_dp_mipi.c | 1 - drivers/video/nexell/s5pxx18_dp_rgb.c | 2 +- drivers/video/nexell/soc/s5pxx18_soc_disptop.h | 1 + drivers/video/nexell_display.c | 1 - drivers/video/omap3_dss.c | 1 - drivers/video/orisetech_otm8009a.c | 1 - drivers/video/panel-uclass.c | 1 - drivers/video/pwm_backlight.c | 1 - drivers/video/raydium-rm68200.c | 1 - drivers/video/renesas-r61307.c | 1 - drivers/video/renesas-r69328.c | 1 - drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 1 - drivers/video/rockchip/rk3288_hdmi.c | 1 - drivers/video/rockchip/rk3288_mipi.c | 1 - drivers/video/rockchip/rk3288_vop.c | 1 - drivers/video/rockchip/rk3399_hdmi.c | 1 - drivers/video/rockchip/rk3399_mipi.c | 1 - drivers/video/rockchip/rk3399_vop.c | 1 - drivers/video/rockchip/rk_edp.c | 1 - drivers/video/rockchip/rk_hdmi.c | 1 - drivers/video/rockchip/rk_lvds.c | 1 - drivers/video/rockchip/rk_mipi.c | 1 - drivers/video/rockchip/rk_vop.c | 1 - drivers/video/sandbox_dsi_host.c | 1 - drivers/video/sandbox_osd.c | 1 - drivers/video/sandbox_sdl.c | 1 - drivers/video/seps525.c | 1 - drivers/video/simple_panel.c | 1 - drivers/video/simplefb.c | 1 - drivers/video/ssd2828.c | 1 - drivers/video/stm32/stm32_dsi.c | 1 - drivers/video/stm32/stm32_ltdc.c | 1 - drivers/video/sunxi/lcdc.c | 1 - drivers/video/sunxi/sunxi_de2.c | 1 - drivers/video/sunxi/sunxi_display.c | 2 +- drivers/video/sunxi/sunxi_dw_hdmi.c | 1 - drivers/video/sunxi/sunxi_lcd.c | 1 - drivers/video/sunxi/tve_common.c | 1 - drivers/video/tda19988.c | 1 - drivers/video/tdo-tl070wsh30.c | 1 - drivers/video/tegra124/display.c | 2 +- drivers/video/tegra124/dp.c | 2 +- drivers/video/tegra124/sor.c | 1 - drivers/video/tegra20/mipi-phy.c | 1 - drivers/video/tegra20/tegra-dsi.c | 1 - drivers/video/tegra20/tegra-pwm-backlight.c | 1 - drivers/video/ti/tilcdc-panel.c | 1 - drivers/video/ti/tilcdc.c | 1 - drivers/video/tidss/tidss_drv.c | 1 - drivers/video/vesa.c | 1 - drivers/video/vidconsole-uclass.c | 1 - drivers/video/video-uclass.c | 1 - drivers/video/video_bmp.c | 1 - drivers/video/video_osd-uclass.c | 1 - drivers/video/videomodes.c | 1 - drivers/video/zynqmp/zynqmp_dpsub.c | 1 - 111 files changed, 10 insertions(+), 110 deletions(-)drivers/video/anx9804.c +0
-1@@ -9,7 +9,6 @@* interface for driving eDP TFT displays. */ -#include <common.h> #include <i2c.h> #include <linux/delay.h> #include "anx98xx-edp.h" drivers/video/atmel_hlcdfb.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2012 Atmel Corporation */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> drivers/video/atmel_lcdfb.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2007 Atmel Corporation */ -#include <common.h> #include <atmel_lcd.h> #include <dm.h> #include <fdtdec.h> drivers/video/backlight-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h> drivers/video/backlight_gpio.c +0
-1@@ -4,7 +4,6 @@* Author: Patrick Delaunay <[email protected]> */ -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> drivers/video/bcm2835.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2012 Stephen Warren */ -#include <common.h> #include <dm.h> #include <log.h> #include <video.h> drivers/video/bmp.c +0
-1@@ -8,7 +8,6 @@* BMP handling routines */ -#include <common.h> #include <bmp_layout.h> #include <command.h> #include <dm.h> drivers/video/bochs.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> drivers/video/bridge/anx6345.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/video/bridge/ps862x.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/video/bridge/ptn3460.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <video_bridge.h> drivers/video/bridge/ssd2825.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/video/bridge/video-bridge-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <dm.h> #include <errno.h> #include <edid.h> drivers/video/broadwell_igd.c +1
-1@@ -5,12 +5,12 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <bootstage.h> #include <dm.h> #include <init.h> #include <log.h> +#include <time.h> #include <vesa.h> #include <video.h> #include <asm/cpu.h> drivers/video/console_normal.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> drivers/video/console_rotate.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> drivers/video/console_truetype.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016 Google, Inc */ -#include <common.h> #include <abuf.h> #include <dm.h> #include <log.h> drivers/video/coreboot.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <init.h> #include <vesa.h> drivers/video/display-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_DISPLAY -#include <common.h> #include <dm.h> #include <display.h> #include <edid.h> drivers/video/dsi-host-uclass.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_DSI_HOST -#include <common.h> #include <dm.h> #include <dsi_host.h> drivers/video/dw_hdmi.c +2
-1@@ -5,13 +5,14 @@* Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <fdtdec.h> #include <log.h> #include <asm/io.h> #include <i2c.h> #include <media_bus_format.h> +#include <time.h> #include <linux/delay.h> +#include <linux/errno.h> #include "dw_hdmi.h" struct tmds_n_cts {drivers/video/dw_mipi_dsi.c +0
-1@@ -9,7 +9,6 @@* the Linux Kernel driver drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c. */ -#include <common.h> #include <clk.h> #include <dsi_host.h> #include <dm.h> drivers/video/efi.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY LOGC_EFI -#include <common.h> #include <dm.h> #include <efi_api.h> #include <log.h> drivers/video/endeavoru-panel.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/exynos/exynos_dp.c +0
-1@@ -5,7 +5,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <display.h> #include <fdtdec.h> drivers/video/exynos/exynos_dp_lowlevel.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> drivers/video/exynos/exynos_fb.c +0
-1@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <display.h> #include <div64.h> #include <dm.h> drivers/video/exynos/exynos_mipi_dsi.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <fdtdec.h> drivers/video/exynos/exynos_mipi_dsi_common.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> drivers/video/exynos/exynos_mipi_dsi_lowlevel.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <asm/arch/dsim.h> #include <asm/arch/mipi_dsim.h> #include <asm/arch/power.h> drivers/video/himax-hx8394.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (C) 2022 Ondrej Jirman <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/hitachi_tx18d42vm_lcd.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2015 Hans de Goede <[email protected]> */ -#include <common.h> #include <malloc.h> #include <linux/delay.h> drivers/video/hx8238d.c +0
-1@@ -12,7 +12,6 @@* */ -#include <common.h> #include <dm.h> #include <panel.h> #include <spi.h> drivers/video/ihs_video_out.c +0
-1@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h> drivers/video/imx/ipu_common.c +1
-1@@ -11,7 +11,7 @@*/ /* #define DEBUG */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> drivers/video/imx/ipu_disp.c +0
-1@@ -12,7 +12,6 @@/* #define DEBUG */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> drivers/video/imx/mxc_ipuv3_fb.c +0
-1@@ -10,7 +10,6 @@* (C) Copyright 2004-2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <log.h> #include <part.h> #include <asm/cache.h> drivers/video/ivybridge_igd.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <dm.h> #include <errno.h> drivers/video/lm3533_backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/video/logicore_dp_tx.c +0
-1@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/mali_dp.c +0
-1@@ -5,7 +5,6 @@* */ #define DEBUG -#include <common.h> #include <malloc.h> #include <video.h> #include <dm.h> drivers/video/mcde_simple.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 <log.h> #include <video.h> drivers/video/meson/meson_canvas.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h> drivers/video/meson/meson_dw_hdmi.c +0
-1@@ -4,7 +4,6 @@* Author: Jorge Ramirez-Ortiz <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/meson/meson_plane.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitfield.h> drivers/video/meson/meson_vclk.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <linux/bitops.h> drivers/video/meson/meson_venc.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <fdtdec.h> drivers/video/meson/meson_vpu.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <efi_loader.h> drivers/video/meson/meson_vpu_init.c +0
-1@@ -8,7 +8,6 @@#define DEBUG -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h> drivers/video/mipi_dsi.c +0
-1@@ -32,7 +32,6 @@* */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/mvebu_lcd.c +0
-1@@ -5,7 +5,6 @@* Initialization of LCD interface and setup of SPLASH screen image */ -#include <common.h> #include <dm.h> #include <part.h> #include <video.h> drivers/video/mxsfb.c +0
-1@@ -4,7 +4,6 @@* * Copyright (C) 2011-2013 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <env.h> drivers/video/nexell/s5pxx18_dp.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h> #include <asm/arch/reset.h> drivers/video/nexell/s5pxx18_dp_hdmi.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h> drivers/video/nexell/s5pxx18_dp_lvds.c +1
-1@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/nexell.h> #include <asm/arch/reset.h> drivers/video/nexell/s5pxx18_dp_mipi.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <asm/arch/nexell.h> drivers/video/nexell/s5pxx18_dp_rgb.c +1
-1@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/display.h> drivers/video/nexell/soc/s5pxx18_soc_disptop.h +1
-0@@ -8,6 +8,7 @@#ifndef _S5PXX18_SOC_DISPTOP_H_#define _S5PXX18_SOC_DISPTOP_H_ +#include <linux/types.h> #include "s5pxx18_soc_disptype.h" #define NUMBER_OF_DISPTOP_MODULE 1drivers/video/nexell_display.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <dm.h> #include <mapmem.h> drivers/video/omap3_dss.c +0
-1@@ -25,7 +25,6 @@* MA 02111-1307 USA */ -#include <common.h> #include <asm/io.h> #include <asm/arch/dss.h> drivers/video/orisetech_otm8009a.c +0
-1@@ -7,7 +7,6 @@* This otm8009a panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-orisetech-otm8009a.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/panel-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL -#include <common.h> #include <dm.h> #include <panel.h> drivers/video/pwm_backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> drivers/video/raydium-rm68200.c +0
-1@@ -7,7 +7,6 @@* This rm68200 panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-raydium-rm68200.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/renesas-r61307.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/renesas-r69328.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/rockchip/dw_mipi_dsi_rockchip.c +0
-1@@ -24,7 +24,6 @@#include <dm/lists.h> #include <linux/iopoll.h> -#include <common.h> #include <log.h> #include <video.h> #include <dm/device-internal.h> drivers/video/rockchip/rk3288_hdmi.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3288_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3288_vop.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <regmap.h> drivers/video/rockchip/rk3399_hdmi.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3399_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3399_vop.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h> drivers/video/rockchip/rk_edp.c +0
-1@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_hdmi.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_lvds.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/rockchip/rk_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_vop.c +0
-1@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/sandbox_dsi_host.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <display.h> #include <dm.h> #include <dsi_host.h> drivers/video/sandbox_osd.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2018 * Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <malloc.h> drivers/video/sandbox_sdl.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/video/seps525.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2020 Xilinx Inc. */ -#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h> drivers/video/simple_panel.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <edid.h> drivers/video/simplefb.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2017 Rob Clark */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <fdt_support.h> drivers/video/ssd2828.c +0
-1@@ -9,7 +9,6 @@* interface for driving a MIPI compatible TFT display. */ -#include <common.h> #include <malloc.h> #include <mipi_display.h> #include <asm/gpio.h> drivers/video/stm32/stm32_dsi.c +0
-1@@ -10,7 +10,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <clk.h> #include <dm.h> #include <dsi_host.h> drivers/video/stm32/stm32_ltdc.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/sunxi/lcdc.c +0
-1@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h> drivers/video/sunxi/sunxi_de2.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/sunxi/sunxi_display.c +1
-1@@ -6,7 +6,7 @@* (C) Copyright 2014-2015 Hans de Goede <[email protected]> */ -#include <common.h> +#include <config.h> #include <display.h> #include <dm.h> #include <cpu_func.h> drivers/video/sunxi/sunxi_dw_hdmi.c +0
-1@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <display.h> #include <dm.h> #include <dw_hdmi.h> drivers/video/sunxi/sunxi_lcd.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <display.h> #include <log.h> #include <video_bridge.h> drivers/video/sunxi/tve_common.c +0
-1@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <asm/arch/tve.h> #include <asm/io.h> drivers/video/tda19988.c +0
-1@@ -5,7 +5,6 @@* Based on the Linux driver, (C) 2012 Texas Instruments */ -#include <common.h> #include <dm.h> #include <display.h> #include <i2c.h> drivers/video/tdo-tl070wsh30.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 BayLibre, SAS * Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/tegra124/display.c +1
-1@@ -5,7 +5,6 @@* Extracted from Chromium coreboot commit 3f59b13d */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <edid.h> @@ -14,6 +13,7 @@#include <edid.h> #include <log.h> #include <part.h> +#include <time.h> #include <video.h> #include <asm/gpio.h> #include <asm/io.h> drivers/video/tegra124/dp.c +1
-1@@ -4,12 +4,12 @@* Copyright 2014 Google Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <div64.h> #include <errno.h> #include <log.h> +#include <time.h> #include <video_bridge.h> #include <asm/io.h> #include <asm/arch-tegra/dc.h> drivers/video/tegra124/sor.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2011-2013, NVIDIA Corporation. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/video/tegra20/mipi-phy.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2013 NVIDIA Corporation */ -#include <common.h> #include <linux/err.h> #include "mipi-phy.h" drivers/video/tegra20/tegra-dsi.c +0
-1@@ -4,7 +4,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> drivers/video/tegra20/tegra-pwm-backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/video/ti/tilcdc-panel.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <backlight.h> #include <clk.h> #include <display.h> drivers/video/ti/tilcdc.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/video/tidss/tidss_drv.c +0
-1@@ -9,7 +9,6 @@* Author: Tomi Valkeinen <[email protected]> */ -#include <common.h> #include <dm.h> #include <clk.h> #include <log.h> drivers/video/vesa.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> drivers/video/vidconsole-uclass.c +0
-1@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_VIDEO_CONSOLE -#include <common.h> #include <abuf.h> #include <charset.h> #include <command.h> drivers/video/video-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <bloblist.h> #include <console.h> #include <cpu_func.h> drivers/video/video_bmp.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <bmp_layout.h> #include <dm.h> #include <log.h> drivers/video/video_osd-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_OSD -#include <common.h> #include <dm.h> #include <video_osd.h> drivers/video/videomodes.c +0
-1@@ -55,7 +55,6 @@"myvideo" and setting the variable "videomode=myvideo".. ****************************************************************************/ -#include <common.h> #include <edid.h> #include <env.h> #include <errno.h> drivers/video/zynqmp/zynqmp_dpsub.c +0
-1@@ -6,7 +6,6 @@* Xilinx displayport(DP) Tx Subsytem driver */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
Re: [PATCH 74/81] video: 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]>
Thanks,
- Kever
Quoted 1,501 lines
---
Cc: Anatolij Gustschin <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Matthias Brugger <[email protected]>
Cc: Peter Robinson <[email protected]>
Cc: Liviu Dudau <[email protected]>
Cc: Stephan Gerhold <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Stefan Bosch <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Philipp Tomsich <[email protected]>
Cc: Kever Yang <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Jagan Teki <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Johan Jonker <[email protected]>--- drivers/video/anx9804.c | 1 - drivers/video/atmel_hlcdfb.c | 1 - drivers/video/atmel_lcdfb.c | 1 - drivers/video/backlight-uclass.c | 1 - drivers/video/backlight_gpio.c | 1 - drivers/video/bcm2835.c | 1 - drivers/video/bmp.c | 1 - drivers/video/bochs.c | 1 - drivers/video/bridge/anx6345.c | 1 - drivers/video/bridge/ps862x.c | 1 - drivers/video/bridge/ptn3460.c | 1 - drivers/video/bridge/ssd2825.c | 1 - drivers/video/bridge/video-bridge-uclass.c | 1 - drivers/video/broadwell_igd.c | 2 +- drivers/video/console_normal.c | 1 - drivers/video/console_rotate.c | 1 - drivers/video/console_truetype.c | 1 - drivers/video/coreboot.c | 1 - drivers/video/display-uclass.c | 1 - drivers/video/dsi-host-uclass.c | 1 - drivers/video/dw_hdmi.c | 3 ++- drivers/video/dw_mipi_dsi.c | 1 - drivers/video/efi.c | 1 - drivers/video/endeavoru-panel.c | 1 - drivers/video/exynos/exynos_dp.c | 1 - drivers/video/exynos/exynos_dp_lowlevel.c | 1 - drivers/video/exynos/exynos_fb.c | 1 - drivers/video/exynos/exynos_mipi_dsi.c | 1 - drivers/video/exynos/exynos_mipi_dsi_common.c | 1 - drivers/video/exynos/exynos_mipi_dsi_lowlevel.c | 1 - drivers/video/himax-hx8394.c | 1 - drivers/video/hitachi_tx18d42vm_lcd.c | 1 - drivers/video/hx8238d.c | 1 - drivers/video/ihs_video_out.c | 1 - drivers/video/imx/ipu_common.c | 2 +- drivers/video/imx/ipu_disp.c | 1 - drivers/video/imx/mxc_ipuv3_fb.c | 1 - drivers/video/ivybridge_igd.c | 1 - drivers/video/lm3533_backlight.c | 1 - drivers/video/logicore_dp_tx.c | 1 - drivers/video/mali_dp.c | 1 - drivers/video/mcde_simple.c | 1 - drivers/video/meson/meson_canvas.c | 1 - drivers/video/meson/meson_dw_hdmi.c | 1 - drivers/video/meson/meson_plane.c | 1 - drivers/video/meson/meson_vclk.c | 1 - drivers/video/meson/meson_venc.c | 1 - drivers/video/meson/meson_vpu.c | 1 - drivers/video/meson/meson_vpu_init.c | 1 - drivers/video/mipi_dsi.c | 1 - drivers/video/mvebu_lcd.c | 1 - drivers/video/mxsfb.c | 1 - drivers/video/nexell/s5pxx18_dp.c | 1 - drivers/video/nexell/s5pxx18_dp_hdmi.c | 1 - drivers/video/nexell/s5pxx18_dp_lvds.c | 2 +- drivers/video/nexell/s5pxx18_dp_mipi.c | 1 - drivers/video/nexell/s5pxx18_dp_rgb.c | 2 +- drivers/video/nexell/soc/s5pxx18_soc_disptop.h | 1 + drivers/video/nexell_display.c | 1 - drivers/video/omap3_dss.c | 1 - drivers/video/orisetech_otm8009a.c | 1 - drivers/video/panel-uclass.c | 1 - drivers/video/pwm_backlight.c | 1 - drivers/video/raydium-rm68200.c | 1 - drivers/video/renesas-r61307.c | 1 - drivers/video/renesas-r69328.c | 1 - drivers/video/rockchip/dw_mipi_dsi_rockchip.c | 1 - drivers/video/rockchip/rk3288_hdmi.c | 1 - drivers/video/rockchip/rk3288_mipi.c | 1 - drivers/video/rockchip/rk3288_vop.c | 1 - drivers/video/rockchip/rk3399_hdmi.c | 1 - drivers/video/rockchip/rk3399_mipi.c | 1 - drivers/video/rockchip/rk3399_vop.c | 1 - drivers/video/rockchip/rk_edp.c | 1 - drivers/video/rockchip/rk_hdmi.c | 1 - drivers/video/rockchip/rk_lvds.c | 1 - drivers/video/rockchip/rk_mipi.c | 1 - drivers/video/rockchip/rk_vop.c | 1 - drivers/video/sandbox_dsi_host.c | 1 - drivers/video/sandbox_osd.c | 1 - drivers/video/sandbox_sdl.c | 1 - drivers/video/seps525.c | 1 - drivers/video/simple_panel.c | 1 - drivers/video/simplefb.c | 1 - drivers/video/ssd2828.c | 1 - drivers/video/stm32/stm32_dsi.c | 1 - drivers/video/stm32/stm32_ltdc.c | 1 - drivers/video/sunxi/lcdc.c | 1 - drivers/video/sunxi/sunxi_de2.c | 1 - drivers/video/sunxi/sunxi_display.c | 2 +- drivers/video/sunxi/sunxi_dw_hdmi.c | 1 - drivers/video/sunxi/sunxi_lcd.c | 1 - drivers/video/sunxi/tve_common.c | 1 - drivers/video/tda19988.c | 1 - drivers/video/tdo-tl070wsh30.c | 1 - drivers/video/tegra124/display.c | 2 +- drivers/video/tegra124/dp.c | 2 +- drivers/video/tegra124/sor.c | 1 - drivers/video/tegra20/mipi-phy.c | 1 - drivers/video/tegra20/tegra-dsi.c | 1 - drivers/video/tegra20/tegra-pwm-backlight.c | 1 - drivers/video/ti/tilcdc-panel.c | 1 - drivers/video/ti/tilcdc.c | 1 - drivers/video/tidss/tidss_drv.c | 1 - drivers/video/vesa.c | 1 - drivers/video/vidconsole-uclass.c | 1 - drivers/video/video-uclass.c | 1 - drivers/video/video_bmp.c | 1 - drivers/video/video_osd-uclass.c | 1 - drivers/video/videomodes.c | 1 - drivers/video/zynqmp/zynqmp_dpsub.c | 1 - 111 files changed, 10 insertions(+), 110 deletions(-)drivers/video/anx9804.c +0
-1@@ -9,7 +9,6 @@* interface for driving eDP TFT displays. */ -#include <common.h> #include <i2c.h> #include <linux/delay.h> #include "anx98xx-edp.h" drivers/video/atmel_hlcdfb.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2012 Atmel Corporation */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <malloc.h> drivers/video/atmel_lcdfb.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2007 Atmel Corporation */ -#include <common.h> #include <atmel_lcd.h> #include <dm.h> #include <fdtdec.h> drivers/video/backlight-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h> drivers/video/backlight_gpio.c +0
-1@@ -4,7 +4,6 @@* Author: Patrick Delaunay <[email protected]> */ -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> drivers/video/bcm2835.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2012 Stephen Warren */ -#include <common.h> #include <dm.h> #include <log.h> #include <video.h> drivers/video/bmp.c +0
-1@@ -8,7 +8,6 @@* BMP handling routines */ -#include <common.h> #include <bmp_layout.h> #include <command.h> #include <dm.h> drivers/video/bochs.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> drivers/video/bridge/anx6345.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/video/bridge/ps862x.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <errno.h> #include <i2c.h> drivers/video/bridge/ptn3460.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <video_bridge.h> drivers/video/bridge/ssd2825.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/video/bridge/video-bridge-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <dm.h> #include <errno.h> #include <edid.h> drivers/video/broadwell_igd.c +1
-1@@ -5,12 +5,12 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <bootstage.h> #include <dm.h> #include <init.h> #include <log.h> +#include <time.h> #include <vesa.h> #include <video.h> #include <asm/cpu.h> drivers/video/console_normal.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> drivers/video/console_rotate.c +0
-1@@ -6,7 +6,6 @@* (C) Copyright 2023 Dzmitry Sankouski <[email protected]> */ -#include <common.h> #include <charset.h> #include <dm.h> #include <video.h> drivers/video/console_truetype.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2016 Google, Inc */ -#include <common.h> #include <abuf.h> #include <dm.h> #include <log.h> drivers/video/coreboot.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <init.h> #include <vesa.h> drivers/video/display-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_DISPLAY -#include <common.h> #include <dm.h> #include <display.h> #include <edid.h> drivers/video/dsi-host-uclass.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_DSI_HOST -#include <common.h> #include <dm.h> #include <dsi_host.h> drivers/video/dw_hdmi.c +2
-1@@ -5,13 +5,14 @@* Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <fdtdec.h> #include <log.h> #include <asm/io.h> #include <i2c.h> #include <media_bus_format.h> +#include <time.h> #include <linux/delay.h> +#include <linux/errno.h> #include "dw_hdmi.h" struct tmds_n_cts {drivers/video/dw_mipi_dsi.c +0
-1@@ -9,7 +9,6 @@* the Linux Kernel driver drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c. */ -#include <common.h> #include <clk.h> #include <dsi_host.h> #include <dm.h> drivers/video/efi.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY LOGC_EFI -#include <common.h> #include <dm.h> #include <efi_api.h> #include <log.h> drivers/video/endeavoru-panel.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/exynos/exynos_dp.c +0
-1@@ -5,7 +5,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <display.h> #include <fdtdec.h> drivers/video/exynos/exynos_dp_lowlevel.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> drivers/video/exynos/exynos_fb.c +0
-1@@ -7,7 +7,6 @@*/ #include <config.h> -#include <common.h> #include <display.h> #include <div64.h> #include <dm.h> drivers/video/exynos/exynos_mipi_dsi.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <malloc.h> #include <fdtdec.h> drivers/video/exynos/exynos_mipi_dsi_common.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/err.h> drivers/video/exynos/exynos_mipi_dsi_lowlevel.c +0
-1@@ -6,7 +6,6 @@* Author: Donghwa Lee <[email protected]> */ -#include <common.h> #include <asm/arch/dsim.h> #include <asm/arch/mipi_dsim.h> #include <asm/arch/power.h> drivers/video/himax-hx8394.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (C) 2022 Ondrej Jirman <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/hitachi_tx18d42vm_lcd.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2015 Hans de Goede <[email protected]> */ -#include <common.h> #include <malloc.h> #include <linux/delay.h> drivers/video/hx8238d.c +0
-1@@ -12,7 +12,6 @@* */ -#include <common.h> #include <dm.h> #include <panel.h> #include <spi.h> drivers/video/ihs_video_out.c +0
-1@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h> drivers/video/imx/ipu_common.c +1
-1@@ -11,7 +11,7 @@*/ /* #define DEBUG */ -#include <common.h> +#include <config.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> drivers/video/imx/ipu_disp.c +0
-1@@ -12,7 +12,6 @@/* #define DEBUG */ -#include <common.h> #include <log.h> #include <linux/delay.h> #include <linux/types.h> drivers/video/imx/mxc_ipuv3_fb.c +0
-1@@ -10,7 +10,6 @@* (C) Copyright 2004-2010 Freescale Semiconductor, Inc. */ -#include <common.h> #include <log.h> #include <part.h> #include <asm/cache.h> drivers/video/ivybridge_igd.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Google, Inc */ -#include <common.h> #include <bios_emul.h> #include <dm.h> #include <errno.h> drivers/video/lm3533_backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/video/logicore_dp_tx.c +0
-1@@ -9,7 +9,6 @@* Dirk Eibach, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/mali_dp.c +0
-1@@ -5,7 +5,6 @@* */ #define DEBUG -#include <common.h> #include <malloc.h> #include <video.h> #include <dm.h> drivers/video/mcde_simple.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 <log.h> #include <video.h> drivers/video/meson/meson_canvas.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h> drivers/video/meson/meson_dw_hdmi.c +0
-1@@ -4,7 +4,6 @@* Author: Jorge Ramirez-Ortiz <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/meson/meson_plane.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitfield.h> drivers/video/meson/meson_vclk.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <linux/bitops.h> drivers/video/meson/meson_venc.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <dm.h> #include <edid.h> #include <fdtdec.h> drivers/video/meson/meson_vpu.c +0
-1@@ -6,7 +6,6 @@* Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <efi_loader.h> drivers/video/meson/meson_vpu_init.c +0
-1@@ -8,7 +8,6 @@#define DEBUG -#include <common.h> #include <dm.h> #include <asm/io.h> #include <linux/bitops.h> drivers/video/mipi_dsi.c +0
-1@@ -32,7 +32,6 @@* */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/mvebu_lcd.c +0
-1@@ -5,7 +5,6 @@* Initialization of LCD interface and setup of SPLASH screen image */ -#include <common.h> #include <dm.h> #include <part.h> #include <video.h> drivers/video/mxsfb.c +0
-1@@ -4,7 +4,6 @@* * Copyright (C) 2011-2013 Marek Vasut <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <env.h> drivers/video/nexell/s5pxx18_dp.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h> #include <asm/arch/reset.h> drivers/video/nexell/s5pxx18_dp_hdmi.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <log.h> drivers/video/nexell/s5pxx18_dp_lvds.c +1
-1@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/nexell.h> #include <asm/arch/reset.h> drivers/video/nexell/s5pxx18_dp_mipi.c +0
-1@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <errno.h> #include <asm/arch/nexell.h> drivers/video/nexell/s5pxx18_dp_rgb.c +1
-1@@ -6,8 +6,8 @@*/ #include <config.h> -#include <common.h> #include <errno.h> +#include <stdio.h> #include <asm/arch/display.h> drivers/video/nexell/soc/s5pxx18_soc_disptop.h +1
-0@@ -8,6 +8,7 @@#ifndef _S5PXX18_SOC_DISPTOP_H_#define _S5PXX18_SOC_DISPTOP_H_ +#include <linux/types.h> #include "s5pxx18_soc_disptype.h" #define NUMBER_OF_DISPTOP_MODULE 1drivers/video/nexell_display.c +0
-1@@ -8,7 +8,6 @@*/ #include <config.h> -#include <common.h> #include <command.h> #include <dm.h> #include <mapmem.h> drivers/video/omap3_dss.c +0
-1@@ -25,7 +25,6 @@* MA 02111-1307 USA */ -#include <common.h> #include <asm/io.h> #include <asm/arch/dss.h> drivers/video/orisetech_otm8009a.c +0
-1@@ -7,7 +7,6 @@* This otm8009a panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-orisetech-otm8009a.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/panel-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL -#include <common.h> #include <dm.h> #include <panel.h> drivers/video/pwm_backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT -#include <common.h> #include <dm.h> #include <backlight.h> #include <log.h> drivers/video/raydium-rm68200.c +0
-1@@ -7,7 +7,6 @@* This rm68200 panel driver is inspired from the Linux Kernel driver * drivers/gpu/drm/panel/panel-raydium-rm68200.c. */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/renesas-r61307.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/renesas-r69328.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <panel.h> drivers/video/rockchip/dw_mipi_dsi_rockchip.c +0
-1@@ -24,7 +24,6 @@#include <dm/lists.h> #include <linux/iopoll.h> -#include <common.h> #include <log.h> #include <video.h> #include <dm/device-internal.h> drivers/video/rockchip/rk3288_hdmi.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3288_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3288_vop.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <regmap.h> drivers/video/rockchip/rk3399_hdmi.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2017 Theobroma Systems Design und Consulting GmbH */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3399_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk3399_vop.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <log.h> drivers/video/rockchip/rk_edp.c +0
-1@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_hdmi.c +0
-1@@ -5,7 +5,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_lvds.c +0
-1@@ -3,7 +3,6 @@* Copyright 2016 Rockchip Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/rockchip/rk_mipi.c +0
-1@@ -4,7 +4,6 @@* Author: Eric Gao <[email protected]> */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/rockchip/rk_vop.c +0
-1@@ -4,7 +4,6 @@* Copyright 2014 Rockchip Inc. */ -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/sandbox_dsi_host.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2019, STMicroelectronics - All Rights Reserved */ -#include <common.h> #include <display.h> #include <dm.h> #include <dsi_host.h> drivers/video/sandbox_osd.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2018 * Mario Six, Guntermann & Drunck GmbH, [email protected] */ -#include <common.h> #include <display.h> #include <dm.h> #include <malloc.h> drivers/video/sandbox_sdl.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2013 Google, Inc */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <log.h> drivers/video/seps525.c +0
-1@@ -6,7 +6,6 @@* Copyright (C) 2020 Xilinx Inc. */ -#include <common.h> #include <command.h> #include <cpu_func.h> #include <dm.h> drivers/video/simple_panel.c +0
-1@@ -4,7 +4,6 @@* Written by Simon Glass <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <edid.h> drivers/video/simplefb.c +0
-1@@ -3,7 +3,6 @@* (C) Copyright 2017 Rob Clark */ -#include <common.h> #include <dm.h> #include <fdtdec.h> #include <fdt_support.h> drivers/video/ssd2828.c +0
-1@@ -9,7 +9,6 @@* interface for driving a MIPI compatible TFT display. */ -#include <common.h> #include <malloc.h> #include <mipi_display.h> #include <asm/gpio.h> drivers/video/stm32/stm32_dsi.c +0
-1@@ -10,7 +10,6 @@#define LOG_CATEGORY UCLASS_VIDEO_BRIDGE -#include <common.h> #include <clk.h> #include <dm.h> #include <dsi_host.h> drivers/video/stm32/stm32_ltdc.c +0
-1@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <clk.h> #include <display.h> #include <dm.h> drivers/video/sunxi/lcdc.c +0
-1@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <log.h> #include <linux/delay.h> drivers/video/sunxi/sunxi_de2.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <display.h> #include <dm.h> #include <edid.h> drivers/video/sunxi/sunxi_display.c +1
-1@@ -6,7 +6,7 @@* (C) Copyright 2014-2015 Hans de Goede <[email protected]> */ -#include <common.h> +#include <config.h> #include <display.h> #include <dm.h> #include <cpu_func.h> drivers/video/sunxi/sunxi_dw_hdmi.c +0
-1@@ -6,7 +6,6 @@*/ #include <clk.h> -#include <common.h> #include <display.h> #include <dm.h> #include <dw_hdmi.h> drivers/video/sunxi/sunxi_lcd.c +0
-1@@ -5,7 +5,6 @@* (C) Copyright 2017 Vasily Khoruzhick <[email protected]> */ -#include <common.h> #include <display.h> #include <log.h> #include <video_bridge.h> drivers/video/sunxi/tve_common.c +0
-1@@ -7,7 +7,6 @@* (C) Copyright 2017 Jernej Skrabec <[email protected]> */ -#include <common.h> #include <asm/arch/tve.h> #include <asm/io.h> drivers/video/tda19988.c +0
-1@@ -5,7 +5,6 @@* Based on the Linux driver, (C) 2012 Texas Instruments */ -#include <common.h> #include <dm.h> #include <display.h> #include <i2c.h> drivers/video/tdo-tl070wsh30.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 BayLibre, SAS * Author: Neil Armstrong <[email protected]> */ -#include <common.h> #include <backlight.h> #include <dm.h> #include <mipi_dsi.h> drivers/video/tegra124/display.c +1
-1@@ -5,7 +5,6 @@* Extracted from Chromium coreboot commit 3f59b13d */ -#include <common.h> #include <bootstage.h> #include <dm.h> #include <edid.h> @@ -14,6 +13,7 @@#include <edid.h> #include <log.h> #include <part.h> +#include <time.h> #include <video.h> #include <asm/gpio.h> #include <asm/io.h> drivers/video/tegra124/dp.c +1
-1@@ -4,12 +4,12 @@* Copyright 2014 Google Inc. */ -#include <common.h> #include <display.h> #include <dm.h> #include <div64.h> #include <errno.h> #include <log.h> +#include <time.h> #include <video_bridge.h> #include <asm/io.h> #include <asm/arch-tegra/dc.h> drivers/video/tegra124/sor.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2011-2013, NVIDIA Corporation. */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/video/tegra20/mipi-phy.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2013 NVIDIA Corporation */ -#include <common.h> #include <linux/err.h> #include "mipi-phy.h" drivers/video/tegra20/tegra-dsi.c +0
-1@@ -4,7 +4,6 @@* Copyright (c) 2022 Svyatoslav Ryhel <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <misc.h> drivers/video/tegra20/tegra-pwm-backlight.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_PANEL_BACKLIGHT#include <backlight.h> -#include <common.h> #include <dm.h> #include <i2c.h> #include <log.h> drivers/video/ti/tilcdc-panel.c +0
-1@@ -5,7 +5,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <backlight.h> #include <clk.h> #include <display.h> drivers/video/ti/tilcdc.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2020 Dario Binacchi <[email protected]> */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/video/tidss/tidss_drv.c +0
-1@@ -9,7 +9,6 @@* Author: Tomi Valkeinen <[email protected]> */ -#include <common.h> #include <dm.h> #include <clk.h> #include <log.h> drivers/video/vesa.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <pci.h> drivers/video/vidconsole-uclass.c +0
-1@@ -9,7 +9,6 @@#define LOG_CATEGORY UCLASS_VIDEO_CONSOLE -#include <common.h> #include <abuf.h> #include <charset.h> #include <command.h> drivers/video/video-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_VIDEO -#include <common.h> #include <bloblist.h> #include <console.h> #include <cpu_func.h> drivers/video/video_bmp.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2015 Google, Inc */ -#include <common.h> #include <bmp_layout.h> #include <dm.h> #include <log.h> drivers/video/video_osd-uclass.c +0
-1@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIDEO_OSD -#include <common.h> #include <dm.h> #include <video_osd.h> drivers/video/videomodes.c +0
-1@@ -55,7 +55,6 @@"myvideo" and setting the variable "videomode=myvideo".. ****************************************************************************/ -#include <common.h> #include <edid.h> #include <env.h> #include <errno.h> drivers/video/zynqmp/zynqmp_dpsub.c +0
-1@@ -6,7 +6,6 @@* Xilinx displayport(DP) Tx Subsytem driver */ -#include <common.h> #include <clk.h> #include <cpu_func.h> #include <dm.h>
PATCH 75/81 virtio: 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: Bin Meng <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Sughosh Ganu <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Cc: Simon Glass <[email protected]>
--- drivers/virtio/virtio-uclass.c | 1 - drivers/virtio/virtio_blk.c | 1 - drivers/virtio/virtio_mmio.c | 1 - drivers/virtio/virtio_net.c | 1 - drivers/virtio/virtio_pci_legacy.c | 1 - drivers/virtio/virtio_pci_modern.c | 1 - drivers/virtio/virtio_ring.c | 1 - drivers/virtio/virtio_rng.c | 1 - drivers/virtio/virtio_sandbox.c | 1 - include/virtio.h | 1 + 10 files changed, 1 insertion(+), 9 deletions(-)
drivers/virtio/virtio-uclass.c +0 -1
@@ -17,7 +17,6 @@#define LOG_CATEGORY UCLASS_VIRTIO -#include <common.h> #include <bootdev.h> #include <dm.h> #include <log.h>
drivers/virtio/virtio_blk.c +0 -1
@@ -6,7 +6,6 @@#define LOG_CATEGORY UCLASS_VIRTIO -#include <common.h> #include <blk.h> #include <dm.h> #include <part.h>
drivers/virtio/virtio_mmio.c +0 -1
@@ -7,7 +7,6 @@* Ported from Linux drivers/virtio/virtio_mmio.c */ -#include <common.h> #include <dm.h> #include <log.h> #include <virtio_types.h>
drivers/virtio/virtio_net.c +0 -1
@@ -4,7 +4,6 @@* Copyright (C) 2018, Bin Meng <[email protected]> */ -#include <common.h> #include <dm.h> #include <net.h> #include <virtio_types.h>
drivers/virtio/virtio_pci_legacy.c +0 -1
@@ -6,7 +6,6 @@* Ported from Linux drivers/virtio/virtio_pci*.c */ -#include <common.h> #include <dm.h> #include <log.h> #include <virtio_types.h>
drivers/virtio/virtio_pci_modern.c +0 -1
@@ -6,7 +6,6 @@* Ported from Linux drivers/virtio/virtio_pci*.c */ -#include <common.h> #include <dm.h> #include <log.h> #include <virtio_types.h>
drivers/virtio/virtio_ring.c +0 -1
@@ -7,7 +7,6 @@*/ #include <bouncebuf.h> -#include <common.h> #include <dm.h> #include <log.h> #include <malloc.h>
drivers/virtio/virtio_rng.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2019, Linaro Limited */ -#include <common.h> #include <dm.h> #include <log.h> #include <rng.h>
drivers/virtio/virtio_sandbox.c +0 -1
@@ -5,7 +5,6 @@* VirtIO Sandbox transport driver, for testing purpose only */ -#include <common.h> #include <dm.h> #include <virtio_types.h> #include <virtio.h>
include/virtio.h +1 -0
@@ -23,6 +23,7 @@#include <virtio_types.h> #include <linux/bitops.h> #include <linux/bug.h> +#include <linux/typecheck.h> #define VIRTIO_ID_NET 1/* virtio net */ #define VIRTIO_ID_BLOCK 2/* virtio block */ #define VIRTIO_ID_RNG 4/* virtio rng */
Signature · 1 line
2.34.1
PATCH 76/81 w1: 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]>
--- drivers/w1/mxc_w1.c | 1 - drivers/w1/w1-gpio.c | 1 - drivers/w1/w1-uclass.c | 1 - 3 files changed, 3 deletions(-)
drivers/w1/mxc_w1.c +0 -1
@@ -17,7 +17,6 @@* Martin Fuzzey <[email protected]> */ -#include <common.h> #include <asm/arch/clock.h> #include <dm.h> #include <dm/device_compat.h>
drivers/w1/w1-gpio.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <dm.h> #include <log.h> #include <w1.h>
drivers/w1/w1-uclass.c +0 -1
@@ -14,7 +14,6 @@#define LOG_CATEGORY UCLASS_W1 -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
Signature · 1 line
2.34.1
PATCH 77/81 w1-eeprom: 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]>
--- drivers/w1-eeprom/ds24xxx.c | 1 - drivers/w1-eeprom/ds2502.c | 1 - drivers/w1-eeprom/eep_sandbox.c | 1 - drivers/w1-eeprom/w1-eeprom-uclass.c | 1 - 4 files changed, 4 deletions(-)
drivers/w1-eeprom/ds24xxx.c +0 -1
@@ -7,7 +7,6 @@* */ -#include <common.h> #include <linux/err.h> #include <dm.h> #include <w1-eeprom.h>
drivers/w1-eeprom/ds2502.c +0 -1
@@ -20,7 +20,6 @@* Martin Fuzzey <[email protected]> */ -#include <common.h> #include <dm.h> #include <dm/device_compat.h> #include <linux/err.h>
drivers/w1-eeprom/eep_sandbox.c +0 -1
@@ -4,7 +4,6 @@* */ -#include <common.h> #include <linux/err.h> #include <dm.h> #include <w1-eeprom.h>
drivers/w1-eeprom/w1-eeprom-uclass.c +0 -1
@@ -12,7 +12,6 @@#define LOG_CATEGORY UCLASS_W1_EEPROM -#include <common.h> #include <dm.h> #include <log.h> #include <w1.h>
Signature · 1 line
2.34.1
PATCH 78/81 watchdog: 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: Stefan Roese <[email protected]>
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: Alex Nemirovsky <[email protected]>
Cc: Huan Wang <[email protected]>
Cc: Angelo Dureghello <[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: Simon Glass <[email protected]>
Cc: Priyanka Jain <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>
--- drivers/watchdog/armada-37xx-wdt.c | 1 - drivers/watchdog/ast2600_wdt.c | 1 - drivers/watchdog/ast_wdt.c | 1 - drivers/watchdog/at91sam9_wdt.c | 1 - drivers/watchdog/bcm6345_wdt.c | 1 - drivers/watchdog/cdns_wdt.c | 1 - drivers/watchdog/cortina_wdt.c | 1 - drivers/watchdog/designware_wdt.c | 1 - drivers/watchdog/ftwdt010_wdt.c | 1 - drivers/watchdog/imx_watchdog.c | 1 - drivers/watchdog/mcf_wdt.c | 2 +- drivers/watchdog/mpc8xxx_wdt.c | 1 - drivers/watchdog/mt7621_wdt.c | 1 - drivers/watchdog/mtk_wdt.c | 1 - drivers/watchdog/omap_wdt.c | 1 - drivers/watchdog/orion_wdt.c | 1 - drivers/watchdog/rti_wdt.c | 1 - drivers/watchdog/s5p_wdt.c | 1 - drivers/watchdog/sandbox_alarm-wdt.c | 1 - drivers/watchdog/sandbox_wdt.c | 1 - drivers/watchdog/sbsa_gwdt.c | 1 - drivers/watchdog/sl28cpld-wdt.c | 1 - drivers/watchdog/sp805_wdt.c | 1 - drivers/watchdog/stm32mp_wdt.c | 1 - drivers/watchdog/tangier_wdt.c | 1 - drivers/watchdog/ulp_wdog.c | 1 - drivers/watchdog/wdt-uclass.c | 1 - drivers/watchdog/xilinx_tb_wdt.c | 1 - drivers/watchdog/xilinx_wwdt.c | 1 - 29 files changed, 1 insertion(+), 29 deletions(-)
drivers/watchdog/armada-37xx-wdt.c +0 -1
@@ -5,7 +5,6 @@* Marek Behún <[email protected]> */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <asm/global_data.h>
drivers/watchdog/ast2600_wdt.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2020 Aspeed Technology, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/watchdog/ast_wdt.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2017 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h>
drivers/watchdog/at91sam9_wdt.c +0 -1
@@ -18,7 +18,6 @@#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/at91_wdt.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <errno.h>
drivers/watchdog/bcm6345_wdt.c +0 -1
@@ -7,7 +7,6 @@* Copyright (C) 2008 Florian Fainelli <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h>
drivers/watchdog/cdns_wdt.c +0 -1
@@ -6,7 +6,6 @@* Author(s): Shreenidhi Shedi <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h>
drivers/watchdog/cortina_wdt.c +0 -1
@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <hang.h> #include <asm/io.h>
drivers/watchdog/designware_wdt.c +0 -1
@@ -4,7 +4,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <reset.h> #include <wdt.h>
drivers/watchdog/ftwdt010_wdt.c +0 -1
@@ -14,7 +14,6 @@* 22/08/2022 Port to DM */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <log.h>
drivers/watchdog/imx_watchdog.c +0 -1
@@ -4,7 +4,6 @@* Licensed under the GPL-2 or later. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <hang.h>
drivers/watchdog/mcf_wdt.c +1 -1
@@ -6,7 +6,7 @@* */ -#include <common.h> +#include <config.h> #include <dm.h> #include <hang.h> #include <asm/io.h>
drivers/watchdog/mpc8xxx_wdt.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2017 CS Systemes d'Information */ -#include <common.h> #include <env.h> #include <dm.h> #include <wdt.h>
drivers/watchdog/mt7621_wdt.c +0 -1
@@ -9,7 +9,6 @@* Copyright (C) 2013 John Crispin <[email protected]> */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <asm/global_data.h>
drivers/watchdog/mtk_wdt.c +0 -1
@@ -6,7 +6,6 @@* Author: Ryder Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <hang.h> #include <wdt.h>
drivers/watchdog/omap_wdt.c +0 -1
@@ -36,7 +36,6 @@* Use the driver model and standard identifiers; handle bigger timeouts. */ -#include <common.h> #include <log.h> #include <watchdog.h> #include <asm/ti-common/omap_wdt.h>
drivers/watchdog/orion_wdt.c +0 -1
@@ -12,7 +12,6 @@* warranty of any kind, whether express or implied. */ -#include <common.h> #include <dm.h> #include <clk.h> #include <log.h>
drivers/watchdog/rti_wdt.c +0 -1
@@ -8,7 +8,6 @@* Derived from linux/drivers/watchdog/rti_wdt.c */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h>
drivers/watchdog/s5p_wdt.c +0 -1
@@ -4,7 +4,6 @@* Minkyu Kang <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/watchdog.h>
drivers/watchdog/sandbox_alarm-wdt.c +0 -1
@@ -1,4 +1,3 @@ -#include <common.h> #include <dm.h> #include <os.h> #include <wdt.h>
drivers/watchdog/sandbox_wdt.c +0 -1
@@ -3,7 +3,6 @@* Copyright 2017 Google, Inc */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <asm/state.h>
drivers/watchdog/sbsa_gwdt.c +0 -1
@@ -7,7 +7,6 @@#include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <dm/device.h> #include <dm/fdtaddr.h> #include <dm/read.h>
drivers/watchdog/sl28cpld-wdt.c +0 -1
@@ -5,7 +5,6 @@* Copyright (c) 2021 Michael Walle <[email protected]> */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <sl28cpld.h>
drivers/watchdog/sp805_wdt.c +0 -1
@@ -8,7 +8,6 @@#include <log.h> #include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <clk.h> #include <dm/device.h> #include <dm/fdtaddr.h>
drivers/watchdog/stm32mp_wdt.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_WDT -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h>
drivers/watchdog/tangier_wdt.c +0 -1
@@ -2,7 +2,6 @@/* * Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h>
drivers/watchdog/ulp_wdog.c +0 -1
@@ -3,7 +3,6 @@* Copyright (C) 2016 Freescale Semiconductor, Inc. */ -#include <common.h> #include <cpu_func.h> #include <asm/io.h> #include <asm/arch/imx-regs.h>
drivers/watchdog/wdt-uclass.c +0 -1
@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_WDT -#include <common.h> #include <cyclic.h> #include <div64.h> #include <dm.h>
drivers/watchdog/xilinx_tb_wdt.c +0 -1
@@ -8,7 +8,6 @@* Copyright (c) 2011-2018 Xilinx Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h>
drivers/watchdog/xilinx_wwdt.c +0 -1
@@ -9,7 +9,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <regmap.h> #include <wdt.h>
Signature · 1 line
2.34.1
Re: [PATCH 78/81] watchdog: Remove <common.h> and add needed includes
Hi Tom,
Quoted 402 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: Stefan Roese <[email protected]>
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: Alex Nemirovsky <[email protected]>
Cc: Huan Wang <[email protected]>
Cc: Angelo Dureghello <[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: Simon Glass <[email protected]>
Cc: Priyanka Jain <[email protected]>
Cc: Michael Walle <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: Patrice Chotard <[email protected]>--- drivers/watchdog/armada-37xx-wdt.c | 1 - drivers/watchdog/ast2600_wdt.c | 1 - drivers/watchdog/ast_wdt.c | 1 - drivers/watchdog/at91sam9_wdt.c | 1 - drivers/watchdog/bcm6345_wdt.c | 1 - drivers/watchdog/cdns_wdt.c | 1 - drivers/watchdog/cortina_wdt.c | 1 - drivers/watchdog/designware_wdt.c | 1 - drivers/watchdog/ftwdt010_wdt.c | 1 - drivers/watchdog/imx_watchdog.c | 1 - drivers/watchdog/mcf_wdt.c | 2 +- drivers/watchdog/mpc8xxx_wdt.c | 1 - drivers/watchdog/mt7621_wdt.c | 1 - drivers/watchdog/mtk_wdt.c | 1 - drivers/watchdog/omap_wdt.c | 1 - drivers/watchdog/orion_wdt.c | 1 - drivers/watchdog/rti_wdt.c | 1 - drivers/watchdog/s5p_wdt.c | 1 - drivers/watchdog/sandbox_alarm-wdt.c | 1 - drivers/watchdog/sandbox_wdt.c | 1 - drivers/watchdog/sbsa_gwdt.c | 1 - drivers/watchdog/sl28cpld-wdt.c | 1 - drivers/watchdog/sp805_wdt.c | 1 - drivers/watchdog/stm32mp_wdt.c | 1 - drivers/watchdog/tangier_wdt.c | 1 - drivers/watchdog/ulp_wdog.c | 1 - drivers/watchdog/wdt-uclass.c | 1 - drivers/watchdog/xilinx_tb_wdt.c | 1 - drivers/watchdog/xilinx_wwdt.c | 1 - 29 files changed, 1 insertion(+), 29 deletions(-)drivers/watchdog/armada-37xx-wdt.c +0
-1@@ -5,7 +5,6 @@* Marek Behún <[email protected]> */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <asm/global_data.h> drivers/watchdog/ast2600_wdt.c +0
-1@@ -3,7 +3,6 @@* Copyright (c) 2020 Aspeed Technology, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/watchdog/ast_wdt.c +0
-1@@ -3,7 +3,6 @@* Copyright 2017 Google, Inc */ -#include <common.h> #include <dm.h> #include <errno.h> #include <log.h> drivers/watchdog/at91sam9_wdt.c +0
-1@@ -18,7 +18,6 @@#include <asm/global_data.h> #include <asm/io.h> #include <asm/arch/at91_wdt.h> -#include <common.h> #include <div64.h> #include <dm.h> #include <errno.h> drivers/watchdog/bcm6345_wdt.c +0
-1@@ -7,7 +7,6 @@* Copyright (C) 2008 Florian Fainelli <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h> drivers/watchdog/cdns_wdt.c +0
-1@@ -6,7 +6,6 @@* Author(s): Shreenidhi Shedi <[email protected]> */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h> drivers/watchdog/cortina_wdt.c +0
-1@@ -4,7 +4,6 @@* */ -#include <common.h> #include <dm.h> #include <hang.h> #include <asm/io.h> drivers/watchdog/designware_wdt.c +0
-1@@ -4,7 +4,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <reset.h> #include <wdt.h> drivers/watchdog/ftwdt010_wdt.c +0
-1@@ -14,7 +14,6 @@* 22/08/2022 Port to DM */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <log.h> drivers/watchdog/imx_watchdog.c +0
-1@@ -4,7 +4,6 @@* Licensed under the GPL-2 or later. */ -#include <common.h> #include <cpu_func.h> #include <dm.h> #include <hang.h> drivers/watchdog/mcf_wdt.c +1
-1@@ -6,7 +6,7 @@* */ -#include <common.h> +#include <config.h> #include <dm.h> #include <hang.h> #include <asm/io.h> drivers/watchdog/mpc8xxx_wdt.c +0
-1@@ -3,7 +3,6 @@* Copyright 2017 CS Systemes d'Information */ -#include <common.h> #include <env.h> #include <dm.h> #include <wdt.h> drivers/watchdog/mt7621_wdt.c +0
-1@@ -9,7 +9,6 @@* Copyright (C) 2013 John Crispin <[email protected]> */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <asm/global_data.h> drivers/watchdog/mtk_wdt.c +0
-1@@ -6,7 +6,6 @@* Author: Ryder Lee <[email protected]> */ -#include <common.h> #include <dm.h> #include <hang.h> #include <wdt.h> drivers/watchdog/omap_wdt.c +0
-1@@ -36,7 +36,6 @@* Use the driver model and standard identifiers; handle bigger timeouts. */ -#include <common.h> #include <log.h> #include <watchdog.h> #include <asm/ti-common/omap_wdt.h> drivers/watchdog/orion_wdt.c +0
-1@@ -12,7 +12,6 @@* warranty of any kind, whether express or implied. */ -#include <common.h> #include <dm.h> #include <clk.h> #include <log.h> drivers/watchdog/rti_wdt.c +0
-1@@ -8,7 +8,6 @@* Derived from linux/drivers/watchdog/rti_wdt.c */ -#include <common.h> #include <clk.h> #include <dm.h> #include <dm/device_compat.h> drivers/watchdog/s5p_wdt.c +0
-1@@ -4,7 +4,6 @@* Minkyu Kang <[email protected]> */ -#include <common.h> #include <asm/io.h> #include <asm/arch/cpu.h> #include <asm/arch/watchdog.h> drivers/watchdog/sandbox_alarm-wdt.c +0
-1@@ -1,4 +1,3 @@ -#include <common.h> #include <dm.h> #include <os.h> #include <wdt.h> drivers/watchdog/sandbox_wdt.c +0
-1@@ -3,7 +3,6 @@* Copyright 2017 Google, Inc */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <asm/state.h> drivers/watchdog/sbsa_gwdt.c +0
-1@@ -7,7 +7,6 @@#include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <dm/device.h> #include <dm/fdtaddr.h> #include <dm/read.h> drivers/watchdog/sl28cpld-wdt.c +0
-1@@ -5,7 +5,6 @@* Copyright (c) 2021 Michael Walle <[email protected]> */ -#include <common.h> #include <dm.h> #include <wdt.h> #include <sl28cpld.h> drivers/watchdog/sp805_wdt.c +0
-1@@ -8,7 +8,6 @@#include <log.h> #include <asm/global_data.h> #include <asm/io.h> -#include <common.h> #include <clk.h> #include <dm/device.h> #include <dm/fdtaddr.h> drivers/watchdog/stm32mp_wdt.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_WDT -#include <common.h> #include <clk.h> #include <dm.h> #include <log.h> drivers/watchdog/tangier_wdt.c +0
-1@@ -2,7 +2,6 @@/* * Copyright (c) 2017 Intel Corporation */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h> drivers/watchdog/ulp_wdog.c +0
-1@@ -3,7 +3,6 @@* Copyright (C) 2016 Freescale Semiconductor, Inc. */ -#include <common.h> #include <cpu_func.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> drivers/watchdog/wdt-uclass.c +0
-1@@ -5,7 +5,6 @@#define LOG_CATEGORY UCLASS_WDT -#include <common.h> #include <cyclic.h> #include <div64.h> #include <dm.h> drivers/watchdog/xilinx_tb_wdt.c +0
-1@@ -8,7 +8,6 @@* Copyright (c) 2011-2018 Xilinx Inc. */ -#include <common.h> #include <dm.h> #include <log.h> #include <wdt.h> drivers/watchdog/xilinx_wwdt.c +0
-1@@ -9,7 +9,6 @@*/ #include <clk.h> -#include <common.h> #include <dm.h> #include <regmap.h> #include <wdt.h>
PATCH 79/81 xen: 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: Anastasiia Lukianenko <[email protected]>
Cc: Oleksandr Andrushchenko <[email protected]>
Cc: Tom Rini <[email protected]>
--- drivers/xen/events.c | 1 - drivers/xen/gnttab.c | 1 - drivers/xen/hypervisor.c | 1 - drivers/xen/pvblock.c | 1 - drivers/xen/xenbus.c | 1 - include/xen/events.h | 1 + 6 files changed, 1 insertion(+), 5 deletions(-)
drivers/xen/events.c +0 -1
@@ -14,7 +14,6 @@* * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary */ -#include <common.h> #include <log.h> #include <asm/io.h>
drivers/xen/gnttab.c +0 -1
@@ -14,7 +14,6 @@* * [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary */ -#include <common.h> #include <asm/global_data.h> #include <linux/compiler.h> #include <log.h>
drivers/xen/hypervisor.c +0 -1
@@ -8,7 +8,6 @@* Copyright (c) 2005, Grzegorz Milos, [email protected],Intel Research Cambridge * Copyright (c) 2020, EPAM Systems Inc. */ -#include <common.h> #include <cpu_func.h> #include <log.h> #include <memalign.h>
drivers/xen/pvblock.c +0 -1
@@ -7,7 +7,6 @@#define LOG_CATEGORY UCLASS_PVBLOCK#include <blk.h> -#include <common.h> #include <dm.h> #include <dm/device-internal.h> #include <malloc.h>
drivers/xen/xenbus.c +0 -1
@@ -15,7 +15,6 @@* [1] - http://xenbits.xen.org/gitweb/?p=mini-os.git;a=summary */ -#include <common.h> #include <log.h> #include <asm/armv8/mmu.h>
include/xen/events.h +1 -0
@@ -15,6 +15,7 @@#ifndef _EVENTS_H_#define _EVENTS_H_ +#include <asm/ptrace.h> #include <asm/xen/hypercall.h> #include <xen/interface/event_channel.h>
Signature · 1 line
2.34.1
PATCH 80/81 api: Remove <common.h> and add needed includes
In reply to Tom RiniRemove <common.h> from here and when needed add missing include files directly.
--- api/api.c | 4 +++- api/api_display.c | 2 +- api/api_net.c | 1 - api/api_storage.c | 2 +- examples/api/demo.c | 2 +- examples/api/glue.c | 1 - examples/api/libgenwrap.c | 1 - examples/standalone/atmel_df_pow2.c | 1 - examples/standalone/sched.c | 1 - examples/standalone/stubs.c | 1 - include/api_public.h | 2 ++ 11 files changed, 8 insertions(+), 10 deletions(-)
api/api.c +3 -1
@@ -7,11 +7,13 @@#include <config.h> #include <command.h> -#include <common.h> #include <env.h> #include <malloc.h> +#include <time.h> #include <env_internal.h> +#include <vsprintf.h> #include <linux/delay.h> +#include <linux/errno.h> #include <linux/types.h> #include <api_public.h> #include <u-boot/crc.h>
api/api_display.c +1 -1
@@ -3,9 +3,9 @@* Copyright (c) 2011 The Chromium OS Authors. */ -#include <common.h> #include <api_public.h> #include <log.h> +#include <linux/types.h> /* TODO(clchiou): add support of video device */
api/api_net.c +0 -1
@@ -6,7 +6,6 @@*/ #include <config.h> -#include <common.h> #include <net.h> #include <linux/types.h> #include <api_public.h>
api/api_storage.c +1 -1
@@ -6,10 +6,10 @@*/ #include <config.h> -#include <common.h> #include <api_public.h> #include <part.h> #include <scsi.h> +#include <linux/types.h> #if defined(CONFIG_CMD_USB ) && defined(CONFIG_USB_STORAGE )#include <usb.h>
examples/api/demo.c +1 -1
@@ -5,7 +5,7 @@* Written by: Rafal Jaworowski <[email protected]> */ -#include <common.h> +#include <stdio.h> #include <env.h> #include <linux/types.h> #include <api_public.h>
examples/api/glue.c +0 -1
@@ -3,7 +3,6 @@* (C) Copyright 2007-2008 Semihalf, Rafal Jaworowski <[email protected]> */ -#include <common.h> #include <env.h> #include <linux/types.h> #include <api_public.h>
examples/api/libgenwrap.c +0 -1
@@ -9,7 +9,6 @@* existing code e.g. operations on strings and similar. */ -#include <common.h> #include <command.h> #include <hang.h> #include <linux/delay.h>
examples/standalone/atmel_df_pow2.c +0 -1
@@ -6,7 +6,6 @@* Licensed under the 2-clause BSD. */ -#include <common.h> #include <exports.h> #include <spi.h> #include <linux/delay.h>
examples/standalone/sched.c +0 -1
@@ -1,6 +1,5 @@// SPDX-License-Identifier: GPL-2.0+ -#include <common.h> #include <exports.h> /*
examples/standalone/stubs.c +0 -1
@@ -1,4 +1,3 @@ -#include <common.h> #include <exports.h> #include <linux/compiler.h>
include/api_public.h +2 -0
@@ -8,6 +8,8 @@#ifndef _API_PUBLIC_H_#define _API_PUBLIC_H_ +#include <linux/types.h> +#define API_EINVAL 1/* invalid argument(s) */ #define API_ENODEV 2/* no device */ #define API_ENOMEM 3/* no memory */
Signature · 1 line
2.34.1
PATCH 81/81 common.h: Remove this file and all references
In reply to Tom RiniWith all files that had included this file directly having been updated, we can now remove this file.
--- doc/develop/codingstyle.rst | 8 ++----- doc/develop/tests_writing.rst | 1 - include/common.h | 33 --------------------------- scripts/Makefile.autoconf | 4 ++-- scripts/gen_ll_addressable_symbols.sh | 2 +- tools/dtoc/dtb_platdata.py | 3 --- tools/dtoc/test_dtoc.py | 3 --- 7 files changed, 5 insertions(+), 49 deletions(-) delete mode 100644 include/common.h
doc/develop/codingstyle.rst +2 -6
@@ -110,9 +110,8 @@ Include files You should follow this ordering in U-Boot. In all cases, they should be listed in alphabetical order. First comes headers which are located directly in our -top-level include diretory. This excludes the common.h header file which is to -be removed. Second are headers within subdirectories, Finally directory-local -includes should be listed. See this example: +top-level include diretory. Second are headers within subdirectories, Finally +directory-local includes should be listed. See this example: .. code-block:: C
@@ -129,9 +128,6 @@ For files that need to be compiled for the host (e.g. tools), you need to use ``#ifndef USE_HOSTCC`` to avoid including U-Boot specific include files. See common/image.c for an example. -If you encounter code which still uses <common.h> a patch to remove that and -replace it with any required include files directly is much appreciated. - If your file uses driver model, include <dm.h> in the C file. Do not include dm.h in a header file. Try to use forward declarations (e.g. ``struct udevice``) instead.
doc/develop/tests_writing.rst +0 -1
@@ -281,7 +281,6 @@ new one of those, you should add a new suite. Create a new file in test/ or a subdirectory and define a macro to register the suite. For example:: - #include <common.h> #include <console.h> #include <mapmem.h> #include <dm/test.h>
include/common.h deleted +0 -33
@@ -1,33 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Common header file for U-Boot -* -* This file still includes quite a few headers that should be included -* individually as needed. Patches to remove things are welcome. -* -* (C) Copyright 2000-2009 -* Wolfgang Denk, DENX Software Engineering, [email protected]. -*/ - -#ifndef __COMMON_H_ -#define __COMMON_H_ 1 - -#ifndef __ASSEMBLY__/* put C only stuff in this section */ -#include <config.h> -#include <errno.h> -#include <time.h> -#include <linux/types.h> -#include <linux/string.h> -#include <stdarg.h> -#include <stdio.h> -#include <linux/kernel.h> -#include <asm/u-boot.h> /* boot information for Linux kernel */ -#include <vsprintf.h> -#endif /* __ASSEMBLY__ */ - -/* Pull in stuff for the build system */ -#ifdef DO_DEPS_ONLY -# include <env_internal.h> -#endif - -#endif /* __COMMON_H_ */
scripts/Makefile.autoconf +2 -2
@@ -45,7 +45,7 @@ c_flags := $(KBUILD_CFLAGS) $(KBUILD_CPPFLAGS) $(PLATFORM_CPPFLAGS) \ quiet_cmd_autoconf_dep = GEN $@ cmd_autoconf_dep = $(CC) -x c -DDO_DEPS_ONLY -M -MP $(c_flags) \ - -MQ include/config/auto.conf $(srctree)/include/common.h > $@ || { \ + -MQ include/config/auto.conf include/config.h > $@ || { \ rm $@; false; \ } include/autoconf.mk.dep: include/config.h FORCE
@@ -70,7 +70,7 @@ quiet_cmd_autoconf = GEN $@ quiet_cmd_u_boot_cfg = CFG $@ cmd_u_boot_cfg = \ - $(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM $(srctree)/include/common.h > [email protected] && { \ + $(CPP) $(c_flags) $2 -DDO_DEPS_ONLY -dM include/config.h > [email protected] && { \ grep 'define CONFIG_' [email protected] | \ sed '/define CONFIG_IS_ENABLED(/d;/define CONFIG_IF_ENABLED_INT(/d;/define CONFIG_VAL(/d;' > $@; \ rm [email protected]; \
scripts/gen_ll_addressable_symbols.sh +1 -1
@@ -10,6 +10,6 @@ set -e -echo '#include <common.h>' +echo '#include <linux/compiler.h>' $@ 2>/dev/null | grep -oe '_u_boot_list_2_[a-zA-Z0-9_]*_2_[a-zA-Z0-9_]*' | \ sort -u | sed -e 's/^\(.*\)/extern char \1[];\n__ADDRESSABLE(\1);/'
tools/dtoc/dtb_platdata.py +0 -3
@@ -835,7 +835,6 @@ class DtbPlatdata(): def generate_uclasses(self): self.out('\n') - self.out('#include <common.h>\n') self.out('#include <dm.h>\n') self.out('#include <dt-structs.h>\n') self.out('\n')
@@ -1059,7 +1058,6 @@ class DtbPlatdata(): self.out('/* Allow use of U_BOOT_DRVINFO() in this file */\n') self.out('#define DT_PLAT_C\n') self.out('\n') - self.out('#include <common.h>\n') self.out('#include <dm.h>\n') self.out('#include <dt-structs.h>\n') self.out('\n')
@@ -1092,7 +1090,6 @@ class DtbPlatdata(): See the documentation in doc/driver-model/of-plat.rst for more information. """ - self.out('#include <common.h>\n') self.out('#include <dm.h>\n') self.out('#include <dt-structs.h>\n') self.out('\n')
tools/dtoc/test_dtoc.py +0 -3
@@ -63,7 +63,6 @@ C_HEADER = C_HEADER_PRE + ''' /* Allow use of U_BOOT_DRVINFO() in this file */ #define DT_PLAT_C -#include <common.h> #include <dm.h> #include <dt-structs.h> '''
@@ -417,7 +416,6 @@ U_BOOT_DRVINFO(spl_test3) = { ''' uclass_text_inst = ''' -#include <common.h> #include <dm.h> #include <dt-structs.h>
@@ -521,7 +519,6 @@ DM_UCLASS_INST(testfdt) = { * This was generated by dtoc from a .dtb (device tree binary) file. */ -#include <common.h> #include <dm.h> #include <dt-structs.h>
Signature · 1 line
2.34.1
Quoted 10 lines
-----Original Message-----
From: Tom Rini <[email protected]>
Sent: Thursday, May 2, 2024 10:30 AM
To: [email protected]
Cc: Weijie Gao <[email protected]>;GSS_MTK_Uboot_upstream<[email protected]>; Peng Fan <[email protected]>; Jaehoon Chung <[email protected]>
Subject: [PATCH 01/81] mmc: MigrateMMC_SUPPORTS_TUNINGtoKconfig
Quoted 7 lines
The constraints on the
MMC_SUPPORTS_TUNINGsymbol can easily be expressed inKconfig(with the addition ofSPL_MMC_SUPPORTS_TUNING). Furthermore, in order to remove <common.h> from the MMC subsystem, the way this symbol is used today needs to be changed in order to continue functioning.Signed-off-by Tom Rini <[email protected]>
Best Regards,
Jaehoon Chung
Quoted 471 lines
---
Cc: Weijie Gao <[email protected]>
Cc:GSS_MTK_Uboot_upstream<[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Jaehoon Chung <[email protected]>--- arch/arm/mach-mediatek/Kconfig | 1 + arch/mips/mach-mtmips/Kconfig | 1 + drivers/mmc/Kconfig | 11 +++++++++++ drivers/mmc/am654_sdhci.c | 6 +++--- drivers/mmc/fsl_esdhc.c | 4 ++-- drivers/mmc/fsl_esdhc_imx.c | 8 ++++---- drivers/mmc/mmc-uclass.c | 2 +- drivers/mmc/mmc.c | 12 ++++++------ drivers/mmc/mtk-sd.c | 4 ++-- drivers/mmc/octeontx_hsmmc.c | 12 ++++++------ drivers/mmc/omap_hsmmc.c | 4 ++-- drivers/mmc/sdhci-cadence.c | 2 +- drivers/mmc/sdhci.c | 4 ++-- include/configs/mt7621.h | 3 --- include/configs/mt7623.h | 3 --- include/configs/octeontx2_common.h | 5 ----- include/mmc.h | 9 +-------- 17 files changed, 43 insertions(+), 48 deletions(-)arch/arm/mach-mediatek/Kconfig +1
-0@@ -23,6 +23,7 @@ config TARGET_MT7622 config TARGET_MT7623 bool "MediaTek MT7623 SoC" select CPU_V7A + select MMC_SUPPORTS_TUNING help The MediaTek MT7623 is a ARM-based SoC with a quad-core Cortex-A7 including NEON and GPU, Mali-450 graphics, several DDR3 options,arch/mips/mach-mtmips/Kconfig +1
-0@@ -80,6 +80,7 @@ config SOC_MT7621 bool "MT7621" select MIPS_CM select MIPS_L2_CACHE + select MMC_SUPPORTS_TUNING select SYS_CACHE_SHIFT_5 select SYS_MIPS_CACHE_INIT_RAM_LOAD select PINCTRL_MT7621drivers/mmc/Kconfig +11
-0@@ -147,9 +147,16 @@ config SPL_MMC_IO_VOLTAGE support. For eMMC this not mandatory, but not enabling this option may prevent the driver of using the faster modes. +config MMC_SUPPORTS_TUNING + bool + +config SPL_MMC_SUPPORTS_TUNING + bool + config MMC_UHS_SUPPORT bool "enable UHS support" depends on MMC_IO_VOLTAGE + select MMC_SUPPORTS_TUNING help The Ultra High Speed (UHS) bus is available on some SDHC and SDXC cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus@@ -158,6 +165,7 @@ config MMC_UHS_SUPPORT config SPL_MMC_UHS_SUPPORT bool "enable UHS support in SPL" depends on SPL_MMC_IO_VOLTAGE + select SPL_MMC_SUPPORTS_TUNING help The Ultra High Speed (UHS) bus is available on some SDHC and SDXC cards. The IO voltage must be switchable from 3.3v to 1.8v. The bus@@ -193,6 +201,7 @@ config SPL_MMC_HS400_SUPPORT config MMC_HS200_SUPPORT bool "enable HS200 support" + select MMC_SUPPORTS_TUNING help The HS200 mode is support by some eMMC. The bus frequency is up to 200MHz. This mode requires tuning the IO.@@ -200,6 +209,7 @@ config MMC_HS200_SUPPORT config SPL_MMC_HS200_SUPPORT bool "enable HS200 support in SPL" depends on SPL_MMC + select SPL_MMC_SUPPORTS_TUNING help The HS200 mode is support by some eMMC. The bus frequency is up to 200MHz. This mode requires tuning the IO.@@ -347,6 +357,7 @@ config MMC_OCTEONTX bool "Marvell Octeon Multimedia Card Interface support" depends on (ARCH_OCTEON || ARCH_OCTEONTX || ARCH_OCTEONTX2) depends on DM_MMC + select MMC_SUPPORTS_TUNING if ARCH_OCTEONTX2 help This selects the Octeon Multimedia card Interface. If you have an OcteonTX/TX2 or MIPS Octeon board with adrivers/mmc/am654_sdhci.c +3
-3@@ -397,7 +397,7 @@ static void am654_sdhci_write_b(struct sdhci_host *host, u8 val, int reg)writeb (val, host->ioaddr + reg); } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )#define ITAPDLY_LENGTH 32#define ITAPDLY_LAST_INDEX (ITAPDLY_LENGTH - 1)@@ -500,7 +500,7 @@ static int am654_sdhci_execute_tuning(struct mmc *mmc, u8 opcode) }#endif const struct sdhci_ops am654_sdhci_ops = { -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) .platform_execute_tuning = am654_sdhci_execute_tuning, #endif .deferred_probe = am654_sdhci_deferred_probe,@@ -560,7 +560,7 @@ static int j721e_4bit_sdhci_set_ios_post(struct sdhci_host *host) }const struct sdhci_ops j721e_4bit_sdhci_ops = { -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) .platform_execute_tuning = am654_sdhci_execute_tuning, #endif .deferred_probe = am654_sdhci_deferred_probe,drivers/mmc/fsl_esdhc.c +2
-2@@ -1102,7 +1102,7 @@ static int fsl_esdhc_reinit(struct udevice *dev)return esdhc_init_common (priv, &plat->mmc); } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static int fsl_esdhc_execute_tuning (struct udevice *dev,uint32_t opcode) {struct fsl_esdhc_plat *plat =dev_get_plat (dev);@@ -1175,7 +1175,7 @@ static const struct dm_mmc_ops fsl_esdhc_ops = { .get_cd = fsl_esdhc_get_cd, .send_cmd = fsl_esdhc_send_cmd, .set_ios = fsl_esdhc_set_ios, -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) .execute_tuning = fsl_esdhc_execute_tuning, #endif .reinit = fsl_esdhc_reinit,drivers/mmc/fsl_esdhc_imx.c +4
-4@@ -635,7 +635,7 @@ static void set_sysctl(struct fsl_esdhc_priv *priv, struct mmc *mmc, uint clock) priv->clock = clock; } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static int esdhc_change_pinstate (struct udevice *dev) {struct fsl_esdhc_priv *priv =dev_get_priv (dev);@@ -913,7 +913,7 @@ static int esdhc_set_ios_common(struct fsl_esdhc_priv *priv, struct mmc *mmc)int ret__maybe_unused ;u32 clock; -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )/* * call esdhc_set_timing() before update the clock rate, * This is because current we support DDR and SDR mode, @@ -951,7 +951,7 @@ static int esdhc_set_ios_common(struct fsl_esdhc_priv *priv, struct mmc *mmc)esdhc_setbits32 (®s->sysctl,SYSCTL_PEREN |SYSCTL_CKEN ); } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )/* * For HS400/HS400ES mode, make sure set the strobe dll in the * target clock rate. So call esdhc_set_strobe_dll() after the @@ -1618,7 +1618,7 @@ static const struct dm_mmc_ops fsl_esdhc_ops = { .get_cd = fsl_esdhc_get_cd, .send_cmd = fsl_esdhc_send_cmd, .set_ios = fsl_esdhc_set_ios, -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING ) .execute_tuning = fsl_esdhc_execute_tuning,#endif #if CONFIG_IS_ENABLED (MMC_HS400_ES_SUPPORT )drivers/mmc/mmc-uclass.c +1
-1@@ -112,7 +112,7 @@ int mmc_getcd(struct mmc *mmc)return dm_mmc_get_cd (mmc->dev); } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static int dm_mmc_execute_tuning (struct udevice *dev,uint opcode) {struct dm_mmc_ops *ops =mmc_get_ops (dev);drivers/mmc/mmc.c +6
-6@@ -329,7 +329,7 @@ int mmc_set_blocklen(struct mmc *mmc, int len) MMC_QUIRK_RETRY_SET_BLOCKLEN, 4); } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static const u8 tuning_blk_pattern_4bit[] = {0xff ,0x0f ,0xff ,0x00 ,0xff ,0xcc ,0xc3 ,0xcc , 0xc3, 0x3c, 0xcc, 0xff, 0xfe, 0xff, 0xfe, 0xef,@@ -1621,7 +1621,7 @@ static inline int bus_width(uint cap) } #if !CONFIG_IS_ENABLED(DM_MMC) -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) static int mmc_execute_tuning(struct mmc *mmc, uint opcode) { return -ENOTSUPP;@@ -1702,7 +1702,7 @@ void mmc_dump_capabilities(const char *text, uint caps)struct mode_width_tuning {enum bus_mode mode;uint widths; -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )uint tuning;#endif };@@ -1743,7 +1743,7 @@ static inline int mmc_set_signal_voltage(struct mmc *mmc, uint signal_voltage) #if !CONFIG_IS_ENABLED(MMC_TINY) static const struct mode_width_tuning sd_modes_by_pref[] = { #if CONFIG_IS_ENABLED(MMC_UHS_SUPPORT) -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) { .mode = UHS_SDR104, .widths = MMC_MODE_4BIT | MMC_MODE_1BIT,@@ -1846,7 +1846,7 @@ static int sd_select_mode_and_width(struct mmc *mmc, uint card_caps)mmc_set_clock (mmc, mmc->tran_speed,MMC_CLK_ENABLE ); -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )/* execute tuning if needed */ if (mwt->tuning && !mmc_host_is_spi (mmc)) { err = mmc_execute_tuning(mmc,@@ -2224,7 +2224,7 @@ static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps)mmc_select_mode (mmc, mwt->mode);mmc_set_clock (mmc, mmc->tran_speed,MMC_CLK_ENABLE ); -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )/* execute tuning if needed */ if (mwt->tuning) {drivers/mmc/mtk-sd.c +2
-2@@ -1011,7 +1011,7 @@ static int msdc_ops_get_wp(struct udevice *dev)#endif } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static u32 test_delay_bit (u32 delay,u32 bit) { bit %=PAD_DELAY_MAX ;@@ -1760,7 +1760,7 @@ static const struct dm_mmc_ops msdc_ops = { .set_ios = msdc_ops_set_ios, .get_cd = msdc_ops_get_cd, .get_wp = msdc_ops_get_wp, -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) .execute_tuning = msdc_execute_tuning, #endif .wait_dat0 = msdc_ops_wait_dat0,drivers/mmc/octeontx_hsmmc.c +6
-6@@ -794,7 +794,7 @@ octeontx_mmc_get_cr_mods(struct mmc *mmc, const struct mmc_cmd *cmd,u8 desired_ctype =0 ;if (IS_MMC (mmc)) { -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )if (cmd->cmdidx ==MMC_CMD_SEND_TUNING_BLOCK_HS200 ) {if (cmd->resp_type ==MMC_RSP_R1 ) cr.rtype_xor =1 ;@@ -1631,7 +1631,7 @@ static int octeontx_mmc_dev_send_cmd(struct udevice *dev, struct mmc_cmd *cmd,return octeontx_mmc_send_cmd (dev_to_mmc (dev), cmd, data); } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static int octeontx_mmc_test_cmd (struct mmc *mmc,u32 opcode,int *statp) {struct mmc_cmd cmd;@@ -2421,12 +2421,12 @@ static int octeontx_mmc_execute_tuning(struct udevice *dev, u32 opcode) return 0; } -#else /* MMC_SUPPORTS_TUNING */ +#else /* CONFIG_MMC_SUPPORTS_TUNING */ static void octeontx_mmc_set_emm_timing (struct mmc *mmc,union mio_emm_timing emm_timing) { } -#endif /* MMC_SUPPORTS_TUNING */ +#endif /* CONFIG_MMC_SUPPORTS_TUNING */ /** * Calculate the clock period with rounding up @@ -2573,7 +2573,7 @@ static int octeontx_mmc_set_ios(struct udevice *dev) err =octeontx_mmc_configure_delay (mmc); -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )if (!err && mmc->selected_mode ==MMC_HS_400 && !slot->hs400_tuned) {debug ("%s: Tuning HS400 mode\n" , __func__); err =octeontx_tune_hs400 (mmc);@@ -3776,7 +3776,7 @@ static const struct dm_mmc_ops octeontx_hsmmc_ops = { .set_ios = octeontx_mmc_set_ios, .get_cd = octeontx_mmc_get_cd, .get_wp = octeontx_mmc_get_wp, -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING ) .execute_tuning = octeontx_mmc_execute_tuning,#endif };drivers/mmc/omap_hsmmc.c +2
-2@@ -577,7 +577,7 @@ static uint32_t omap_hsmmc_set_capabilities(struct mmc *mmc)return val; } -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static void omap_hsmmc_disable_tuning (struct mmc *mmc) {struct hsmmc *mmc_base;@@ -1518,7 +1518,7 @@ static const struct dm_mmc_ops omap_hsmmc_ops = { .get_cd = omap_hsmmc_getcd, .get_wp = omap_hsmmc_getwp,#endif -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING ) .execute_tuning = omap_hsmmc_execute_tuning, #endif .wait_dat0 = omap_hsmmc_wait_dat0,drivers/mmc/sdhci-cadence.c +1
-1@@ -274,7 +274,7 @@ static int sdhci_cdns_probe(struct udevice *dev) host->ops = &sdhci_cdns_ops; host->quirks |=SDHCI_QUIRK_WAIT_SEND_CMD ; sdhci_cdns_mmc_ops = sdhci_ops; -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING ) sdhci_cdns_mmc_ops.execute_tuning = sdhci_cdns_execute_tuning;#endif drivers/mmc/sdhci.c +2
-2@@ -351,7 +351,7 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,return -ECOMM ; } -#if defined(CONFIG_DM_MMC ) && defined(MMC_SUPPORTS_TUNING ) +#if defined(CONFIG_DM_MMC ) &&CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )static int sdhci_execute_tuning (struct udevice *dev,uint opcode) {int err;@@ -848,7 +848,7 @@ const struct dm_mmc_ops sdhci_ops = { .set_ios = sdhci_set_ios, .get_cd = sdhci_get_cd, .deferred_probe = sdhci_deferred_probe, -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED(MMC_SUPPORTS_TUNING) .execute_tuning = sdhci_execute_tuning, #endif .wait_dat0 = sdhci_wait_dat0,include/configs/mt7621.h +0
-3@@ -14,9 +14,6 @@#define CFG_SYS_INIT_SP_OFFSET 0x800000 -/* MMC */ -#define MMC_SUPPORTS_TUNING -/* Serial SPL */ #if defined(CONFIG_SPL_BUILD ) && defined(CONFIG_SPL_SERIAL )#define CFG_SYS_NS16550_CLK 50000000include/configs/mt7623.h +0
-3@@ -11,9 +11,6 @@#include <linux/sizes.h> -/* MMC */ -#define MMC_SUPPORTS_TUNING -/* DRAM */ #define CFG_SYS_SDRAM_BASE 0x80000000include/configs/octeontx2_common.h +0
-5@@ -19,9 +19,4 @@"loadaddr=20080000\0" \ "ethrotate=yes\0" -#if defined(CONFIG_MMC_OCTEONTX ) -#define MMC_SUPPORTS_TUNING -/** EMMC specific defines */ -#endif -#endif /* __OCTEONTX2_COMMON_H__ */ include/mmc.h +1
-9@@ -18,13 +18,6 @@struct bd_info ; -#if CONFIG_IS_ENABLED (MMC_HS200_SUPPORT ) -#define MMC_SUPPORTS_TUNING -#endif -#if CONFIG_IS_ENABLED (MMC_UHS_SUPPORT ) -#define MMC_SUPPORTS_TUNING -#endif -/* SD/MMC version bits; 8 flags, 8 major, 8 minor, 8 change */ #define SD_VERSION_SD (1U << 31)#define MMC_VERSION_MMC (1U << 30)@@ -485,7 +478,7 @@ struct dm_mmc_ops {*/ int (*get_wp)(struct udevice *dev); -#ifdef MMC_SUPPORTS_TUNING +#if CONFIG_IS_ENABLED (MMC_SUPPORTS_TUNING )/** * execute_tuning() - Start the tuning process * -- 2.34.1
Quoted 8 lines · Tom Rini
The constraints on the
MMC_SUPPORTS_TUNINGsymbol can easily be expressed inKconfig(with the addition ofSPL_MMC_SUPPORTS_TUNING). Furthermore, in order to remove <common.h> from the MMC subsystem, the way this symbol is used today needs to be changed in order to continue functioning.[...]
Applied to u-boot/next, thanks!
Signature · 1 line
Tom