]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: Drop unused ehci-vct driver
authorSimon Glass <sjg@chromium.org>
Wed, 1 Feb 2023 20:20:21 +0000 (13:20 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 7 Feb 2023 19:33:50 +0000 (14:33 -0500)
This is not used. Drop the driver and Kconfig option.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/Makefile
drivers/usb/host/ehci-vct.c [deleted file]

index 3d3dd5f279f0919bf4ad3a7383b6824df09a07b8..3e5ba2bd0ba5a9cba051d56ac935b904ccd2654e 100644 (file)
@@ -39,7 +39,6 @@ obj-$(CONFIG_USB_EHCI_MARVELL) += ehci-marvell.o
 obj-$(CONFIG_USB_EHCI_MSM) += ehci-msm.o
 obj-$(CONFIG_USB_EHCI_PCI) += ehci-pci.o
 obj-$(CONFIG_USB_EHCI_TEGRA) += ehci-tegra.o
-obj-$(CONFIG_USB_EHCI_VCT) += ehci-vct.o
 obj-$(CONFIG_USB_EHCI_VF) += ehci-vf.o
 obj-$(CONFIG_USB_EHCI_ZYNQ) += ehci-zynq.o
 
diff --git a/drivers/usb/host/ehci-vct.c b/drivers/usb/host/ehci-vct.c
deleted file mode 100644 (file)
index 7167f82..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0+
-/*
- * (C) Copyright 2009 Stefan Roese <sr@denx.de>, DENX Software Engineering
- */
-
-#include <common.h>
-#include <usb.h>
-
-#include "ehci.h"
-
-int vct_ehci_hcd_init(u32 *hccr, u32 *hcor);
-
-/*
- * Create the appropriate control structures to manage
- * a new EHCI host controller.
- */
-int ehci_hcd_init(int index, enum usb_init_type init,
-               struct ehci_hccr **hccr, struct ehci_hcor **hcor)
-{
-       int ret;
-       u32 vct_hccr;
-       u32 vct_hcor;
-
-       /*
-        * Init VCT specific stuff
-        */
-       ret = vct_ehci_hcd_init(&vct_hccr, &vct_hcor);
-       if (ret)
-               return ret;
-
-       *hccr = (struct ehci_hccr *)vct_hccr;
-       *hcor = (struct ehci_hcor *)vct_hcor;
-
-       return 0;
-}
-
-/*
- * Destroy the appropriate control structures corresponding
- * the the EHCI host controller.
- */
-int ehci_hcd_stop(int index)
-{
-       return 0;
-}