diff options
author | chenhui zhao <chenhui.zhao@freescale.com> | 2011-09-15 14:52:34 +0800 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-10-03 08:52:14 -0500 |
commit | 568336ecc7083afd0b8b16a6b8b4a796491c142f (patch) | |
tree | 09c9fbbaab4ee23b2f8d368fdf3c6b2bf886954d /board/freescale/common/cadmus.c | |
parent | a6d0bfa86f5af3bab7bd0d14653c80e4188e076c (diff) | |
download | u-boot-imx-568336ecc7083afd0b8b16a6b8b4a796491c142f.zip u-boot-imx-568336ecc7083afd0b8b16a6b8b4a796491c142f.tar.gz u-boot-imx-568336ecc7083afd0b8b16a6b8b4a796491c142f.tar.bz2 |
powerpc/mpc85xxcds: Fix PCI speed
The CDS uses PCICLK as SYSCLK. The PCICLK should be 33333333Hz or 66666666Hz.
Signed-off-by: Ebony Zhu <ebony.zhu@freescale.com>
Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/common/cadmus.c')
-rw-r--r-- | board/freescale/common/cadmus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/common/cadmus.c b/board/freescale/common/cadmus.c index db54bc4..50b6e9f 100644 --- a/board/freescale/common/cadmus.c +++ b/board/freescale/common/cadmus.c @@ -1,5 +1,5 @@ /* - * Copyright 2004 Freescale Semiconductor. + * Copyright 2004, 2011 Freescale Semiconductor. * * See file CREDITS for list of people who contributed to this * project. @@ -61,12 +61,12 @@ get_clock_freq(void) uint pci1_speed = (cadmus->cm_pci >> 2) & 0x3; /* PSPEED in [4:5] */ if (pci1_speed == 0) { - return 33000000; + return 33333333; } else if (pci1_speed == 1) { - return 66000000; + return 66666666; } else { /* Really, unknown. Be safe? */ - return 33000000; + return 33333333; } } |