Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21067C77B7F for ; Tue, 16 May 2023 13:15:27 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D672986122; Tue, 16 May 2023 15:15:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="c+vNS7jz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 63E5E86133; Tue, 16 May 2023 15:15:23 +0200 (CEST) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 48C1986122 for ; Tue, 16 May 2023 15:15:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=eugen.hristev@collabora.com Received: from [192.168.18.121] (unknown [46.8.172.197]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: ehristev) by madras.collabora.co.uk (Postfix) with ESMTPSA id 9A01E66058F2; Tue, 16 May 2023 14:15:20 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1684242920; bh=TBKDqgdpt3VpERfDnwAN0k+Q6gI7HE/xRQHTU3bOGqg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=c+vNS7jzFatwIGychC5vC3W+ox//MbHE4RIYYIqPRzYa7WmgCKb+L0eRSze7o5Foj Wnhi6PQ9gPKG2sotZZMCyQ1lzOaZoCt/Az2oaezQvJE8xI3b2qdadCmrZKGLxkJ5bq WgaUsfzB3Br8ys/zM7gZlSkVit1FPq8HG9A0vcZTwk+JE1JZZWXc3/jd7cQrZGmArP ZCrA469fWBHFOHwxVayLbABTZexNYlUxrc+MoFLVfR0fWQbGCsQ5WHqZBHwZAAjpy4 XnX4P1M0YTpYjdqlowO7Lihbkc9YZPPBGEsJ+pPtatLif+p7FcUjjF9yWeSVjHF892 78K3g9zyjFORA== Message-ID: <70a1d5bb-1470-f769-e5bf-cbb5d516f1f6@collabora.com> Date: Tue, 16 May 2023 16:15:18 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] include: Remove unused header files Content-Language: en-US To: Tom Rini Cc: u-boot@lists.denx.de, Marek Vasut References: <20230515180114.3515492-1-trini@konsulko.com> <20230516130937.GV2398826@bill-the-cat> From: Eugen Hristev In-Reply-To: <20230516130937.GV2398826@bill-the-cat> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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.8 at phobos.denx.de X-Virus-Status: Clean On 5/16/23 16:09, Tom Rini wrote: > On Tue, May 16, 2023 at 04:08:10PM +0300, Eugen Hristev wrote: >> On 5/15/23 21:01, Tom Rini wrote: >>> As part of various code clean-ups we have on occasion missed removing >>> unused header files. None of these files are referenced anywhere else >>> at this point. >>> >>> Signed-off-by: Tom Rini >>> --- >>> arch/arm/include/asm/arch-bcmcygnus/configs.h | 18 - >>> arch/arm/include/asm/arch-bcmnsp/configs.h | 17 - >>> arch/arm/include/asm/arch-imxrt/imxrt.h | 10 - >>> arch/arm/include/asm/arch-lpc32xx/gpio_grp.h | 39 - >>> arch/arm/include/asm/arch-mx27/mxcmmc.h | 11 - >>> arch/arm/include/asm/arch-mx6/opos6ul.h | 11 - >>> arch/arm/include/asm/arch-mxs/regs-uartapp.h | 219 --- >>> arch/arm/include/asm/arch-omap3/omap3-regs.h | 78 - >>> arch/arm/include/asm/arch-omap5/mux_omap5.h | 317 ---- >>> arch/arm/include/asm/iproc-common/configs.h | 14 - >>> .../include/asm/iproc-common/iproc_sdhci.h | 12 - >>> arch/arm/include/asm/kona-common/kona_sdhci.h | 11 - >>> arch/arm/mach-at91/include/mach/at91_rtt.h | 32 - >>> arch/arm/mach-at91/include/mach/sama7-sfr.h | 59 - >> >> Hi Tom, >> >> The sama7 SFR is to be used with patches that are pending, not yet merged. >> Could you please avoid removing this file ? > > OK. Is that the only one? For future reference, it's best to not > include headers / etc until they're going to be used. Thanks. > Well, the fact is that the header file is part of the arch , thus going through the at91 tree, but it's referenced in some USB patches, that are assigned to Marek and going through the USB tree. Since he could not take the patches without the header, I applied it first, and now waiting for him to send the PR for the USB patches using it. You could ask why they are not in the same patch, well, Marek asked for separate patches for arch changes and USB changes. Eugen