From: Thierry Reding Date: Tue, 28 Jul 2015 09:35:54 +0000 (+0200) Subject: ARM: tegra: Use architected timer on ARMv8 X-Git-Tag: v2015.10-rc1~6^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f41f0a1918fcb7f6fa0a8d4182dc4b7c6aca48bb;p=u-boot ARM: tegra: Use architected timer on ARMv8 ARMv8 requires an architected timer to be present, so it can be used instead of the Tegra US timer. This allows for better code reuse. Signed-off-by: Thierry Reding Signed-off-by: Tom Warren --- diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h index 49fa8b3210..ffe167e85a 100644 --- a/include/configs/tegra-common.h +++ b/include/configs/tegra-common.h @@ -18,8 +18,11 @@ #include /* get chip and board defs */ +/* Use the Tegra US timer on ARMv7, but the architected timer on ARMv8. */ +#ifndef CONFIG_ARM64 #define CONFIG_SYS_TIMER_RATE 1000000 #define CONFIG_SYS_TIMER_COUNTER NV_PA_TMRUS_BASE +#endif /* * Display CPU and Board information