From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-it1-x143.google.com ([2607:f8b0:4864:20::143]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hTGZr-0002Sm-R5 for barebox@lists.infradead.org; Wed, 22 May 2019 02:02:01 +0000 Received: by mail-it1-x143.google.com with SMTP id i10so1041865ite.0 for ; Tue, 21 May 2019 19:01:59 -0700 (PDT) MIME-Version: 1.0 References: <20190520182402.12753-1-andrew.smirnov@gmail.com> <20190520182402.12753-6-andrew.smirnov@gmail.com> <20190521093716.qywrzd2qvkrpcmwn@pengutronix.de> <20190521095025.i2kljfhh6j2tuhv5@pengutronix.de> In-Reply-To: <20190521095025.i2kljfhh6j2tuhv5@pengutronix.de> From: Andrey Smirnov Date: Tue, 21 May 2019 19:01:46 -0700 Message-ID: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 5/5] ARM: i.MX: Drop unused usb-imx6.c To: Sascha Hauer Cc: Barebox List On Tue, May 21, 2019 at 2:50 AM Sascha Hauer wrote: > > On Tue, May 21, 2019 at 11:37:16AM +0200, Sascha Hauer wrote: > > On Mon, May 20, 2019 at 11:24:02AM -0700, Andrey Smirnov wrote: > > > Looks like usb-imx6.c was abandoned and there are no references to > > > either of the functions difined there. Drop it. > > > > > > Signed-off-by: Andrey Smirnov > > > --- > > > arch/arm/mach-imx/Makefile | 2 +- > > > arch/arm/mach-imx/usb-imx6.c | 111 ----------------------------------- > > > 2 files changed, 1 insertion(+), 112 deletions(-) > > > delete mode 100644 arch/arm/mach-imx/usb-imx6.c > > > > > > diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile > > > index b86025cc3..b16de2866 100644 > > > --- a/arch/arm/mach-imx/Makefile > > > +++ b/arch/arm/mach-imx/Makefile > > > @@ -10,7 +10,7 @@ obj-$(CONFIG_ARCH_IMX51) += imx51.o imx5.o > > > pbl-$(CONFIG_ARCH_IMX51) += imx51.o imx5.o > > > obj-$(CONFIG_ARCH_IMX53) += imx53.o imx5.o esdctl-v4.o > > > pbl-$(CONFIG_ARCH_IMX53) += imx53.o imx5.o esdctl-v4.o > > > -obj-$(CONFIG_ARCH_IMX6) += imx6.o usb-imx6.o > > > +obj-$(CONFIG_ARCH_IMX6) += imx6.o > > > CFLAGS_imx6.o := -march=armv7-a > > > lwl-$(CONFIG_ARCH_IMX6) += imx6-mmdc.o > > > obj-$(CONFIG_ARCH_IMX7) += imx7.o > > > diff --git a/arch/arm/mach-imx/usb-imx6.c b/arch/arm/mach-imx/usb-imx6.c > > > deleted file mode 100644 > > > index 4236bcb77..000000000 > > > --- a/arch/arm/mach-imx/usb-imx6.c > > > +++ /dev/null > > > @@ -1,111 +0,0 @@ > > > - > > > -int imx6_usb_phy2_disable_oc(void) > > > -{ > > > > You leave the function prototypes in > > arch/arm/mach-imx/include/mach/usb.h. Could you remove them aswell? > > Don't mind, I fixed this up while applying > I knew I was forgetting something! Thanks for fixing that! Thanks, Andrey Smirnov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox