[linux-sunxi] Re: [PATCH 09/12] sunxi: H5: add COUNTER_FREQUENCY

2017-01-21 Thread André Przywara
Hi, On 16/01/17 08:01, Maxime Ripard wrote: > On Fri, Jan 13, 2017 at 01:30:01AM +, Andre Przywara wrote: >> For the arch timer to work properly, we need to setup the CNTFRQ >> register, which is only possible in EL3. >> Define the arch timer frequency in sun8i.h as well, so that ARMv8's >>

[linux-sunxi] Re: [PATCH 09/12] sunxi: H5: add COUNTER_FREQUENCY

2017-01-16 Thread Maxime Ripard
On Fri, Jan 13, 2017 at 01:30:01AM +, Andre Przywara wrote: > For the arch timer to work properly, we need to setup the CNTFRQ > register, which is only possible in EL3. > Define the arch timer frequency in sun8i.h as well, so that ARMv8's > start.S can program the register correctly. > >