uboot/include/asm-ppc
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
..
4xx_pci.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
4xx_pcie.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
5xx_immap.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
8xx_immap.h
atomic.h
bitops.h PPC: Added fls, fls64, __ilog2_u64, and ffs64 to bitops 2008-07-01 21:47:12 +02:00
byteorder.h
cache.h 85xx: Add basic e500mc core support 2008-10-24 15:10:47 -05:00
cpm_85xx.h
cpm_8260.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
e300.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
errno.h
fsl_ddr_dimm_params.h Pass dimm parameters to populate populate controller options 2008-10-18 21:54:04 +02:00
fsl_ddr_sdram.h Make DDR interleaving mode work correctly 2008-10-18 21:54:04 +02:00
fsl_i2c.h
fsl_law.h FSL DDR: Provide a generic set_ddr_laws() 2008-08-27 02:05:55 +02:00
fsl_lbc.h mpc8xxx: LCRR[CLKDIV] is sometimes five bits 2008-12-19 18:20:25 -06:00
fsl_serdes.h mpc83xx: serdes: add forgotten shifts for rfcks 2008-10-21 18:34:01 -05:00
global_data.h mpc8[56]xx: Put localbus clock in sysinfo and gd 2008-12-19 18:32:49 -06:00
gpio.h
immap_83xx.h Make Freescale local bus registers available for both 83xx and 85xx. 2008-10-29 11:12:53 -05:00
immap_85xx.h 85xx: Add PORDEVSR_PCI1 define 2008-12-04 03:15:43 -06:00
immap_86xx.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
immap_512x.h
immap_8220.h
immap_8260.h
immap_fsl_pci.h
immap_qe.h
interrupt.h ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00
io.h ppc: Use addrmap in virt_to_phys and map_physmem. 2008-12-19 18:20:08 -06:00
iopin_8xx.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
iopin_85xx.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
iopin_8260.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
m8260_pci.h
mc146818rtc.h
mmu.h 85xx: Add support to populate addr map based on TLB settings 2008-12-19 18:20:08 -06:00
mpc8xxx_spi.h
mpc8349_pci.h
pci_io.h
pnp.h
posix_types.h
ppc4xx-ebc.h ppc4xx: Correctly setup ranges property in ebc node 2008-10-21 17:35:02 +02:00
ppc4xx-isram.h ppc4xx: Added ppc4xx-isram.h for internal SRAM and L2 cache DCRs 2008-11-21 10:52:33 +01:00
ppc4xx-sdram.h ppc4xx: PPC44x MQ initialization 2008-10-17 13:02:42 +02:00
ppc4xx-uic.h ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00
processor.h mpc85xx: Add support for the MPC8536 2008-08-27 11:43:54 -05:00
ptrace.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
residual.h
sigcontext.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
signal.h
status_led.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
string.h
types.h
u-boot.h Adds two more ethernet interface to 83xx 2008-10-18 21:54:00 +02:00
xilinx_irq.h ppc4xx: Minor coding style cleanup of Xilinx Virtex5 ml507 support 2008-07-18 12:31:25 +02:00