[PATCH V3 0/6] Convert COUNTER_FREQUENCY to CONFIG_COUNTER_FREQUENCY

Peng Fan (OSS) peng.fan at oss.nxp.com
Wed Apr 13 04:01:10 CEST 2022


From: Peng Fan <peng.fan at nxp.com>


V3:
 Add more help info for CONFIG_COUNTER_FREQUENCY
 Drop uneeded comments
 Pass git bisect build
 Rebased

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                              | 13 +++++++++++++
 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                 |  3 ---
 include/configs/apalis-imx8x.h                |  3 ---
 include/configs/capricorn-common.h            |  3 ---
 include/configs/cgtqmx8.h                     |  3 ---
 include/configs/colibri-imx8x.h               |  1 -
 include/configs/condor.h                      |  3 ---
 include/configs/draak.h                       |  3 ---
 include/configs/dragonboard410c.h             |  3 ---
 include/configs/dragonboard820c.h             |  3 ---
 include/configs/eagle.h                       |  3 ---
 include/configs/ebisu.h                       |  3 ---
 include/configs/exynos7420-common.h           |  3 ---
 include/configs/exynos78x0-common.h           |  3 ---
 include/configs/falcon.h                      |  3 ---
 include/configs/hihope-rzg2.h                 |  3 ---
 include/configs/hikey.h                       |  3 ---
 include/configs/hikey960.h                    |  3 ---
 include/configs/imx8qm_mek.h                  |  3 ---
 include/configs/imx8qm_rom7720.h              |  3 ---
 include/configs/imx8qxp_mek.h                 |  3 ---
 include/configs/ls1012a_common.h              |  3 ---
 include/configs/ls1028a_common.h              |  3 ---
 include/configs/ls1043a_common.h              |  3 ---
 include/configs/ls1046a_common.h              |  3 ---
 include/configs/ls2080a_common.h              |  2 --
 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                  |  3 ---
 include/configs/p2371-2180.h                  |  3 ---
 include/configs/p2771-0000.h                  |  3 ---
 include/configs/p3450-0000.h                  |  3 ---
 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                  |  3 ---
 include/configs/sdm845.h                      |  3 ---
 include/configs/silinux-ek874.h               |  3 ---
 include/configs/socfpga_soc64_common.h        |  5 -----
 include/configs/ten64.h                       |  1 -
 include/configs/thunderx_88xx.h               |  3 ---
 include/configs/ulcb.h                        |  3 ---
 include/configs/vexpress_aemv8.h              |  3 ---
 139 files changed, 104 insertions(+), 130 deletions(-)

-- 
2.35.1



More information about the U-Boot mailing list