diff options
author | Peter Hoyes <Peter.Hoyes@arm.com> | 2022-02-15 11:54:18 +0000 |
---|---|---|
committer | Mark Rutland <mark.rutland@arm.com> | 2023-01-30 14:20:59 +0000 |
commit | 229002a9e6a3245315e3a2fedb8b0df0c904a0c6 (patch) | |
tree | 73ab2cacc6248ef0781825377f6f7ae2586bfedc | |
parent | c46a09cf1d8e4e34b64f06132acf2effbc85e48d (diff) | |
download | boot-wrapper-aarch64-229002a9e6a3245315e3a2fedb8b0df0c904a0c6.tar.gz |
Makefile: Change COUNTER_FREQ to 100 MHz
Older Arm Fast Models (AEM < RevC) had a base frequency of 24 MHz. but
the RevC base models use 100 MHz. There is not a robust method of
determining the configured base frequency at runtime, so update
COUNTER_FREQ to be 100 MHz.
Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 08e304a..6ebece2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,7 +13,7 @@ SCRIPT_DIR := $(top_srcdir)/scripts PHYS_OFFSET := $(shell perl -I $(SCRIPT_DIR) $(SCRIPT_DIR)/findmem.pl $(KERNEL_DTB)) UART_BASE := $(shell perl -I $(SCRIPT_DIR) $(SCRIPT_DIR)/findbase.pl $(KERNEL_DTB) 0 'arm,pl011') SYSREGS_BASE := $(shell perl -I $(SCRIPT_DIR) $(SCRIPT_DIR)/findbase.pl $(KERNEL_DTB) 0 'arm,vexpress-sysreg' 2> /dev/null) -COUNTER_FREQ := 24000000 +COUNTER_FREQ := 100000000 CPU_IDS := $(shell perl -I $(SCRIPT_DIR) $(SCRIPT_DIR)/findcpuids.pl $(KERNEL_DTB)) NR_CPUS := $(shell echo $(CPU_IDS) | tr ',' ' ' | wc -w) |