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 C7718C433F5 for ; Sun, 10 Apr 2022 07:50:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 89F4683995; Sun, 10 Apr 2022 09:50: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="L0UMCXJD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1D137839DF; Sun, 10 Apr 2022 09:50:56 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0601.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::601]) (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 55F9583988 for ; Sun, 10 Apr 2022 09:50:53 +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=KNLdlnMxcd4Ssz9+K8YN61Kw/ZWlBuMgW057nz1NI+ueOF6sBmc16h+RJOQDTkr1NEuQyZ275ShQNw2dUHK0PdIIQpnLPWSfQfaf4gmOxXcG9Eg2s6rUDOGivLWWCbyNxH08kKdC9FJuPW4nyOGEjmDuLrmkc8GIaCnvHH4mWef2yz+s+sYeP769qlfdxVG7wUQG+57bshjY8VLQ0ec3Ellzwx9vhG0Ejgb6HhCz10tf2tFWIsyrmLrTz4KENzZvbFNOMf/IfMeTAN/PE6QFtq3GxYNHBszX+6RezAiBP18s3YhXykYeah/sS3cXCJpZhnxqj0dql/G0vTdFlRDTzQ== 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=+EFPEYmeQIhb3/eC7yMxiobhz9w7SvKhALo5d9x6WbU=; b=Xyf52nIQGnG/W6rvnQLphQN6G6hAQcf28C8gJXDHXX+aXC4++5yYQEj5sgVSEAS5824++X4cUAt05KTKf+eA40h9Y6fXDiz92wMxJrDPOccAzkqzPABCroX0ALHUhguq9JiyNGVnCVYA5D6k5vCwUDg9EmB0dtAWYaA7hgAyprB3dO2IOtYHtN1NPjhaL24zn/OWSi/XjavCelP4Z/9ZXghD+zVZD+cw2CBtfcHYmX1lWIF0Zp4wbRtDmgeqWvkOrXPZ+XysAsavt/Wz7xw8Pbi/UZI/tw6Y+oO+IN1siuIrZGoB78HUyCTgoanpmmK5GHW++sX27r5R39WHjSItyw== 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=+EFPEYmeQIhb3/eC7yMxiobhz9w7SvKhALo5d9x6WbU=; b=L0UMCXJDuS32jlWh1vqVYbZPaq8qu5BBJtjqhUdMgBXaT+4bD5W0HOlhmASQwQFpxpJD6pCFVJtVDfZm6XZ4IE3GnNEavAvumM87PpxcwmoC+ZwXWpwSXc9SDMAzFrwNHVb4ugN/Rx1NdwxqSjdqgP4jXxenoDBR69o4doKliNU= 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 VI1PR04MB4592.eurprd04.prod.outlook.com (2603:10a6:803:75::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.28; Sun, 10 Apr 2022 07:50:51 +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 07:50:50 +0000 From: "Peng Fan (OSS)" To: trini@konsulko.com Cc: u-boot@lists.denx.de, Peng Fan Subject: [PATCH V2 0/6] Convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY Date: Sun, 10 Apr 2022 16:31:55 +0800 Message-Id: <20220410083202.18979-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.35.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0130.apcprd02.prod.outlook.com (2603:1096:4:188::8) 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: fbbd81fd-d3b6-4344-8038-08da1ac6d4a5 X-MS-TrafficTypeDiagnostic: VI1PR04MB4592: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: 4maE2GBa3oGhHEZ8wf4pJCpfMDDQ2INcMce2Z+u4ENUTkXDumimPyuhrfYxyW9wGuJuehIbBICsXEsOPSB43bangFyjvYtGBJP9v3O4uSweGbDq3KCfL1hYcSl3+zWLrmRmmsx8lRQfUreGRPA8XE++Pycrl5kzRIBREwC70DGitukhWBMT38JYdR1HfSvv/IW1n8OdvEXcAUgDrC9DFtUtleRkwPAuSxpbWqtC4YD3MvKDfRXfDmpI4f64GJXeHS0a1e2JkMZ7DWxq+FSFbu4oLyaJuKpfd7mK76taDU+V8J0ZtV8tOf4VFnkUvWwQe014p/f+EihQ01NvdMqGLW9xGIgFeouSB49uhKoVm/lrzvDklmxBflkVnGAzCgoDOzk/l1YpvfgVmCNLn/7hqGcPCM+abHk9tlC2bBOwvZTR44r1eDtH5lR1LyJJvXiSoNX/qSNdT2J1JLK271pvSuqEMle9tz3jOuoRAdyBuZG9u27BidHX8LtVpkHucU6LejroRcMSyEafi0FXZA0pmIIqXNdGFKAL9MA61+e4yfL+mghHyaHxh7eAaGKUc6COXLDAN9ytRZIPyztH3Qg5eR0VRMKr203zbslt9qUZoqYuX64LStdy3Nc+PkAjr46hW2MD2/DbDLh/WJCyOyqhnV4F10FsdhvFTC+9McGcxnkd3mOyPzs+sn+NXjU/5u50gnd4Bj2ENv7vLxMICice8Uw== 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)(52116002)(86362001)(38350700002)(6506007)(1076003)(2616005)(5660300002)(6486002)(66946007)(66556008)(66476007)(38100700002)(508600001)(26005)(186003)(6512007)(4326008)(2906002)(6916009)(316002)(8676002)(8936002)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vzfEcfJQtO9adANacFORkGDZsXilLEYswjw96P2o1e1MGA3mzzgNyaKam0pa?= =?us-ascii?Q?km3QhWr0h5YAlBNaRiyODAyR5SiKT9ruPDMvDIWv5iIq5Aqco1nVNNoJIQnV?= =?us-ascii?Q?n5hBYKSGyeXz/jNK2Pwz12r7pcl8rggcGUagfwSYf6VCz7k1O91nbjYB1hhN?= =?us-ascii?Q?ZV+EjQ02oB5G/dsYwwOmrvnHNCjwHM5Nko7+uvJ1VOHaEBxYPlCmxQ46owf6?= =?us-ascii?Q?/uxY3DjrZohBongQci5kuwpkRhahNVhzjmdM+lJMnqj2GUXJ/s4qi/DzQB/L?= =?us-ascii?Q?CxZ92yntLTQoAOqbE8YQ18sIXS3x55aTU3AfNDx+/892KZxhpqS/4AfHdYsJ?= =?us-ascii?Q?IuEwCmDWTwM3gto6L6tfHuWHj8ieB6DjmrodMWQwTmGijrM1+hMle2apZ4fm?= =?us-ascii?Q?0u8Rdcfy9etbYTnHoikbtPhQOmdaR8oiPRNBRrUp0dvDH2xcOoJqkkwjMrrX?= =?us-ascii?Q?5IL920W1qtey7NOoevmHICERESgnhacO0PG3gzhE0VoB2ZjzgCMMWFF6rX2W?= =?us-ascii?Q?W8XYJV3vcYUnyQhwc79HIYKLaaVocccZ91yrcKoJPQoA8stB95T+hornhqZ5?= =?us-ascii?Q?5KAt0IdXbRJcerKrFvnBbdmzXbyQRtqqi7fnL1xYnlvLEkn3JqeObEBACfqy?= =?us-ascii?Q?Y4fli0aAadRWt1WSNZalHoyWUOWUv4icOsGkon7gtfjc0K2eVEmLyPLomCeR?= =?us-ascii?Q?QB+OHVppnMm0wnRQg6BrnbAspkEm/ze/lavfcnK012aV8XMSA38hVL9yMz9i?= =?us-ascii?Q?p6Zyd7NjGPG/mQF3X8Czc4qHs6+awpWzkn08bfKIsqtuyIB4Cb3oAWaXaksj?= =?us-ascii?Q?hzNgUfM3x4+RzS45wijLjwP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bBNhXKtKPQ=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fbbd81fd-d3b6-4344-8038-08da1ac6d4a5 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2022 07:50:50.3402 (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: cyumJm7lhkfKQ1Kenfl5SNViTadNlSd7zomHNH5uwaQ8o9heL/8KG6OKSSimZ1TYBJtCnTYu5wIhN5DDQc3BhA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4592 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 V2: Drop imx93 which is wrongly included 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/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 - 139 files changed, 99 insertions(+), 59 deletions(-) -- 2.25.1