u-boot/cpu/ppc4xx
Stefan Roese e67af44d01 ppc4xx: Consolidate get_OPB_freq()
All 4xx variants had their own, mostly identical get_OPB_freq()
function. Some variants even only had the OPB frequency calculated
in this routine and not supplied the sys_info.freqOPB variable
correctly (e.g. 405EZ). This resulted in incorrect OPB values passed
via the FDT to Linux.

This patch now removes all those copies and only uses one function
for all 4xx variants (except for IOP480 which doesn't have an OPB).

Signed-off-by: Stefan Roese <sr@denx.de>
2009-09-17 14:08:32 +02:00
..
4xx_ibm_ddr2_autocalib.c ppc4xx: Autocalibration can set RDCC to over aggressive value. 2009-02-12 06:08:07 +01:00
4xx_pci.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
4xx_pcie.c ppc4xx: PCIe: Change 16GB inbound memory to 4GB 2009-02-18 15:59:20 +01:00
4xx_uart.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
40x_spd_sdram.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
44x_spd_ddr.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
44x_spd_ddr2.c 4xx: Fix compilation warnings and MQ registers dump in SPD DDR2 code 2009-07-08 10:59:07 +02:00
bedbug_405.c Standardize command usage messages with cmd_usage() 2009-01-28 08:43:45 +01:00
cache.S rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
cmd_chip_config.c Add "chip_config" command for PPC4xx bootstrap configuration 2009-07-24 06:42:32 +02:00
commproc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
config.mk ppc: Remove -fno-strict-aliasing 2009-09-04 22:15:48 +02:00
cpu.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
cpu_init.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
dcr.S cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
denali_data_eye.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
denali_spd_ddr2.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ecc.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
ecc.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
fdt.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
gpio.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
i2c.c i2c: Create common default i2c_[set|get]_bus_speed() functions 2009-06-12 20:39:45 +02:00
interrupts.c ppc4xx: Replace 4xx lowercase SPR references 2009-07-24 06:47:17 +02:00
iop480_uart.c ppc4xx: Consolidate PPC4xx UIC defines 2008-07-11 13:18:13 +02:00
kgdb.S Big white-space cleanup. 2008-05-21 00:14:08 +02:00
Makefile Add "chip_config" command for PPC4xx bootstrap configuration 2009-07-24 06:42:32 +02:00
miiphy.c ppc4xx: Fix compilation warning in 4xx miiphy.c 2009-09-10 14:38:17 +02:00
resetvec.S * Code cleanup: 2003-06-27 21:31:46 +00:00
sdram.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
sdram.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
speed.c ppc4xx: Consolidate get_OPB_freq() 2009-09-17 14:08:32 +02:00
start.S ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
tlb.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
traps.c ppc4xx: Fix printf format warnings now visible with the updated format check 2008-07-10 09:58:06 +02:00
uic.c ppc4xx: Fixed PPC4xx debug compilation error in uic.c 2009-07-08 10:59:07 +02:00
usb.c rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
usb_ohci.c Fix e-mail address of Gary Jennejohn. 2009-05-15 22:11:59 +02:00
usb_ohci.h Replace __attribute references with __attribute__ 2009-04-28 01:01:39 +02:00
usbdev.c ppc4xx: Big cleanup of PPC4xx defines 2009-09-11 10:35:58 +02:00
usbdev.h rename CFG_ macros to CONFIG_SYS 2008-10-18 21:54:03 +02:00
xilinx_irq.c ppc4xx: CPU PPC440x5 on Virtex5 FX 2008-07-18 12:30:50 +02:00