u-boot/cpu
Trent Piepho ada591d2a0 mpc8[56]xx: Put localbus clock in sysinfo and gd
Currently MPC85xx and MPC86xx boards just calculate the localbus frequency
and print it out, but don't save it.

This changes where its calculated and stored to be more consistent with the
CPU, CCB, TB, and DDR frequencies and the MPC83xx localbus clock.

The localbus frequency is added to sysinfo and calculated when sysinfo is
set up, in cpu/mpc8[56]xx/speed.c, the same as the other frequencies are.

get_clocks() copies the frequency into the global data, as the other
frequencies are, into a new field that is only enabled for MPC85xx and
MPC86xx.

checkcpu() in cpu/mpc8[56]xx/cpu.c will print out the local bus frequency
from sysinfo, like the other frequencies, instead of calculating it on the
spot.

Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-19 18:32:49 -06:00
..
74xx_7xx Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
arm720t Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
arm920t i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
arm925t Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
arm926ejs i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
arm946es Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
arm1136 Change to use "do_div" macro 2008-11-04 23:40:05 +01:00
arm1176 rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
arm_intcm Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
at32ap rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
blackfin i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
i386 Fixed path to sc520 SSI include file 2008-12-10 00:34:09 +01:00
ixp Moved initialization of IXP4XX_NPE Ethernet controller to cpu_eth_init() 2008-11-09 21:38:02 -08:00
leon2 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
leon3 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
lh7a40x Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
mcf52x2 Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
mcf523x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf532x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf547x_8x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf5227x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mcf5445x Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
microblaze rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
mips MIPS: Flush data cache upon relocation 2008-12-10 23:29:12 +09:00
mpc5xx Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mpc5xxx i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8xx i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8xxx/ddr fsl ddr skip interleaving if not supported. 2008-12-03 22:47:19 -06:00
mpc83xx Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
mpc85xx mpc8[56]xx: Put localbus clock in sysinfo and gd 2008-12-19 18:32:49 -06:00
mpc86xx mpc8[56]xx: Put localbus clock in sysinfo and gd 2008-12-19 18:32:49 -06:00
mpc512x i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc824x i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8220 i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
mpc8260 i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
nios Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
nios2 Update U-Boot's build timestamp on every compile 2008-12-06 23:36:43 +01:00
ppc4xx Coding style cleanup, update CHANGELOG. 2008-12-16 01:02:17 +01:00
pxa i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions 2008-12-15 23:46:21 +01:00
s3c44b0 Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
sa1100 Remove compiler warning: target CPU does not support interworking 2008-12-13 23:41:23 +01:00
sh2 sh: Update sh timer function 2008-12-10 23:11:35 +09:00
sh3 sh: Update sh timer function 2008-12-10 23:11:35 +09:00
sh4 sh: Update sh timer function 2008-12-10 23:11:35 +09:00