From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Thu, 20 Aug 2015 09:32:05 -0600 Subject: [U-Boot] [PATCH 1/6] armv8: Make COUNTER_FREQUENCY optional In-Reply-To: <1440063743-22838-1-git-send-email-thierry.reding@gmail.com> References: <1440063743-22838-1-git-send-email-thierry.reding@gmail.com> Message-ID: <55D5F2F5.9090208@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/20/2015 03:42 AM, Thierry Reding wrote: > From: Thierry Reding > > Some platforms have the means to determine the counter frequency at > runtime, so give them an opportunity to do so. Aside from the one comment I already made, the series, Acked-by: Stephen Warren Tested-by: Stephen Warren I validated that the calculated clk_m rate is correct on p2371-2180 when booted under L4T's nvtboot. I didn't validate the programming of cntfrq_el0, since I'm booting at EL2 not EL3. Still, that part is trivial and the same code as in start.S. Tom, this series would replace my patch "ARM: tegra: fix COUNTER_FREQUENCY for T210". Or perhaps apply my patch then fix up the minor conflicts when applying this series. That would at least document the fact that COUNTER_FREQUENCY was wrong in all the initial header files, in case someone looks back at old git versions.