From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0725C4320E for ; Wed, 11 Aug 2021 08:27:27 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id B489760FC3 for ; Wed, 11 Aug 2021 08:27:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B489760FC3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AE81382C89; Wed, 11 Aug 2021 10:27:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1628670445; bh=g1VxWvyqt+7PPLHL43xZnmsNckTMaguZCSYNik8EOR8=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=P04+VUXmWbaAp6Tpc5nahUDv2ZXdfpkEro/3yLGx8Odb8KgbOLz6b6fRAMY10n0D6 voZ4BcX/LgNvJmHxvS4Oq0j9LjIQGPWn0FIPYzfnLnSoofw2/uNOwhAW6hAHb36qI9 XuHhH7vXvW3k4KVXckk1v/ZWodA8fXl80ssTHXB9R5ruw6ObgwYxYgKwugvLvHhXrJ MwcaBWLTe4zFYUk4KUiZwE1wup9qj4vSx8bLSJWDxK6mYtqJFPDRKVYMuHZuk5pWS9 m2IBYdtu4Um252vUeDEg0esmiPJmyC/r1UefC5qgepvTTL1QyTZyFcIzrS0JkByMXX cXfSN3JGAvu8A== Received: by phobos.denx.de (Postfix, from userid 109) id 0E64482C89; Wed, 11 Aug 2021 10:27:23 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:1::465:107]) (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 D7BB782C30 for ; Wed, 11 Aug 2021 10:27:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4Gl2xL4LHTzQk0m; Wed, 11 Aug 2021 10:27:18 +0200 (CEST) Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id uosACfjnv1vA; Wed, 11 Aug 2021 10:27:10 +0200 (CEST) Subject: Re: [PATCH 0/5] arm: mvebu: Automatically detect CONFIG_SYS_TCLK To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Chris Packham , Baruch Siach , Dirk Eibach , u-boot@lists.denx.de Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , Dennis Gilmore , Mario Six , Jon Nettleton References: <20210731122256.6546-1-pali@kernel.org> From: Stefan Roese Message-ID: <48553034-f03a-e7be-1e7c-e9c3adcb341b@denx.de> Date: Wed, 11 Aug 2021 10:27:09 +0200 MIME-Version: 1.0 In-Reply-To: <20210731122256.6546-1-pali@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4480118BF X-Rspamd-UID: e9e0fc X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On 31.07.21 14:22, Pali Rohár wrote: > This patch series automatically detects CONFIG_SYS_TCLK value, set it in > global mach/soc.h file and remove manual CONFIG_SYS_TCLK value from all > mvebu/kirkwood board config files. > > So it just a cleanup to avoid defining custom macros in board config > files which can be automatically detected. > > Could you test these patches on a38x and a37x platforms that nothing is > broken? I tested them on a38x Turris Omnia. > > Pali Rohár (5): > arm: mvebu: a38x: Detect CONFIG_SYS_TCLK from SAR register > arm: mvebu: a37x: Detect CONFIG_SYS_TCLK from SAR register > arm: mvebu: msys: Set CONFIG_SYS_TCLK globally > arm: mvebu: axp: Set CONFIG_SYS_TCLK globally > arm: kirkwood: Do not overwrite CONFIG_SYS_TCLK Applied to u-boot-marvell/master Thanks, Stefan > arch/arm/mach-kirkwood/include/mach/kw88f6281.h | 2 -- > arch/arm/mach-mvebu/include/mach/soc.h | 15 ++++++++++----- > include/configs/clearfog.h | 1 - > include/configs/controlcenterdc.h | 2 -- > include/configs/crs3xx-98dx3236.h | 1 - > include/configs/db-88f6720.h | 1 - > include/configs/db-88f6820-amc.h | 2 -- > include/configs/db-88f6820-gp.h | 2 -- > include/configs/db-mv784mp-gp.h | 1 - > include/configs/db-xc3-24g4xg.h | 1 - > include/configs/ds414.h | 1 - > include/configs/helios4.h | 1 - > include/configs/lacie_kw.h | 5 ----- > include/configs/lsxl.h | 2 -- > include/configs/maxbcm.h | 1 - > include/configs/theadorable.h | 1 - > include/configs/turris_omnia.h | 1 - > include/configs/x530.h | 2 -- > 18 files changed, 10 insertions(+), 32 deletions(-) > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de