usb: xhci: move xhci.h to include usb

The xhci.h header file is currently located under drivers/usb/xhci
Move it to the include/usb folder to make it available to drivers that
are not under drivers/usb/xhci

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
This commit is contained in:
Jean-Jacques Hiblot 2019-09-11 11:33:46 +02:00 committed by Marek Vasut
parent bbe3d4a6c1
commit 1708a12377
14 changed files with 13 additions and 12 deletions

View File

@ -851,6 +851,7 @@ M: Bin Meng <bmeng.cn@gmail.com>
S: Maintained S: Maintained
T: git https://gitlab.denx.de/u-boot/custodians/u-boot-usb.git topic-xhci T: git https://gitlab.denx.de/u-boot/custodians/u-boot-usb.git topic-xhci
F: drivers/usb/host/xhci* F: drivers/usb/host/xhci*
F: include/usb/xhci.h
VIDEO VIDEO
M: Anatolij Gustschin <agust@denx.de> M: Anatolij Gustschin <agust@denx.de>

View File

@ -14,7 +14,7 @@
#include <usb.h> #include <usb.h>
#include <dwc3-uboot.h> #include <dwc3-uboot.h>
#include "xhci.h" #include <usb/xhci.h>
#include <asm/io.h> #include <asm/io.h>
#include <linux/usb/dwc3.h> #include <linux/usb/dwc3.h>
#include <linux/usb/otg.h> #include <linux/usb/otg.h>

View File

@ -27,7 +27,7 @@
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/usb/dwc3.h> #include <linux/usb/dwc3.h>
#include "xhci.h" #include <usb/xhci.h>
/* Declare global data pointer */ /* Declare global data pointer */
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;

View File

@ -13,7 +13,7 @@
#include <linux/compat.h> #include <linux/compat.h>
#include <linux/usb/xhci-fsl.h> #include <linux/usb/xhci-fsl.h>
#include <linux/usb/dwc3.h> #include <linux/usb/dwc3.h>
#include "xhci.h" #include <usb/xhci.h>
#include <fsl_errata.h> #include <fsl_errata.h>
#include <fsl_usb.h> #include <fsl_usb.h>
#include <dm.h> #include <dm.h>

View File

@ -21,7 +21,7 @@
#include <asm/cache.h> #include <asm/cache.h>
#include <linux/errno.h> #include <linux/errno.h>
#include "xhci.h" #include <usb/xhci.h>
#define CACHELINE_SIZE CONFIG_SYS_CACHELINE_SIZE #define CACHELINE_SIZE CONFIG_SYS_CACHELINE_SIZE
/** /**

View File

@ -12,7 +12,7 @@
#include <power/regulator.h> #include <power/regulator.h>
#include <asm/gpio.h> #include <asm/gpio.h>
#include "xhci.h" #include <usb/xhci.h>
struct mvebu_xhci_platdata { struct mvebu_xhci_platdata {
fdt_addr_t hcd_base; fdt_addr_t hcd_base;

View File

@ -19,7 +19,7 @@
#include <linux/usb/dwc3.h> #include <linux/usb/dwc3.h>
#include <linux/usb/xhci-omap.h> #include <linux/usb/xhci-omap.h>
#include "xhci.h" #include <usb/xhci.h>
/* Declare global data pointer */ /* Declare global data pointer */
static struct omap_xhci omap; static struct omap_xhci omap;

View File

@ -9,7 +9,7 @@
#include <dm.h> #include <dm.h>
#include <pci.h> #include <pci.h>
#include <usb.h> #include <usb.h>
#include "xhci.h" #include <usb/xhci.h>
static void xhci_pci_init(struct udevice *dev, struct xhci_hccr **ret_hccr, static void xhci_pci_init(struct udevice *dev, struct xhci_hccr **ret_hccr,
struct xhci_hcor **ret_hcor) struct xhci_hcor **ret_hcor)

View File

@ -12,7 +12,7 @@
#include <usb.h> #include <usb.h>
#include <wait_bit.h> #include <wait_bit.h>
#include "xhci.h" #include <usb/xhci.h>
#include "xhci-rcar-r8a779x_usb3_v3.h" #include "xhci-rcar-r8a779x_usb3_v3.h"
/* Register Offset */ /* Register Offset */

View File

@ -19,7 +19,7 @@
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include <linux/errno.h> #include <linux/errno.h>
#include "xhci.h" #include <usb/xhci.h>
/** /**
* Is this TRB a link TRB or was the last TRB the last TRB in this event ring * Is this TRB a link TRB or was the last TRB the last TRB in this event ring

View File

@ -13,7 +13,7 @@
#include <linux/usb/dwc3.h> #include <linux/usb/dwc3.h>
#include <power/regulator.h> #include <power/regulator.h>
#include "xhci.h" #include <usb/xhci.h>
struct rockchip_xhci_platdata { struct rockchip_xhci_platdata {
fdt_addr_t hcd_base; fdt_addr_t hcd_base;

View File

@ -28,7 +28,7 @@
#include <asm/cache.h> #include <asm/cache.h>
#include <asm/unaligned.h> #include <asm/unaligned.h>
#include <linux/errno.h> #include <linux/errno.h>
#include "xhci.h" #include <usb/xhci.h>
#ifndef CONFIG_USB_MAX_CONTROLLER_COUNT #ifndef CONFIG_USB_MAX_CONTROLLER_COUNT
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1 #define CONFIG_USB_MAX_CONTROLLER_COUNT 1

View File

@ -19,7 +19,7 @@
#include <linux/usb/dwc3.h> #include <linux/usb/dwc3.h>
#include <linux/usb/xhci-omap.h> #include <linux/usb/xhci-omap.h>
#include "../host/xhci.h" #include <usb/xhci.h>
#ifdef CONFIG_OMAP_USB3PHY1_HOST #ifdef CONFIG_OMAP_USB3PHY1_HOST
struct usb3_dpll_params { struct usb3_dpll_params {