diff options
author | Magnus Damm <damm@opensource.se> | 2013-07-11 16:22:29 (GMT) |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-07-17 05:26:56 (GMT) |
commit | 81b9d5351fa96caad4accc6711bc1b9342927d4a (patch) | |
tree | a8e98aecd34fdf7b2cba967781ff9502196e53f7 /kernel/jump_label.c | |
parent | 512e53bc7f0088e3adfd89b3fea3447495fc8423 (diff) | |
download | linux-81b9d5351fa96caad4accc6711bc1b9342927d4a.tar.xz |
ARM: shmobile: Setup r8a7790 arch timer based on MD pins
Update the r8a7790 arch timer setup code to configure the
frequency dynamically at boot time. This means that the arch
timer driver will be able to detect a timer frequency that
has been calculated based on the MD pins instead of a fixed
and potentially incorrect 13 MHz.
With this patch applied the Linux kernel will correctly
support the r8a7790 Lager board that uses a 20 Mhz EXTAL.
The arch timer will operate on 10 MHz and the Linux arch
timer driver will be correctly configured to use 10 MHz.
Without this patch the 20 MHz EXTAL will be used to drive
the arch timer at 10 MHz, but the Linux arch timer driver
will believe it is counting at 13 Mhz.
Reported-by: Ulrich Hecht <ulrich.hecht@gmail.com>
Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Ulrich Hecht <ulrich.hecht@gmail.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'kernel/jump_label.c')
0 files changed, 0 insertions, 0 deletions