summaryrefslogtreecommitdiff
path: root/board/mpc8641hpcn
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2006-05-31 11:39:34 -0500
committerJon Loeliger <jdl@jdl.com>2006-05-31 11:39:34 -0500
commit3d5c5be547445dd3bd2eb7368d80df03ea437970 (patch)
tree7fc81501d69c33026afe9273534495c1072b6793 /board/mpc8641hpcn
parent4d3d729c16c392d2982d3266b659d333c927697d (diff)
downloadu-boot-imx-3d5c5be547445dd3bd2eb7368d80df03ea437970.zip
u-boot-imx-3d5c5be547445dd3bd2eb7368d80df03ea437970.tar.gz
u-boot-imx-3d5c5be547445dd3bd2eb7368d80df03ea437970.tar.bz2
Removed unneeded local_bus_init() from 8641HPCN board.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/mpc8641hpcn')
-rw-r--r--board/mpc8641hpcn/mpc8641hpcn.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/board/mpc8641hpcn/mpc8641hpcn.c b/board/mpc8641hpcn/mpc8641hpcn.c
index dbc9b5e..0b08df2 100644
--- a/board/mpc8641hpcn/mpc8641hpcn.c
+++ b/board/mpc8641hpcn/mpc8641hpcn.c
@@ -45,7 +45,6 @@ extern void ddr_enable_ecc(unsigned int dram_size);
extern long int spd_sdram(void);
-void local_bus_init(void);
void sdram_init(void);
long int fixed_sdram(void);
@@ -91,11 +90,6 @@ int checkboard (void)
printf("PCI-EXPRESS1: Disabled\n");
#endif
- /*
- * Initialize local bus.
- */
- local_bus_init();
-
return 0;
}
@@ -129,34 +123,6 @@ initdram(int board_type)
}
-/*
- * Initialize Local Bus
- */
-
-void
-local_bus_init(void)
-{
- volatile immap_t *immap = (immap_t *)CFG_IMMR;
- volatile ccsr_lbc_t *lbc = &immap->im_lbc;
-
- uint clkdiv;
- uint lbc_hz;
- sys_info_t sysinfo;
-
- /*
- * Errata LBC11.
- * Fix Local Bus clock glitch when DLL is enabled.
- *
- * If localbus freq is < 66Mhz, DLL bypass mode must be used.
- * If localbus freq is > 133Mhz, DLL can be safely enabled.
- * Between 66 and 133, the DLL is enabled with an override workaround.
- */
-
- get_sys_info(&sysinfo);
- clkdiv = lbc->lcrr & 0x0f;
- lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
-}
-
#if defined(CFG_DRAM_TEST)
int testdram(void)
{