leon: use CONFIG_SYS_HZ to config timer prescaler
authorDaniel Hellstrom <daniel@gaisler.com>
Thu, 8 May 2014 17:16:14 +0000 (19:16 +0200)
committerDaniel Hellstrom <daniel@gaisler.com>
Thu, 8 May 2014 19:05:29 +0000 (21:05 +0200)
commit1c1c7506de1051df6d81c51a06a57be6406b534c
tree059cce9a62e98f2f8479327b58d8a5ef5b513e22
parent09865465821fd35eabedcd9f102f1d576c626ad8
leon: use CONFIG_SYS_HZ to config timer prescaler

Before it was hardcoded to 1000 ticks per second.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
arch/sparc/cpu/leon2/cpu_init.c
arch/sparc/cpu/leon3/cpu_init.c