
From: Peng Fan peng.fan@nxp.com
Make COUNTER_FREQUENCY usable to armv8 and armv7-a, not limited to versal.
Signed-off-by: Peng Fan peng.fan@nxp.com --- arch/arm/Kconfig | 7 +++++++ arch/arm/mach-versal/Kconfig | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 6771f14b1059..d84c10d732e5 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -19,6 +19,13 @@ config ARM64_CRC32 not be present on all ARMv8.0, but is always present on ARMv8.1 and newer.
+config COUNTER_FREQUENCY + int "Timer clock frequency" + depends on ARM64 || CPU_V7A + default 0 + help + Setup time clock frequency for certain platform + config POSITION_INDEPENDENT bool "Generate position-independent pre-relocation code" depends on ARM64 || CPU_V7A diff --git a/arch/arm/mach-versal/Kconfig b/arch/arm/mach-versal/Kconfig index 0c6ad345ffda..645f06add44d 100644 --- a/arch/arm/mach-versal/Kconfig +++ b/arch/arm/mach-versal/Kconfig @@ -24,12 +24,6 @@ config SYS_CONFIG_NAME config SYS_MALLOC_LEN default 0x2000000
-config COUNTER_FREQUENCY - int "Timer clock frequency" - default 0 - help - Setup time clock frequency for certain platform - config ZYNQ_SDHCI_MAX_FREQ default 200000000