From patchwork Wed Feb 1 20:20:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1735883 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=algCOla8; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P6YSK3yVfz1yhq for ; Thu, 2 Feb 2023 07:29:53 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E8A4885E00; Wed, 1 Feb 2023 21:24:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="algCOla8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B7A1885DB5; Wed, 1 Feb 2023 21:23:33 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2F94385DA1 for ; Wed, 1 Feb 2023 21:23:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2b.google.com with SMTP id j4so4447114iog.8 for ; Wed, 01 Feb 2023 12:23:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uTLOD9XwghL18ONq2CszOe4slZPI+V0C6PLlRS70Zv4=; b=algCOla8rmOroE3INyaEoSbmilaHphs5AAv/Xa5D0v2kS+0b9ihU3QTU4HeFHqJmua AX0hEiYRkukHb+8fqF5rgTRaqzcR1k65PL13f16/dp+Jnalf6VsrJyYV3m0BDpWhRKoW y6XoWABzPHanrMPHZcABJ/lHg6QF0kW9NOFHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uTLOD9XwghL18ONq2CszOe4slZPI+V0C6PLlRS70Zv4=; b=Di/MEGlTA0cHNkiivkgo/AbWnC01P65yxKqdMJPBuntgU20Y89q2X8wShPbNBb+Ufy 7Ve/SR2YX0RQ+nsiFM/IoqjSY9DwTgDdslRbQ+l0lMQc29QLbyC7zBtwWr7v9oCk7yXY /lmH01lS7OZoeRnNO+/GDaZzLw1WV+GMH43aOAJKfTH21+/P2sUxOElh7oXiLdz/1Cet QsvCvQSlyWTV8w/uXiHlLYPzhDG5OOJ5h/q5MdKDTv2V12GN2m/XsteRKLkTPnWfXBKf 4Gi7SEfCgl1Nhh4XX8yIXTlIwBzd4rxNlVyjoZy8VS/EXgEr5RSObBgIAPZ1PQi4LHWn 1fdQ== X-Gm-Message-State: AO0yUKUTRy24sJotPCBguVoAGrM/zh+LWQHhgQVf4ft/O21gquo2GlpR kPz5Pd08heTCllQxJgdu9w+CqcP8Spb3N0wC X-Google-Smtp-Source: AK7set/F+yA7wnqy2wEGIAnEdTIE6iHDSb9f9oqZRpzjdAbG57YaTfu4P1vQbRO6W1YWIRwFuKBkPA== X-Received: by 2002:a6b:dc10:0:b0:704:b286:64c3 with SMTP id s16-20020a6bdc10000000b00704b28664c3mr2365657ioc.16.1675282944497; Wed, 01 Feb 2023 12:22:24 -0800 (PST) Received: from kea.bld.corp.google.com ([2620:15c:183:200:1fda:cca0:9a42:148c]) by smtp.gmail.com with ESMTPSA id i1-20020a6bf401000000b00704608527d1sm6166498iog.37.2023.02.01.12.22.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 12:22:24 -0800 (PST) From: Simon Glass To: u-boot@lists.denx.de Cc: Tom Rini , Simon Glass , Marek Vasut Subject: [PATCH v3 70/76] usb: Drop unused ehci-vct driver Date: Wed, 1 Feb 2023 13:20:21 -0700 Message-Id: <20230201202027.1943031-71-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.456.gfc5497dd1b-goog In-Reply-To: <20230201202027.1943031-1-sjg@chromium.org> References: <20230201202027.1943031-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This is not used. Drop the driver and Kconfig option. Signed-off-by: Simon Glass --- (no changes since v1) drivers/usb/host/Makefile | 1 - drivers/usb/host/ehci-vct.c | 44 ------------------------------------- 2 files changed, 45 deletions(-) delete mode 100644 drivers/usb/host/ehci-vct.c diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index 3d3dd5f279f..3e5ba2bd0ba 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile @@ -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 index 7167f82b481..00000000000 --- a/drivers/usb/host/ehci-vct.c +++ /dev/null @@ -1,44 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * (C) Copyright 2009 Stefan Roese , DENX Software Engineering - */ - -#include -#include - -#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; -}