diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-04-13 17:47:19 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-21 14:32:40 -0400 |
commit | 4e65175ea730b569f29e3a809506253649887796 (patch) | |
tree | c309cbdab26fa9ca088c202415e554f9e71a998c | |
parent | bf8c4ced3c324f4b520dfddc818b913213768432 (diff) | |
download | u-boot-4e65175ea730b569f29e3a809506253649887796.zip u-boot-4e65175ea730b569f29e3a809506253649887796.tar.gz u-boot-4e65175ea730b569f29e3a809506253649887796.tar.bz2 |
arch: arm: Kconfig: set default COUNTER_FREQUENCY
Set default COUNTER_FREQUENCY according to config header file
under include/configs/
i.MX6UL/ULL/7D/8QM/8QXP all has system counter frequency run at 8MHz,
so set default value for them.
SUNXI/EXYNOS/ROCKCHIP_RK3128/ROCKCHIP_RK3288/ROCKCHIP_RK322X/ROCKCHIP_RK3036
at 24MHz. ARCH_LX2160A at 25MHz
ARCH_ZYNQMP at 100MHz
-rw-r--r-- | arch/arm/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 46d4c1e..13be6b6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -23,6 +23,11 @@ config ARM64_CRC32 config COUNTER_FREQUENCY int "Timer clock frequency" depends on ARM64 || CPU_V7A + default 8000000 if IMX8 || MX7 || MX6UL || MX6ULL + default 24000000 if ARCH_SUNXI || ARCH_EXYNOS || ROCKCHIP_RK3128 || \ + ROCKCHIP_RK3288 || ROCKCHIP_RK322X || ROCKCHIP_RK3036 + default 25000000 if ARCH_LX2160A || ARCH_LX2162A || ARCH_LS1088A + default 100000000 if ARCH_ZYNQMP default 0 help For platforms with ARMv8-A and ARMv7-A which features a system |