diff options
author | Domen Puncer <domen.puncer@telargo.com> | 2007-04-20 11:13:16 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-04-20 11:13:16 +0200 |
commit | 39f23cd90947639ac278a18ff277ec786b5ac167 (patch) | |
tree | 7df9ce92756749b3a5ba70441153bac3659c7e2e /include/configs/IceCube.h | |
parent | 37837828d89084879bee2f2b8c7c68d4695940df (diff) | |
download | u-boot-imx-39f23cd90947639ac278a18ff277ec786b5ac167.zip u-boot-imx-39f23cd90947639ac278a18ff277ec786b5ac167.tar.gz u-boot-imx-39f23cd90947639ac278a18ff277ec786b5ac167.tar.bz2 |
[RFC PATCH] icecube/lite5200b: fix OF_TBCLK (timebase-frequency) calculation
G2 core reference manual says decrementer and time base
are decreasing/increasing once every 4 bus clock cycles.
Lets fix it, so time in Linux won't run twice as fast
Signed-off-by: Domen Puncer <domen.puncer@telargo.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'include/configs/IceCube.h')
-rw-r--r-- | include/configs/IceCube.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/IceCube.h b/include/configs/IceCube.h index 0d38254..5988112 100644 --- a/include/configs/IceCube.h +++ b/include/configs/IceCube.h @@ -182,7 +182,7 @@ #define OF_CPU "PowerPC,5200@0" #define OF_SOC "soc5200@f0000000" -#define OF_TBCLK (bd->bi_busfreq / 8) +#define OF_TBCLK (bd->bi_busfreq / 4) #define OF_STDOUT_PATH "/soc5200@f0000000/serial@2000" /* |