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 7930DC43334 for ; Sun, 10 Jul 2022 15:15:58 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EF4758454E; Sun, 10 Jul 2022 17:15:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b="CmVZrseR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86CB784617; Sun, 10 Jul 2022 17:15:41 +0200 (CEST) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 5346F845F0 for ; Sun, 10 Jul 2022 17:15:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=daniel.schwierzeck@gmail.com Received: by mail-ej1-x62b.google.com with SMTP id j22so5039587ejs.2 for ; Sun, 10 Jul 2022 08:15:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q1+ig6j+o+m15rYEX8H3ijoOw53iLqqBHvdOsj06wa0=; b=CmVZrseRoCXpxQW3x8RDwF/vMdVIlmYB5k+OkGqYjMtKuk4drbjlJOz7iM+AH31So1 IBAu6hu9a6z15Wp/FNDB3Js980V0ivjrRtLR0rmphiM8GwwsD7/RZxWDzk2d/BWSmlZp x73A9+NWNtR6QxXOoe5BlvcGdOUpMqbUX3x3bhR5gm7YasljtINxXfzt4KR6pNCIUccc 3Ib7cc9JzFhvwiBy4elJPluQ76Y7xlEDESWlxtC1qmEAsM8UFj6DyBwcgkcLHqMY8lhf sunRWmp8gEjuaJxjMXULipyFEg9J3kX451DH71c6SCkjUAt1BFhhjYdw4zf1dtCgaiZA kgww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q1+ig6j+o+m15rYEX8H3ijoOw53iLqqBHvdOsj06wa0=; b=r6omwKAdzAZTAIiLPCLkwgaxixhHa7tlUye0NFbpvHFHepQhizY89e1Hen9Uf31d4r 8P2rY/rQZQUp51oie+eQPTSXZh3mlbeHL/iw1qph8zcWbmb9El3MOCqGZIPYaqzdNu6J BxneBszRGduWTru5/WMevVm0uZ+Yx+t3Z7dBiHgqS4hm5W0oBKN4/ap3LBzilTJWvF/W FVWhay1onHbuuEzddzKLI4jEBsK5UXZniyA77Jj9AdtVUV3Ote52C0t1Fvo6CERXPFVM b0xgL3OXiImqKfP0xlsFODVDXaNeCx0hkvmjVRlf7DPlNiVK+ApSOV073DKQ0HU70kwy LX5A== X-Gm-Message-State: AJIora93Sm+NSrsFwVqukQkA3PcMRboAW6xT/2gUQi1PSCbnxX7N+MeF xy2lexTqJixravVehVd9nucPPzoT5E41rw== X-Google-Smtp-Source: AGRyM1sDrs1tlIXWnxidud2DGcLAmD01PT0BQhJu3OnhAfc0Bjvd6vIGZp5ezBd6+8ilxLXb6sFcNw== X-Received: by 2002:a17:906:8462:b0:72b:4e05:a8c1 with SMTP id hx2-20020a170906846200b0072b4e05a8c1mr2284913ejc.443.1657466137853; Sun, 10 Jul 2022 08:15:37 -0700 (PDT) Received: from workstation.lan.schwierd.dedyn.io (i5E8605B8.versanet.de. [94.134.5.184]) by smtp.gmail.com with ESMTPSA id be5-20020a0564021a2500b0043a2338ca10sm2832871edb.92.2022.07.10.08.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Jul 2022 08:15:37 -0700 (PDT) From: Daniel Schwierzeck To: u-boot@lists.denx.de Cc: Horatiu Vultur , Ezequiel Garcia , Stefan Roese , Weijie Gao , Lars Povlsen , Tom Rini , =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= , Daniel Schwierzeck Subject: [PATCH 3/4] MIPS: mscc: remove unused CPU_CLOCK_RATE Date: Sun, 10 Jul 2022 17:15:13 +0200 Message-Id: <20220710151514.27207-4-daniel.schwierzeck@gmail.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220710151514.27207-1-daniel.schwierzeck@gmail.com> References: <20220710151514.27207-1-daniel.schwierzeck@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean CPU_CLOCK_RATE is just used once for CONFIG_SYS_MIPS_TIMER_FREQ which is migrated to Kconfig in the next patch. Signed-off-by: Daniel Schwierzeck --- include/configs/vcoreiii.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/configs/vcoreiii.h b/include/configs/vcoreiii.h index 78a62a8b02..5c5036b8be 100644 --- a/include/configs/vcoreiii.h +++ b/include/configs/vcoreiii.h @@ -13,11 +13,9 @@ #define CONFIG_SYS_INIT_SP_OFFSET 0x400000 #if defined(CONFIG_SOC_LUTON) || defined(CONFIG_SOC_SERVAL) -#define CPU_CLOCK_RATE 416666666 /* Clock for the MIPS core */ #define CONFIG_SYS_MIPS_TIMER_FREQ 208333333 #else -#define CPU_CLOCK_RATE 500000000 /* Clock for the MIPS core */ -#define CONFIG_SYS_MIPS_TIMER_FREQ (CPU_CLOCK_RATE / 2) +#define CONFIG_SYS_MIPS_TIMER_FREQ 250000000 #endif #define CONFIG_SYS_NS16550_CLK CONFIG_SYS_MIPS_TIMER_FREQ -- 2.37.0