9
0
Fork 0

svn_rev_620

use clock functions
This commit is contained in:
Sascha Hauer 2007-07-05 18:02:10 +02:00 committed by Sascha Hauer
parent 66dd92dd7d
commit 7625b6b2f0
1 changed files with 2 additions and 2 deletions

View File

@ -99,12 +99,12 @@ ft_cpu_setup(void *blob, bd_t *bd)
/* Core XLB bus frequency */
p = ft_get_prop(blob, "/cpus/" OF_CPU "/bus-frequency", &len);
if (p != NULL)
*p = cpu_to_be32(bd->bi_busfreq);
*p = cpu_to_be32(get_bus_clock());
/* SOC peripherals use the IPB bus frequency */
p = ft_get_prop(blob, "/" OF_SOC "/bus-frequency", &len);
if (p != NULL)
*p = cpu_to_be32(bd->bi_ipbfreq);
*p = cpu_to_be32(get_ipb_clock());
p = ft_get_prop(blob, "/" OF_SOC "/ethernet@3000/mac-address", &len);
if (p != NULL)