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=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, 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 298D8C4338F for ; Mon, 2 Aug 2021 06:34:42 +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 8856D60EBB for ; Mon, 2 Aug 2021 06:34:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8856D60EBB 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 9C68D82003; Mon, 2 Aug 2021 08:34:39 +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=1627886080; bh=sz/CJPu+yauZg9a3KX2xZsTxdceBfQrLB4BCa4bqDUw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=hLo/NVZPGvWk0jr8lrSvmSuKprQRZF6klVpgQS0v5BKi46txxTilurkL5RXxgtcTP BJHhxMFuzeGV9wn4ymgra0ZTMgqczIxWZCIBsJieVc4mh0oH4Rn6k+EDAWJYyOov6F wPekYlcU8djhqEp1BNU78cLN0760vjp0+BwtZXtPRKyHxNDUUkMf2h3Cl7MnD8uGPR sA7bZf0IDLcbyu8whNLN1S7QL0DfJWKGj2tSpCnz9tAButHobUDE0PZXqr7zZGARlQ STxS9rIoWqg8j/Yk4Wa67dcQnPE8s+9QPVFMcWzoKdu4eXjx3E0RL1wk+UU8aLeAq7 xZPOZY0OULY1A== Received: by phobos.denx.de (Postfix, from userid 109) id B8A3E82003; Mon, 2 Aug 2021 08:34:37 +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 1F203804E7 for ; Mon, 2 Aug 2021 08:34:35 +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 smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2: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 4GdSsQ6W90zQk9j; Mon, 2 Aug 2021 08:34:34 +0200 (CEST) Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id 8uiTwyrTJoJK; Mon, 2 Aug 2021 08:34:31 +0200 (CEST) Subject: Re: [PATCH 3/5] arm: mvebu: msys: Set CONFIG_SYS_TCLK globally 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> <20210731122256.6546-4-pali@kernel.org> From: Stefan Roese Message-ID: <5f9b3ea3-798f-391a-933a-3502dd689634@denx.de> Date: Mon, 2 Aug 2021 08:34:31 +0200 MIME-Version: 1.0 In-Reply-To: <20210731122256.6546-4-pali@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: F27E6184B X-Rspamd-UID: d549a8 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 mvebu msys platform always uses fixed 200 MHz TCLK. So specify this > CONFIG_SYS_TCLK option in msys section of global file soc.h file instead of > manual configuration in every board file. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > arch/arm/mach-mvebu/include/mach/soc.h | 2 ++ > include/configs/crs3xx-98dx3236.h | 1 - > include/configs/db-xc3-24g4xg.h | 1 - > 3 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-mvebu/include/mach/soc.h b/arch/arm/mach-mvebu/include/mach/soc.h > index eb6906ad8027..e29c0f32c3de 100644 > --- a/arch/arm/mach-mvebu/include/mach/soc.h > +++ b/arch/arm/mach-mvebu/include/mach/soc.h > @@ -187,6 +187,8 @@ > #define BOOT_FROM_NAND 0x1 > #define BOOT_FROM_UART 0x2 > #define BOOT_FROM_SPI 0x3 > + > +#define CONFIG_SYS_TCLK 200000000 /* 200MHz */ > #else > /* SAR values for Armada XP */ > #define CONFIG_SAR_REG (MVEBU_REGISTER(0x18230)) > diff --git a/include/configs/crs3xx-98dx3236.h b/include/configs/crs3xx-98dx3236.h > index e2ba7b81263f..3feaa60edad8 100644 > --- a/include/configs/crs3xx-98dx3236.h > +++ b/include/configs/crs3xx-98dx3236.h > @@ -12,7 +12,6 @@ > > #define CONFIG_SYS_BOOTM_LEN (64 * 1024 * 1024) /* 64 MB */ > #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage.cfg > -#define CONFIG_SYS_TCLK 200000000 /* 200MHz */ > > /* USB/EHCI configuration */ > #define CONFIG_EHCI_IS_TDI > diff --git a/include/configs/db-xc3-24g4xg.h b/include/configs/db-xc3-24g4xg.h > index 0e9ccd9b4419..f04ae487b76a 100644 > --- a/include/configs/db-xc3-24g4xg.h > +++ b/include/configs/db-xc3-24g4xg.h > @@ -11,7 +11,6 @@ > */ > > #define CONFIG_SYS_KWD_CONFIG $(CONFIG_BOARDDIR)/kwbimage.cfg > -#define CONFIG_SYS_TCLK 200000000 /* 200MHz */ > > /* USB/EHCI configuration */ > #define CONFIG_EHCI_IS_TDI > 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