From patchwork Tue May 14 11:46:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?S=C3=A9bastien_Szymanski?= X-Patchwork-Id: 1099448 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=armadeus.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 453GCs254Bz9sBV for ; Tue, 14 May 2019 21:48:25 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 0C086C21F45; Tue, 14 May 2019 11:48:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id CF61BC21FC0; Tue, 14 May 2019 11:48:03 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AF5A1C21FBB; Tue, 14 May 2019 11:47:54 +0000 (UTC) Received: from 13.mo1.mail-out.ovh.net (13.mo1.mail-out.ovh.net [178.33.253.128]) by lists.denx.de (Postfix) with ESMTPS id AB5DAC21F9E for ; Tue, 14 May 2019 11:47:51 +0000 (UTC) Received: from player732.ha.ovh.net (unknown [10.108.42.75]) by mo1.mail-out.ovh.net (Postfix) with ESMTP id 7E1F11778D7 for ; Tue, 14 May 2019 13:47:50 +0200 (CEST) Received: from armadeus.com (lfbn-1-7591-179.w90-126.abo.wanadoo.fr [90.126.248.179]) (Authenticated sender: sebastien.szymanski@armadeus.com) by player732.ha.ovh.net (Postfix) with ESMTPSA id 5E0FD59FD03B; Tue, 14 May 2019 11:47:45 +0000 (UTC) From: =?utf-8?q?S=C3=A9bastien_Szymanski?= To: u-boot@lists.denx.de Date: Tue, 14 May 2019 13:46:21 +0200 Message-Id: <20190514114621.15384-2-sebastien.szymanski@armadeus.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190514114621.15384-1-sebastien.szymanski@armadeus.com> References: <20190514114621.15384-1-sebastien.szymanski@armadeus.com> MIME-Version: 1.0 X-Ovh-Tracer-Id: 12314530234707694617 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrleeigdeggecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecu Subject: [U-Boot] [PATCH 2/2] opos6uldev: remove board_ehci_hcd_init function X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" It's useless on the opos6uldev. Remove it. Signed-off-by: Sébastien Szymanski Reviewed-by: Fabio Estevam --- board/armadeus/opos6uldev/board.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/board/armadeus/opos6uldev/board.c b/board/armadeus/opos6uldev/board.c index aed334f8fb..cbf40d5c4a 100644 --- a/board/armadeus/opos6uldev/board.c +++ b/board/armadeus/opos6uldev/board.c @@ -70,27 +70,6 @@ int setup_lcd(void) } #endif -#ifdef CONFIG_USB_EHCI_MX6 -#define USB_OTHERREGS_OFFSET 0x800 -#define UCTRL_PWR_POL (1 << 9) - -int board_ehci_hcd_init(int port) -{ - u32 *usbnc_usb_ctrl; - - if (port > 1) - return -EINVAL; - - usbnc_usb_ctrl = (u32 *)(USB_BASE_ADDR + USB_OTHERREGS_OFFSET + - port * 4); - - /* Set Power polarity */ - setbits_le32(usbnc_usb_ctrl, UCTRL_PWR_POL); - - return 0; -} -#endif - int opos6ul_board_late_init(void) { #ifdef CONFIG_VIDEO_MXS