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 8A226C433EF for ; Sun, 10 Apr 2022 03:48:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6908B83C47; Sun, 10 Apr 2022 05:47:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="YK5EmgFz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1655883BF6; Sun, 10 Apr 2022 05:47:54 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0610.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::610]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 18F6D83A97 for ; Sun, 10 Apr 2022 05:47:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=oss.nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@oss.nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fno0JfTZWyCeo/sXJhnGcE6hwpXCYIjJDp0b33vzIiGAAZk2eK1LOkfvkYZ6Nfd4Z/p4oXgy0fj2ES2bqfRkVZojdCfrTN2LvxuGAQQd0x287n6TSYeAsJWXG6g+SZ4z0HzoOQpJ83KiFT71WFz0d1zyzEKOhUxPqmAEPJibm95MUfaZV+cVVvdZs7bklZrnxKoGfSrQGAqLEQWPIpKSfpGefERiK2JL9tYn3xi51o5mNgwLo/hzrmNcDPkVcxQEnYweM3KEviVW5R/j1Nt7lKLoZl82rrVhOxAHbYf60cVG4wj2GkY7Loqal2CG+dfi1GWP+qRIFzhKtIjtfjZlNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1fZT/0iNW92LuNg4Y6ZDSMn65ZY0jKuQuEc/n44jy6Y=; b=Q2fpeI/C8QTU1bfMR+tgHvvMDuL9KiyVfcN4tz4+UQqNth7GFnNVZAWKEueOrQ1K4Z4541lwJ251pPLpew0SHgqhGNiy7sAlM7UoSNfqpo55bvPkqo8u3y0WPRRMUqN0u3bSRPqm1GXNrEN90O3BhnKYBOyWyMDrKTa53N15VKjT0tiEeAhwvtl32H4l92wIPQkIW7SiMabMnlhOzbO/vnNylYyqtj7i9kOmzxs/bfFfMjUXxuRiCBXD1yeJycBVko5LharuVQ5Kis9Kq44C38cGdFzpD+rMj5XGBQ4cs+yM3TjfO9JlDR79Qch5541zH5QMLha85bshwgg64DanwA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1fZT/0iNW92LuNg4Y6ZDSMn65ZY0jKuQuEc/n44jy6Y=; b=YK5EmgFzCh9xA4s118qYDTQCPi5Kp2CwC6xt3gesdaIoo7CEc7gU+uNxpXvUt5muCMqzT6W1Jy4RuN8xYD3IX4qpKQIpWOf1JNucyx9Dw/Wzv+fZ8mueKpsMCD9ILg/G+BVleR0Sm9JoT6unbBOY7Ge6e3cimALzfA9mbCiNE7Q= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by VI1PR0402MB2894.eurprd04.prod.outlook.com (2603:10a6:800:b5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.27; Sun, 10 Apr 2022 03:47:43 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::389f:e6eb:a7a2:61b6]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::389f:e6eb:a7a2:61b6%8]) with mapi id 15.20.5144.028; Sun, 10 Apr 2022 03:47:43 +0000 From: "Peng Fan (OSS)" To: trini@konsulko.com, Marcel Ziswiler , Anatolij Gustschin , Oliver Graute , Marek Vasut , Ramon Fried , Jorge Ramirez-Ortiz , Dzmitry Sankouski , Biju Das , Peter Griffin , Manivannan Sadhasivam , Peng Fan , Fabio Estevam , Rajesh Bhagat , Tang Yuantian , Fabien Parent , Mingming lee , Tom Warren , Stephen Warren , Alex Nemirovsky , Nobuhiro Iwamatsu , Lad Prabhakar , Mathew McBride , Sergey Temerkhanov , Liviu Dudau Cc: u-boot@lists.denx.de Subject: [PATCH 6/6] include/configs: drop COUNTER_FREQUENCY Date: Sun, 10 Apr 2022 11:48:55 +0800 Message-Id: <20220410034855.2882146-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220410034855.2882146-1-peng.fan@oss.nxp.com> References: <20220410034855.2882146-1-peng.fan@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR01CA0018.apcprd01.prod.exchangelabs.com (2603:1096:4:191::7) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb016610-6605-4685-67af-08da1aa4de43 X-MS-TrafficTypeDiagnostic: VI1PR0402MB2894:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9UolPDcgtPEfZiAMSqCIWVRbU4B8kLNo1T/9FwbTwPx1IqKcBjiAXvmKt2zRVT7IklQJMd7Zu8DT4C6JxT88uxVAtWIpgXveC6gxmcUu1LAskm+xnHiGnx0P/tQ+xR+mtO0HCKn5M9DpL7ykyq/SwX614wMPqQtmP4jpvGU7RMpGuoT5JpU7AT9rhmI6IbXMOuXh93ntedM984RboujhzAvZBJgpQJ3R9NtVrOVJEmcnWR4TnubpmW2jvFhIL4Xol6tbz5/EDsxZx776bOwTSZ2tT7/zJYFOopg4uAanF5lP7qgyXpuSTwTVnb1VnLEA5UqiOGTz/sldjHpsJ1UDThfRTYa0iBUadycEKV9moJZRLY8ZFdLZTQ6fU3m9gu7Mm3ils9c8Qyhyu0ve0yNOc2Ki+bCnC8iZi29W4BBvSgI06U+13Z71W6aw/CK18lGV7MI2+Y7PbQrGje4lbp/1UkDPEvAZK9WtQt1fvk1h51BF5t4rQ2D0leRYLdXnIuApcAIpyhdqxyP4MaVaip+sZy9mhLVbsKngv0LYnz/JXPhfu55wZ2bBl1NG2l3PqNUt5nfPQoAUCf/hgemTHrCCCKOp2/+0KvmEUk+f/uQxYjjn26NBXzFgpFvGQJVtPUJ5VV9VcHmjatpOIW3V65T8l88JZP7fNuG91iI77uaMXAunQRSEkXG+2m2oBF5yXymUv1QceemHlQxQd291Nk5Y88K7u3zQdFjWjH5LpMc4BgQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(921005)(83380400001)(8676002)(52116002)(26005)(6512007)(6666004)(6506007)(1076003)(316002)(2616005)(2906002)(110136005)(66556008)(66476007)(186003)(38100700002)(4326008)(38350700002)(86362001)(66946007)(508600001)(5660300002)(8936002)(30864003)(7416002)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?H85L00I9MsSSyUBhPidtl41XrCxKxohrYnCz0QbhIXD7r1XJqz7OvuPFM7Er?= =?us-ascii?Q?87AP8MWWyKTgv5nYmDqV16yGTWswfnYZOQluBqM6jdM4+DY3tiS51CnnPaLy?= =?us-ascii?Q?X5X3sUwan57CH3d2/nhtqnEdVbGQkYPtzbpbwaGhgL9a1hbW+kZl4N08R3ha?= =?us-ascii?Q?D0Fh0sCJC3GgjdEf01nTSiwc+DWmsLJ3FdhZDzY23JYNNV3LEdBnvKNQw1Dt?= =?us-ascii?Q?54/9yU750VE8JGVkdXDCNuRO4TktAEo1gwknVjEct6IygXATic3N15OYSd97?= =?us-ascii?Q?AYHTGYXJ7vnjKiy/kpFGyluXdVyVRjtcKTHvU80mvKB6rZwl2QqOnso++yDx?= =?us-ascii?Q?0MCIZqHOq48GCbrPvJn3ASOr0PPBtikCGJutoIpgFHWlnrhZmfDO9uSZA/r4?= =?us-ascii?Q?Or+y3AHUocC28N7O/AbJQvnNqNXGhFvz5fmxDdfLJ5nz9qwRS0nRvBjxN9g6?= =?us-ascii?Q?l8ijqBjv7KbGZZF5cMCx8ijT11oADFd46QBsZ3H7gFnhfgcT3zUFirQzwL5z?= =?us-ascii?Q?+d8HggMLjGcER3Q+LcqWu4fFEGQTjhW7KwINwHAE46XirDzAyVAShTNkC4XA?= =?us-ascii?Q?OvfT7PSe77JD/+rO2FCddARA3JPBQt2bzgc7dyJPrIYN68RUpJpla69jbe++?= =?us-ascii?Q?1nBj91gG648BXRKEBIBCQUCDtfm7PjA1dd45sCSvLT+cVxeU7FqYA4+tGRxO?= =?us-ascii?Q?6+UBvtymNZpK1WX9vJcKJrA00graBtsSE1hNVVstHTqhqP7Je+r29NlS/2vZ?= =?us-ascii?Q?5elKMu+pYbZpng+tKViakhreICknuLaGktPylojT7lsm4eANBA5gTqAUo/fy?= =?us-ascii?Q?8vvqsWN0dJi4hHqhl+6z/6aIVZRaymIQxa/RYSIJ4Ko3aqUko0Ipo0FmPTjj?= =?us-ascii?Q?I9FBUfT3ipqeRPBFNEEC5sM+rv76rbkqlM90OGs652w3y73ZLv5BW2G5R83h?= =?us-ascii?Q?EGSXpbOFSbgyXnvtTc4rcZK/S2FLpGdSPrxR0arIe9mqjIp3my3iSLMDNqNG?= =?us-ascii?Q?z4fJsUbhW/fY6/ZYN0Y4vrN78mu/XZuuIgV33hpEhm0kervyoPjlH06TR3t6?= =?us-ascii?Q?iBMTCuAhjjbr17J6GzKZ6U6ve3pfeqytgPagOlsNTTSDaO3tko7taMRalXNz?= =?us-ascii?Q?w93o+alxzNKvRjCrRMPGL0SKkT2CbLEWUFOeMJ3qSAgFPPDPArDNMXepWR1s?= =?us-ascii?Q?fjwSrwqvC4AfJ7ASstvDUJUGVnEaIyHavj/ee+Xp45E/YuGzMvON3kGJkRSj?= =?us-ascii?Q?1ylwuybvi9/SYN95ldwKcOyyn9TWWLhjEk2kyFlWq9fcl4s68uSFPiusXLAk?= =?us-ascii?Q?V8hQ+1HcS/pmZoQDcLZFnsxOK0mDwWiFIRwoiS5lUcMLo3j8h8rWSDpKk3dv?= =?us-ascii?Q?ia3QYB4hzQLkZtcskOhh9az97uJHLKTNpoHMiDxqyEm4AHuuhmNgRuMul86g?= =?us-ascii?Q?s97lwAM+gD7IwuXmvpopTG7Wae+z/5rYKQ5rtN31S/zgfdJjww3KI819MvQT?= =?us-ascii?Q?tN6IOYk4wLPwrZSNRAb0DSzvJpxn0dbSEDj+llUNBzg0RIxlMUWLVdlQq5PM?= =?us-ascii?Q?W2cnpzLWa49+i6IGqQ5HX2UbbdyLGmsfrLRNeHl4oj2H0AIeIH7WQ2BeTpPD?= =?us-ascii?Q?/l6ydvarBGGmlGI9RcryJ1bf0Jmc+f4jDgllv4Yed5eEVzYPxrmhf9AjKj3R?= =?us-ascii?Q?FkpyzL9xStT/sGIlQ5DYKx9RdHK/8Sk89sl0k6dFTYodQTv6iQ4rwzPJsiEt?= =?us-ascii?Q?9sPKS9TBJQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb016610-6605-4685-67af-08da1aa4de43 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2022 03:47:43.4920 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YOwIGP5fSdL32vFBa/Psf+i3Gvnnr61Cb9B0pmn+gI6hrxjBFbOm6FnvZmcADeR8+seJ1fgZJMghygIIfnY9Zg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0402MB2894 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.5 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Since we have CONFIG_COUNTER_FREQUENCY enabled, no need COUNTER_FREQUENCY Signed-off-by: Peng Fan --- arch/arm/cpu/armv8/fsl-layerscape/spintable.S | 2 +- include/configs/apalis-imx8.h | 1 - include/configs/apalis-imx8x.h | 1 - include/configs/capricorn-common.h | 1 - include/configs/cgtqmx8.h | 1 - include/configs/colibri-imx8x.h | 1 - include/configs/condor.h | 1 - include/configs/draak.h | 1 - include/configs/dragonboard410c.h | 1 - include/configs/dragonboard820c.h | 1 - include/configs/eagle.h | 1 - include/configs/ebisu.h | 1 - include/configs/exynos7420-common.h | 1 - include/configs/exynos78x0-common.h | 1 - include/configs/falcon.h | 1 - include/configs/hihope-rzg2.h | 1 - include/configs/hikey.h | 1 - include/configs/hikey960.h | 1 - include/configs/imx8qm_mek.h | 1 - include/configs/imx8qm_rom7720.h | 1 - include/configs/imx8qxp_mek.h | 1 - include/configs/ls1012a_common.h | 1 - include/configs/ls1028a_common.h | 1 - include/configs/ls1043a_common.h | 1 - include/configs/ls1046a_common.h | 1 - include/configs/ls2080a_common.h | 1 - include/configs/mt8183.h | 1 - include/configs/mt8512.h | 1 - include/configs/mt8516.h | 1 - include/configs/mt8518.h | 1 - include/configs/owl-common.h | 1 - include/configs/p2371-2180.h | 1 - include/configs/p2771-0000.h | 1 - include/configs/p3450-0000.h | 1 - include/configs/presidio_asic.h | 3 +-- include/configs/px30_common.h | 1 - include/configs/rk3308_common.h | 1 - include/configs/rk3328_common.h | 1 - include/configs/rk3368_common.h | 1 - include/configs/rk3399_common.h | 1 - include/configs/rk3568_common.h | 1 - include/configs/salvator-x.h | 1 - include/configs/sdm845.h | 1 - include/configs/silinux-ek874.h | 1 - include/configs/socfpga_soc64_common.h | 1 - include/configs/ten64.h | 1 - include/configs/thunderx_88xx.h | 1 - include/configs/ulcb.h | 1 - include/configs/vexpress_aemv8.h | 1 - 49 files changed, 2 insertions(+), 50 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spintable.S b/arch/arm/cpu/armv8/fsl-layerscape/spintable.S index d6bd1884599c..1eb0c2d4a7e7 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/spintable.S +++ b/arch/arm/cpu/armv8/fsl-layerscape/spintable.S @@ -113,6 +113,6 @@ _dead_loop: .align 3 .global __real_cntfrq __real_cntfrq: - .quad COUNTER_FREQUENCY + .quad CONFIG_COUNTER_FREQUENCY /* Secondary Boot Code ends here */ __secondary_boot_code_end: diff --git a/include/configs/apalis-imx8.h b/include/configs/apalis-imx8.h index c87bcd475eff..8cc7538ee7cc 100644 --- a/include/configs/apalis-imx8.h +++ b/include/configs/apalis-imx8.h @@ -85,6 +85,5 @@ sizeof(CONFIG_SYS_PROMPT) + 16) /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ #endif /* __APALIS_IMX8_H */ diff --git a/include/configs/apalis-imx8x.h b/include/configs/apalis-imx8x.h index 71a80f38bbb0..0c8aec321435 100644 --- a/include/configs/apalis-imx8x.h +++ b/include/configs/apalis-imx8x.h @@ -116,7 +116,6 @@ sizeof(CONFIG_SYS_PROMPT) + 16) /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ /* Networking */ #define CONFIG_FEC_ENET_DEV 0 diff --git a/include/configs/capricorn-common.h b/include/configs/capricorn-common.h index 58d7a3a8ce24..319c97695040 100644 --- a/include/configs/capricorn-common.h +++ b/include/configs/capricorn-common.h @@ -124,7 +124,6 @@ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ #define BOOTAUX_RESERVED_MEM_BASE 0x88000000 #define BOOTAUX_RESERVED_MEM_SIZE SZ_128M /* Reserve from second 128MB */ diff --git a/include/configs/cgtqmx8.h b/include/configs/cgtqmx8.h index bd5c072382a8..1e05a039c26c 100644 --- a/include/configs/cgtqmx8.h +++ b/include/configs/cgtqmx8.h @@ -132,7 +132,6 @@ #define PHYS_SDRAM_2_SIZE 0x100000000 /* 4 GB */ /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ /* Networking */ #define CONFIG_FEC_MXC_PHYADDR -1 diff --git a/include/configs/colibri-imx8x.h b/include/configs/colibri-imx8x.h index 008fa6ef076c..265b7294fed5 100644 --- a/include/configs/colibri-imx8x.h +++ b/include/configs/colibri-imx8x.h @@ -119,7 +119,6 @@ sizeof(CONFIG_SYS_PROMPT) + 16) /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ #define BOOTAUX_RESERVED_MEM_BASE 0x88000000 #define BOOTAUX_RESERVED_MEM_SIZE SZ_128M /* Reserve from second 128MB */ diff --git a/include/configs/condor.h b/include/configs/condor.h index 213e68f15874..402b0f45225b 100644 --- a/include/configs/condor.h +++ b/include/configs/condor.h @@ -25,6 +25,5 @@ /* XTAL_CLK : 33.33MHz */ /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ #endif /* __CONDOR_H */ diff --git a/include/configs/draak.h b/include/configs/draak.h index 5bd8740c6f84..00b52327291e 100644 --- a/include/configs/draak.h +++ b/include/configs/draak.h @@ -12,7 +12,6 @@ #include "rcar-gen3-common.h" /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ /* Environment in eMMC, at the end of 2nd "boot sector" */ diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h index 43a179f013b6..4500a158ae0b 100644 --- a/include/configs/dragonboard410c.h +++ b/include/configs/dragonboard410c.h @@ -24,7 +24,6 @@ /* UART */ /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 19000000 /* Fixup - in init code we switch from device to host mode, * it has to be done after each HCD reset */ diff --git a/include/configs/dragonboard820c.h b/include/configs/dragonboard820c.h index 229e1a323b6d..57e661e68a95 100644 --- a/include/configs/dragonboard820c.h +++ b/include/configs/dragonboard820c.h @@ -24,7 +24,6 @@ #define CONFIG_SYS_BOOTM_LEN SZ_64M /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 19000000 #ifndef CONFIG_SPL_BUILD #include diff --git a/include/configs/eagle.h b/include/configs/eagle.h index 42fe05771676..0985f32da3bd 100644 --- a/include/configs/eagle.h +++ b/include/configs/eagle.h @@ -17,6 +17,5 @@ /* XTAL_CLK : 33.33MHz */ /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ #endif /* __EAGLE_H */ diff --git a/include/configs/ebisu.h b/include/configs/ebisu.h index ce31a462fcf2..2a168f75797b 100644 --- a/include/configs/ebisu.h +++ b/include/configs/ebisu.h @@ -14,7 +14,6 @@ #include "rcar-gen3-common.h" /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ /* Environment in eMMC, at the end of 2nd "boot sector" */ diff --git a/include/configs/exynos7420-common.h b/include/configs/exynos7420-common.h index fcb238fb3e3b..bfd79cbd1cd7 100644 --- a/include/configs/exynos7420-common.h +++ b/include/configs/exynos7420-common.h @@ -25,7 +25,6 @@ /* select serial console configuration */ /* Timer input clock frequency */ -#define COUNTER_FREQUENCY 24000000 /* IRAM Layout */ #define CONFIG_IRAM_BASE 0x02100000 diff --git a/include/configs/exynos78x0-common.h b/include/configs/exynos78x0-common.h index 457057ce71fc..bc7bd4bd18a0 100644 --- a/include/configs/exynos78x0-common.h +++ b/include/configs/exynos78x0-common.h @@ -26,7 +26,6 @@ #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Timer input clock frequency */ -#define COUNTER_FREQUENCY 26000000 #define CPU_RELEASE_ADDR secondary_boot_addr diff --git a/include/configs/falcon.h b/include/configs/falcon.h index 52dcf19ccad2..ef349fc2793b 100644 --- a/include/configs/falcon.h +++ b/include/configs/falcon.h @@ -25,6 +25,5 @@ /* XTAL_CLK : 16.66MHz */ /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ #endif /* __FALCON_H */ diff --git a/include/configs/hihope-rzg2.h b/include/configs/hihope-rzg2.h index e46eb07a5e9d..0727a5cc73dc 100644 --- a/include/configs/hihope-rzg2.h +++ b/include/configs/hihope-rzg2.h @@ -12,6 +12,5 @@ #include "rcar-gen3-common.h" /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ #endif /* __HIHOPE_RZG2_H */ diff --git a/include/configs/hikey.h b/include/configs/hikey.h index 29a0d9438649..bc59a52178c2 100644 --- a/include/configs/hikey.h +++ b/include/configs/hikey.h @@ -33,7 +33,6 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fff0) /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 19000000 /* Generic Interrupt Controller Definitions */ #define GICD_BASE 0xf6801000 diff --git a/include/configs/hikey960.h b/include/configs/hikey960.h index f446ecb86479..83490c57a6c3 100644 --- a/include/configs/hikey960.h +++ b/include/configs/hikey960.h @@ -25,7 +25,6 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fff0) /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 19000000 /* Generic Interrupt Controller Definitions */ #define GICD_BASE 0xe82b1000 diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h index 0fe38e61c4b7..9290640800b6 100644 --- a/include/configs/imx8qm_mek.h +++ b/include/configs/imx8qm_mek.h @@ -131,6 +131,5 @@ #define PHYS_SDRAM_2_SIZE 0x100000000 /* 4 GB */ /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ #endif /* __IMX8QM_MEK_H */ diff --git a/include/configs/imx8qm_rom7720.h b/include/configs/imx8qm_rom7720.h index 7532c6e7551d..f559a633d8e0 100644 --- a/include/configs/imx8qm_rom7720.h +++ b/include/configs/imx8qm_rom7720.h @@ -125,7 +125,6 @@ #define PHYS_SDRAM_2_SIZE 0x80000000 /* 2 GB */ /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ #include #endif /* __IMX8QM_ROM7720_H */ diff --git a/include/configs/imx8qxp_mek.h b/include/configs/imx8qxp_mek.h index beb35c93435f..d21cd95d9637 100644 --- a/include/configs/imx8qxp_mek.h +++ b/include/configs/imx8qxp_mek.h @@ -130,7 +130,6 @@ #define PHYS_SDRAM_2_SIZE 0x40000000 /* 1 GB */ /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 8000000 /* 8MHz */ #ifndef CONFIG_DM_PCA953X #define CONFIG_PCA953X diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index f92ff17eeb89..ac8192c96b9c 100644 --- a/include/configs/ls1012a_common.h +++ b/include/configs/ls1012a_common.h @@ -22,7 +22,6 @@ #define CONFIG_SYS_DDR_BLOCK2_BASE 0x880000000ULL /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 25000000 /* 25MHz */ /* CSU */ #define CONFIG_LAYERSCAPE_NS_ACCESS diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h index 7bb6d416ea31..a48f0deb69b8 100644 --- a/include/configs/ls1028a_common.h +++ b/include/configs/ls1028a_common.h @@ -26,7 +26,6 @@ #define CPU_RELEASE_ADDR secondary_boot_addr /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 25000000 /* 25MHz */ /* GPIO */ diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index 83b95c242f01..69b32c888920 100644 --- a/include/configs/ls1043a_common.h +++ b/include/configs/ls1043a_common.h @@ -45,7 +45,6 @@ #define CPU_RELEASE_ADDR secondary_boot_addr /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 25000000 /* 25MHz */ /* Serial Port */ #define CONFIG_SYS_NS16550_SERIAL diff --git a/include/configs/ls1046a_common.h b/include/configs/ls1046a_common.h index 7552610e0355..1424f5696cca 100644 --- a/include/configs/ls1046a_common.h +++ b/include/configs/ls1046a_common.h @@ -45,7 +45,6 @@ #define CPU_RELEASE_ADDR secondary_boot_addr /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 25000000 /* 25MHz */ /* Serial Port */ #define CONFIG_SYS_NS16550_SERIAL diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h index 82585f5dbfaf..73ece459f1c3 100644 --- a/include/configs/ls2080a_common.h +++ b/include/configs/ls2080a_common.h @@ -46,7 +46,6 @@ * This is not an accurate number. It is used in start.S. The frequency * will be udpated later when get_bus_freq(0) is available. */ -#define COUNTER_FREQUENCY 25000000 /* 25MHz */ /* GPIO */ diff --git a/include/configs/mt8183.h b/include/configs/mt8183.h index 2b4e976aa1fe..ee31c02e6ef9 100644 --- a/include/configs/mt8183.h +++ b/include/configs/mt8183.h @@ -11,7 +11,6 @@ #include -#define COUNTER_FREQUENCY 13000000 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE -4 diff --git a/include/configs/mt8512.h b/include/configs/mt8512.h index 9c443db9f52d..1af8d2e480c2 100644 --- a/include/configs/mt8512.h +++ b/include/configs/mt8512.h @@ -13,7 +13,6 @@ #define CONFIG_SYS_NONCACHED_MEMORY SZ_1M -#define COUNTER_FREQUENCY 13000000 #define CONFIG_SYS_BOOTM_LEN SZ_64M diff --git a/include/configs/mt8516.h b/include/configs/mt8516.h index 47132c1db1d2..cb2af5843fca 100644 --- a/include/configs/mt8516.h +++ b/include/configs/mt8516.h @@ -11,7 +11,6 @@ #include -#define COUNTER_FREQUENCY 13000000 #define CONFIG_SYS_NS16550_SERIAL #define CONFIG_SYS_NS16550_REG_SIZE -4 diff --git a/include/configs/mt8518.h b/include/configs/mt8518.h index 49ee926b0c94..8ca8d25148a3 100644 --- a/include/configs/mt8518.h +++ b/include/configs/mt8518.h @@ -13,7 +13,6 @@ #define CONFIG_SYS_NONCACHED_MEMORY SZ_1M -#define COUNTER_FREQUENCY 13000000 /* DRAM definition */ #define CONFIG_SYS_SDRAM_BASE 0x40000000 diff --git a/include/configs/owl-common.h b/include/configs/owl-common.h index 96453214eeb9..c808b2f4797b 100644 --- a/include/configs/owl-common.h +++ b/include/configs/owl-common.h @@ -14,7 +14,6 @@ #define CONFIG_SYS_SDRAM_BASE 0x0 /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY (24000000) /* 24MHz */ /* Some commands use this as the default load address */ diff --git a/include/configs/p2371-2180.h b/include/configs/p2371-2180.h index ef1fa2a5926e..d7b8c05b9ad7 100644 --- a/include/configs/p2371-2180.h +++ b/include/configs/p2371-2180.h @@ -25,6 +25,5 @@ #include "tegra-common-post.h" /* Crystal is 38.4MHz. clk_m runs at half that rate */ -#define COUNTER_FREQUENCY 19200000 #endif /* _P2371_2180_H */ diff --git a/include/configs/p2771-0000.h b/include/configs/p2771-0000.h index 4c3da224c66d..e4cb9495eb70 100644 --- a/include/configs/p2771-0000.h +++ b/include/configs/p2771-0000.h @@ -38,6 +38,5 @@ #include "tegra-common-post.h" /* Crystal is 38.4MHz. clk_m runs at half that rate */ -#define COUNTER_FREQUENCY 19200000 #endif diff --git a/include/configs/p3450-0000.h b/include/configs/p3450-0000.h index 1c962be8b8e4..42ecfd9bfc6a 100644 --- a/include/configs/p3450-0000.h +++ b/include/configs/p3450-0000.h @@ -36,6 +36,5 @@ #include "tegra-common-post.h" /* Crystal is 38.4MHz. clk_m runs at half that rate */ -#define COUNTER_FREQUENCY 19200000 #endif /* _P3450_0000_H */ diff --git a/include/configs/presidio_asic.h b/include/configs/presidio_asic.h index 3295d43ed67a..1d526a738027 100644 --- a/include/configs/presidio_asic.h +++ b/include/configs/presidio_asic.h @@ -12,8 +12,7 @@ #define CONFIG_SYS_BOOTM_LEN 0x00c00000 /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 25000000 -#define CONFIG_SYS_TIMER_RATE COUNTER_FREQUENCY +#define CONFIG_SYS_TIMER_RATE 25000000 #define CONFIG_SYS_TIMER_COUNTER 0xf4321008 /* note: arch/arm/cpu/armv8/start.S which references GICD_BASE/GICC_BASE diff --git a/include/configs/px30_common.h b/include/configs/px30_common.h index 099238715711..a7e8dabff520 100644 --- a/include/configs/px30_common.h +++ b/include/configs/px30_common.h @@ -13,7 +13,6 @@ #define CONFIG_SYS_NS16550_MEM32 #define CONFIG_ROCKCHIP_STIMER_BASE 0xff220020 -#define COUNTER_FREQUENCY 24000000 /* FIXME: ff020000 is pmu_mem (10k), while ff0e0000 is regular int_mem */ #define CONFIG_IRAM_BASE 0xff020000 diff --git a/include/configs/rk3308_common.h b/include/configs/rk3308_common.h index 1664707ca658..cc7fd03d0dec 100644 --- a/include/configs/rk3308_common.h +++ b/include/configs/rk3308_common.h @@ -21,7 +21,6 @@ #define CONFIG_SPL_STACK 0x00400000 #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */ -#define COUNTER_FREQUENCY 24000000 #define CONFIG_SYS_BOOTM_LEN (64 << 20) /* 64M */ diff --git a/include/configs/rk3328_common.h b/include/configs/rk3328_common.h index c1e26a019b57..a40ef1290ed4 100644 --- a/include/configs/rk3328_common.h +++ b/include/configs/rk3328_common.h @@ -11,7 +11,6 @@ #define CONFIG_IRAM_BASE 0xff090000 #define CONFIG_ROCKCHIP_STIMER_BASE 0xff1d0020 -#define COUNTER_FREQUENCY 24000000 #define CONFIG_SYS_CBSIZE 1024 diff --git a/include/configs/rk3368_common.h b/include/configs/rk3368_common.h index 8b239ca07da8..c33b654990b8 100644 --- a/include/configs/rk3368_common.h +++ b/include/configs/rk3368_common.h @@ -16,7 +16,6 @@ #define CONFIG_SYS_CBSIZE 1024 #define CONFIG_ROCKCHIP_STIMER_BASE 0xff830020 -#define COUNTER_FREQUENCY 24000000 #define CONFIG_IRAM_BASE 0xff8c0000 diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index ed72c8bb6b11..53d1d0e9a6ca 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -10,7 +10,6 @@ #define CONFIG_SYS_CBSIZE 1024 -#define COUNTER_FREQUENCY 24000000 #define CONFIG_ROCKCHIP_STIMER_BASE 0xff8680a0 #define CONFIG_IRAM_BASE 0xff8c0000 diff --git a/include/configs/rk3568_common.h b/include/configs/rk3568_common.h index 25d7c5cc8fff..9197d10bf2bd 100644 --- a/include/configs/rk3568_common.h +++ b/include/configs/rk3568_common.h @@ -10,7 +10,6 @@ #define CONFIG_SYS_CBSIZE 1024 -#define COUNTER_FREQUENCY 24000000 #define CONFIG_ROCKCHIP_STIMER_BASE 0xfdd1c020 #define CONFIG_IRAM_BASE 0xfdcc0000 diff --git a/include/configs/salvator-x.h b/include/configs/salvator-x.h index 764bc1bbf292..79724538df82 100644 --- a/include/configs/salvator-x.h +++ b/include/configs/salvator-x.h @@ -12,7 +12,6 @@ #include "rcar-gen3-common.h" /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ /* Environment in eMMC, at the end of 2nd "boot sector" */ diff --git a/include/configs/sdm845.h b/include/configs/sdm845.h index ba57323c74b1..650baf498343 100644 --- a/include/configs/sdm845.h +++ b/include/configs/sdm845.h @@ -14,7 +14,6 @@ #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 230400, 460800, 921600 } /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 19000000 #define CONFIG_EXTRA_ENV_SETTINGS \ "bootm_size=0x4000000\0" \ diff --git a/include/configs/silinux-ek874.h b/include/configs/silinux-ek874.h index a99babb48b0a..1e2896b83ebb 100644 --- a/include/configs/silinux-ek874.h +++ b/include/configs/silinux-ek874.h @@ -12,6 +12,5 @@ #include "rcar-gen3-common.h" /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ #endif /* __SILINUX_EK874_H */ diff --git a/include/configs/socfpga_soc64_common.h b/include/configs/socfpga_soc64_common.h index c288d548f5b4..493e8c99cc27 100644 --- a/include/configs/socfpga_soc64_common.h +++ b/include/configs/socfpga_soc64_common.h @@ -111,7 +111,6 @@ /* * Timer & watchdog configurations */ -#define COUNTER_FREQUENCY 400000000 /* * SDMMC configurations diff --git a/include/configs/ten64.h b/include/configs/ten64.h index f82b1e0d212a..04772c9e4efc 100644 --- a/include/configs/ten64.h +++ b/include/configs/ten64.h @@ -9,7 +9,6 @@ #include "ls1088a_common.h" -#define COUNTER_FREQUENCY 25000000 /* 25MHz */ #define CONFIG_SYS_LS_MC_BOOT_TIMEOUT_MS 5000 diff --git a/include/configs/thunderx_88xx.h b/include/configs/thunderx_88xx.h index d07a8fe86bc6..e9e27cb92045 100644 --- a/include/configs/thunderx_88xx.h +++ b/include/configs/thunderx_88xx.h @@ -21,7 +21,6 @@ #define CPU_RELEASE_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fff0) /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY (0x1800000) /* 24MHz */ /* PL011 Serial Configuration */ diff --git a/include/configs/ulcb.h b/include/configs/ulcb.h index c991bff0e889..c72be0096358 100644 --- a/include/configs/ulcb.h +++ b/include/configs/ulcb.h @@ -12,7 +12,6 @@ #include "rcar-gen3-common.h" /* Generic Timer Definitions (use in assembler source) */ -#define COUNTER_FREQUENCY 0xFE502A /* 16.66MHz from CPclk */ /* Environment in eMMC, at the end of 2nd "boot sector" */ diff --git a/include/configs/vexpress_aemv8.h b/include/configs/vexpress_aemv8.h index 4f0ff239e685..0e836ebdaa93 100644 --- a/include/configs/vexpress_aemv8.h +++ b/include/configs/vexpress_aemv8.h @@ -74,7 +74,6 @@ #define V2M_SYS_CFGSTAT (V2M_SYSREGS + 0x0a8) /* Generic Timer Definitions */ -#define COUNTER_FREQUENCY 24000000 /* 24MHz */ /* Generic Interrupt Controller Definitions */ #ifdef CONFIG_GICV3 -- 2.25.1