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 8E2CAC433F5 for ; Sun, 10 Apr 2022 03:47:37 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4FB7B8399E; Sun, 10 Apr 2022 05:47:18 +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="lp/XFBE/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 71D1483988; Sun, 10 Apr 2022 05:47:15 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on0630.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::630]) (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 62D7982A31 for ; Sun, 10 Apr 2022 05:47:08 +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=mxe48wjRNt/54Egjtdadb9ke1Z6yGHW8I2wM/d2q93Xy8RGZKRV+4jLNPGVEED1/feCtieS8RsUXTlyZByxbmKjCdfLwK3DpvEJV8Ey48Y26TtsHCfFUQHGVGbMWjfGQPoXJeWzHZiyNHS7NRQcugPUeYG4bINDHtzZ0U9PsxSuQuHlnVZpfeUqW+DYx+CmHErctU2cKW24qtDDYlSslDFDbV5qvRxb6j9Mm2PP3Ao4siFcDXeMaT8NlbeS3sMKrtBgi3qUquqVXDJmjhoT7/xwqUAiXT55aSaxEcrGt7tAPqekrE9TxF3FzhOULtUcPj+28X3ZYAuyNT2sKZ7MMKw== 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=MeaRk8vv8RBVDDMHh1/LiX59M5FQ4ZqoQ6rZ11G1Qh8=; b=Aa/6UGVIawpFRLEq812aFjj05X4mCNK8nJqDVgZyGKpVkdvegavQt2cL0NqErZf2kJiks3/rEVS1ljAfBQC8JLByBKunAphvMSASryxQrMlyW1j/va7T7pAZX0093OdQela4zBYq6/K29jduiYMS2idts76ZlScFOlHaar/12M7lbrIzCuQjBcOuwOtM6g+dm01aKK/YTyBHZ+uuJb0k02lIia8OykR68kHIkjasyfQAaCzBTcoLlqabPxdXfovkZK+AmgCHkS8xE4Sj4mR3mzD0EMXWnmS2n/3yKGJgPUMtYR/lRZhC71KofGGtBrxOzHZHtHaDPyizY4lzd2FoGQ== 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=MeaRk8vv8RBVDDMHh1/LiX59M5FQ4ZqoQ6rZ11G1Qh8=; b=lp/XFBE/9qOBCw25xe9jGpqICHSLZ/rzXCgSHAKkK/vboQcNgqqbpaDPKJk2R5p0qd8LODWbL8tmfhHEZcK6WWLiQ16ulP14WWMVDbrj6ZQXcXGI7uV0CgKO7goPCK82ayMZDM07znsgQRbIubhowhLHd6VWm6hf6DEu4HBAsPQ= 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:04 +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:04 +0000 From: "Peng Fan (OSS)" To: trini@konsulko.com Cc: u-boot@lists.denx.de, Peng Fan Subject: [PATCH 0/6] Convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY Date: Sun, 10 Apr 2022 11:48:49 +0800 Message-Id: <20220410034855.2882146-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 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: b7c009f1-1525-4d8e-cf5e-08da1aa4c6ee X-MS-TrafficTypeDiagnostic: VI1PR0402MB2894:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True 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: 8uKHzen+/z2YrqEjKt9xpJa7Egplm4Z+eeJe/GKYxl1cSeZmswqK+Sbkt5a0Pog1YKdBv9zmcaWpjRBdGqazI87GyALGymGlhuova0LeSVRYGQx4uF9iRttdpZf8wTFPXmMPTISv0Sq1gbdWh5NgJyGPC5JDoMt1Pks2IcqH4vI42x22rbI6+5jcKbW++BysSSgweADZ5Y3sGA8kumhbvurjrTov0B6JNoo2+nzttyB9KYEvsnD1GTYh+wVsbOZuS69RD9XsoKBtZSsJpRDBC53mnrCabulbT9nXlyzwH27xAetcZl2KauLZEaRG4WkxXvzqVTsISmor0s5HXCeZogjFj6z5gMBQP0CKV4iNdRAN5qMe2E4x1UDYMrd+13MDGifrv0YpjV8xBjG4j8vsHq2j85cHg7+BnGIvhJCvlPybu2SnTQct/2zvNuvv+0Bcs7JZzyhre6WPPLRj73vCwprg3cnNpy92hG+tLgstyR6MGjQO9rswvX51+ISa2OJu1g+g6OaXltqfvVpIH1u9PM69zsTj8Kc+aB8eusdPh/U3d3NrmKB59v7bSpBEsVLvJfcR9jEBZMTzGE7YlKqE2WG6j1NYBBWPp8vu/RXOr3IaTk14jrApCKyToUOEPis348+iYuM5P6gBhyYnCPXPs0XgSqKkwBTfi9VuUGB3gYhATnzprOXY5e02LzX8qoGuG7kvunWJJvvlk3U+s9pueg== 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)(6916009)(83380400001)(8676002)(52116002)(26005)(6512007)(6666004)(6506007)(1076003)(316002)(2616005)(2906002)(66556008)(66476007)(186003)(38100700002)(4326008)(38350700002)(86362001)(66946007)(508600001)(5660300002)(8936002)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount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HxAPisL1+oTz59WD8/rfAWzD0x3?= =?us-ascii?Q?/nsS6kRrKQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7c009f1-1525-4d8e-cf5e-08da1aa4c6ee 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:04.3188 (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: DhxWPSAlmHjIkfQTpwJ88xEybk9oTHdKve9MiFEy1dvpmDdGZKbh4Gw19P89ESG6jXmdOUcliqVl2z3byDtj8A== 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 This patchset is to convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY for arm64. arm32 is not included for now, this could be in following up patches if this patchset is accepted. This patchset touches lots of boards, so please help review. Peng Fan (6): xilinx: versal: board: use CONFIG_COUNTER_FREQUENCY arch: arm: move COUNTER_FREQUENCY from versal to arm arch: arm: Kconfig: set default COUNTER_FREQUENCY for i.MX configs: set CONFIG_COUNTER_FREQUENCY armv8: set cntfrq_el0 if CONFIG_COUNTER_FREQUENCY is valid include/configs: drop COUNTER_FREQUENCY arch/arm/Kconfig | 8 ++ arch/arm/cpu/armv8/fsl-layerscape/spintable.S | 2 +- arch/arm/cpu/armv8/start.S | 4 +- arch/arm/mach-versal/Kconfig | 6 -- board/xilinx/versal/board.c | 2 +- configs/a3y17lte_defconfig | 1 + configs/a5y17lte_defconfig | 1 + configs/a7y17lte_defconfig | 1 + configs/apalis-imx8_defconfig | 1 + configs/apalis-imx8x_defconfig | 1 + configs/bubblegum_96_defconfig | 1 + configs/cgtqmx8_defconfig | 1 + configs/colibri-imx8x_defconfig | 1 + configs/cortina_presidio-asic-base_defconfig | 1 + configs/cortina_presidio-asic-emmc_defconfig | 1 + configs/cortina_presidio-asic-pnand_defconfig | 1 + configs/cubieboard7_defconfig | 1 + configs/deneb_defconfig | 1 + configs/dragonboard410c_defconfig | 1 + configs/dragonboard820c_defconfig | 1 + configs/espresso7420_defconfig | 1 + configs/evb-px30_defconfig | 1 + configs/evb-px5_defconfig | 1 + configs/evb-rk3308_defconfig | 1 + configs/evb-rk3328_defconfig | 1 + configs/evb-rk3399_defconfig | 1 + configs/evb-rk3568_defconfig | 1 + configs/firefly-px30_defconfig | 1 + configs/firefly-rk3399_defconfig | 1 + configs/hihope_rzg2_defconfig | 1 + configs/hikey960_defconfig | 1 + configs/hikey_defconfig | 1 + configs/imx8qm_mek_defconfig | 1 + configs/imx8qm_rom7720_a1_4G_defconfig | 1 + configs/imx8qxp_mek_defconfig | 1 + configs/imx93_evk_defconfig | 84 +++++++++++++++++++ configs/khadas-edge-captain-rk3399_defconfig | 1 + configs/khadas-edge-rk3399_defconfig | 1 + configs/khadas-edge-v-rk3399_defconfig | 1 + configs/leez-rk3399_defconfig | 1 + configs/ls1012a2g5rdb_qspi_defconfig | 1 + configs/ls1012a2g5rdb_tfa_defconfig | 1 + configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig | 1 + configs/ls1043aqds_nor_ddr3_defconfig | 1 + configs/ls1043aqds_qspi_defconfig | 1 + configs/ls1043aqds_sdcard_ifc_defconfig | 1 + configs/ls1043aqds_sdcard_qspi_defconfig | 1 + configs/ls1043aqds_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1043aqds_tfa_defconfig | 1 + configs/ls1046afrwy_tfa_SECURE_BOOT_defconfig | 1 + configs/ls1046afrwy_tfa_defconfig | 1 + configs/mt8183_pumpkin_defconfig | 1 + configs/mt8512_bm1_emmc_defconfig | 1 + configs/mt8516_pumpkin_defconfig | 1 + configs/mt8518_ap1_emmc_defconfig | 1 + configs/nanopc-t4-rk3399_defconfig | 1 + configs/nanopi-m4-2gb-rk3399_defconfig | 1 + configs/nanopi-m4-rk3399_defconfig | 1 + configs/nanopi-m4b-rk3399_defconfig | 1 + configs/nanopi-neo4-rk3399_defconfig | 1 + configs/nanopi-r2s-rk3328_defconfig | 1 + configs/nanopi-r4s-rk3399_defconfig | 1 + configs/orangepi-rk3399_defconfig | 1 + configs/p2371-2180_defconfig | 1 + configs/p2771-0000-000_defconfig | 1 + configs/p2771-0000-500_defconfig | 1 + configs/p3450-0000_defconfig | 1 + configs/r8a77970_eagle_defconfig | 1 + configs/r8a77980_condor_defconfig | 1 + configs/r8a77990_ebisu_defconfig | 1 + configs/r8a77995_draak_defconfig | 1 + configs/r8a779a0_falcon_defconfig | 1 + configs/rcar3_salvator-x_defconfig | 1 + configs/rcar3_ulcb_defconfig | 1 + configs/roc-cc-rk3328_defconfig | 1 + configs/rock-pi-4-rk3399_defconfig | 1 + configs/rock-pi-4c-rk3399_defconfig | 1 + configs/rock-pi-e-rk3328_defconfig | 1 + configs/rock-pi-n10-rk3399pro_defconfig | 1 + configs/rock64-rk3328_defconfig | 1 + configs/silinux_ek874_defconfig | 1 + configs/socfpga_agilex_atf_defconfig | 1 + configs/socfpga_agilex_defconfig | 1 + configs/socfpga_agilex_vab_defconfig | 1 + configs/starqltechn_defconfig | 1 + configs/ten64_tfa_defconfig | 1 + configs/thunderx_88xx_defconfig | 1 + configs/vexpress_aemv8a_juno_defconfig | 1 + configs/vexpress_aemv8a_semi_defconfig | 1 + configs/vexpress_aemv8r_defconfig | 1 + 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 - 140 files changed, 183 insertions(+), 59 deletions(-) create mode 100644 configs/imx93_evk_defconfig -- 2.25.1