u-boot/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 Patch by Yuli Barcohen, 19 Apr 2004: 2004-06-06 21:35:06 +00:00
atomic.h Initial revision 2001-04-28 17:59:11 +00:00
bitops.h PPC: Added fls, fls64, __ilog2_u64, and ffs64 to bitops 2008-07-01 21:47:12 +02:00
byteorder.h Cleanup for GCC-4.x 2005-10-13 16:45:02 +02:00
cache.h 85xx: Add basic e500mc core support 2008-10-24 15:10:47 -05:00
cpm_85xx.h Fix DPRAM offset/size for MPC8541/8555. 2005-12-06 15:02:31 +01:00
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 Initial revision 2000-08-21 15:05:47 +00:00
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 Make fsl-i2c not conflict with SOFT I2C 2006-11-29 00:25:26 -06:00
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 ppc4xx: Add AMCC Canyonlands support (460EX) (3/3) 2008-03-15 07:28:05 +01:00
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 MPC5121e ADS PCI support take 3 2008-03-02 21:44:59 +01:00
immap_8220.h Patch by TsiChung Liew, 23 Sep 2004: 2004-10-28 00:09:35 +00:00
immap_8260.h Patch by Thomas Viehweger, 14 May 2004: 2004-06-09 12:42:26 +00:00
immap_fsl_pci.h Handle MPC85xx PCIe reset errata (PCI-Ex 38) 2007-12-11 22:34:20 -06:00
immap_qe.h 85xx: add ability to upload QE firmware 2008-01-09 16:28:12 -06:00
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 * Code cleanup: 2003-06-27 21:31:46 +00:00
mc146818rtc.h Initial revision 2000-11-20 17:21:10 +00:00
mmu.h 85xx: Add support to populate addr map based on TLB settings 2008-12-19 18:20:08 -06:00
mpc8xxx_spi.h mpc83xx: Correct the struct spi8xxx in mpc8xxx_spi.h 2008-01-18 12:39:23 -06:00
mpc8349_pci.h Added PCI support for MPC8349ADS board 2006-01-12 19:51:38 -06:00
pci_io.h * Code cleanup: 2003-06-27 21:31:46 +00:00
pnp.h * Code cleanup: 2003-06-27 21:31:46 +00:00
posix_types.h Initial revision 2001-04-28 17:59:11 +00:00
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 * Code cleanup: 2003-06-27 21:31:46 +00:00
sigcontext.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
signal.h Initial revision 2001-04-28 17:59:11 +00:00
status_led.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
string.h Initial revision 2000-08-21 15:05:47 +00:00
types.h Introduce phys_size_t and move phys_addr_t into asm/types.h 2008-04-13 17:13:46 -07:00
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