summaryrefslogtreecommitdiff
path: root/cpu/mpc8xx/cpu.c
diff options
context:
space:
mode:
authorBryan O'Donoghue <bodonoghue@codehermit.ie>2008-02-17 22:57:47 +0000
committerWolfgang Denk <wd@denx.de>2008-03-25 22:28:34 +0100
commit77ff7b7444ceb8022b46114f3d0b6d18e2fd1138 (patch)
treebfa2e231bae821ff19e0988f8760b6bc0349ab28 /cpu/mpc8xx/cpu.c
parent9c666a7db0b2285a270c68810889ce7d5dba304b (diff)
downloadu-boot-imx-77ff7b7444ceb8022b46114f3d0b6d18e2fd1138.zip
u-boot-imx-77ff7b7444ceb8022b46114f3d0b6d18e2fd1138.tar.gz
u-boot-imx-77ff7b7444ceb8022b46114f3d0b6d18e2fd1138.tar.bz2
8xx: Update OF support on 8xx
This patch does some shifting around of OF support on 8xx. Signed-off-by: Bryan O'Donoghue <bodonoghue@codehermit.ie>
Diffstat (limited to 'cpu/mpc8xx/cpu.c')
-rw-r--r--cpu/mpc8xx/cpu.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/cpu/mpc8xx/cpu.c b/cpu/mpc8xx/cpu.c
index c878352..a86598e 100644
--- a/cpu/mpc8xx/cpu.c
+++ b/cpu/mpc8xx/cpu.c
@@ -637,14 +637,3 @@ void reset_8xx_watchdog (volatile immap_t * immr)
#endif /* CONFIG_WATCHDOG */
-/* ------------------------------------------------------------------------- */
-#if defined(CONFIG_OF_LIBFDT)
-void ft_cpu_setup (void *blob, bd_t *bd)
-{
- char * cpu_path = "/cpus/" OF_CPU;
-
- do_fixup_by_path_u32(blob, cpu_path, "bus-frequency", bd->bi_busfreq, 1);
- do_fixup_by_path_u32(blob, cpu_path, "timebase-frequency", OF_TBCLK, 1);
- do_fixup_by_path_u32(blob, cpu_path, "clock-frequency", bd->bi_intfreq, 1);
-}
-#endif /* CONFIG_OF_LIBFDT */