diff options
author | Stefan Roese <sr@denx.de> | 2012-09-19 14:33:52 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-10-15 11:53:59 -0700 |
commit | 99bcad1809d073a7ec5a6f8ed49637693904e2de (patch) | |
tree | 9516e894a30ca0cff3f7b88bfe3e5d2e9e3d42ab /arch/powerpc/cpu/ppc4xx/speed.c | |
parent | f2760c4acd5b7a198632d002528ec7c227ea27b8 (diff) | |
download | u-boot-imx-99bcad1809d073a7ec5a6f8ed49637693904e2de.zip u-boot-imx-99bcad1809d073a7ec5a6f8ed49637693904e2de.tar.gz u-boot-imx-99bcad1809d073a7ec5a6f8ed49637693904e2de.tar.bz2 |
ppc4xx: Remove IOP480 support
Since the IOP480 (PPC401/3 variant from PLX) is only used on 2
boards that are not actively maintained, lets remove support
for it completely. This way the ppc4xx code will get a bit cleaner.
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/ppc4xx/speed.c')
-rw-r--r-- | arch/powerpc/cpu/ppc4xx/speed.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/speed.c b/arch/powerpc/cpu/ppc4xx/speed.c index 09d6671..6156ac9 100644 --- a/arch/powerpc/cpu/ppc4xx/speed.c +++ b/arch/powerpc/cpu/ppc4xx/speed.c @@ -1190,22 +1190,12 @@ void get_sys_info (sys_info_t * sysInfo) int get_clocks (void) { -#if defined(CONFIG_405GP) || defined(CONFIG_405CR) || \ - defined(CONFIG_405EP) || defined(CONFIG_405EZ) || \ - defined(CONFIG_405EX) || defined(CONFIG_405) || \ - defined(CONFIG_440) sys_info_t sys_info; get_sys_info (&sys_info); gd->cpu_clk = sys_info.freqProcessor; gd->bus_clk = sys_info.freqPLB; -#endif /* defined(CONFIG_405GP) || defined(CONFIG_405CR) */ - -#ifdef CONFIG_IOP480 - gd->cpu_clk = 66000000; - gd->bus_clk = 66000000; -#endif return (0); } @@ -1226,11 +1216,6 @@ ulong get_bus_freq (ulong dummy) get_sys_info (&sys_info); val = sys_info.freqPLB; - -#elif defined(CONFIG_IOP480) - - val = 66; - #else # error get_bus_freq() not implemented #endif @@ -1238,7 +1223,6 @@ ulong get_bus_freq (ulong dummy) return val; } -#if !defined(CONFIG_IOP480) ulong get_OPB_freq (void) { PPC4xx_SYS_INFO sys_info; @@ -1247,4 +1231,3 @@ ulong get_OPB_freq (void) return sys_info.freqOPB; } -#endif |