summaryrefslogtreecommitdiff
path: root/lib_ppc/board.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2003-11-17 21:14:37 +0000
committerwdenk <wdenk>2003-11-17 21:14:37 +0000
commit5bb226e821ea3c10c52d768ffab7952204b0f816 (patch)
tree51eb8e2b0c55cd3a441fb5bee5b2a9fcbee92928 /lib_ppc/board.c
parent5cf9da4821db0b6d86d8bbb74af86a0303063201 (diff)
downloadu-boot-imx-5bb226e821ea3c10c52d768ffab7952204b0f816.zip
u-boot-imx-5bb226e821ea3c10c52d768ffab7952204b0f816.tar.gz
u-boot-imx-5bb226e821ea3c10c52d768ffab7952204b0f816.tar.bz2
* Use "-fPIC" instead of "-mrelocatable" to prevent problems with
recent tools * Add checksum verification to 'imls' command * Add bd_info fields needed for 4xx Linux I2C driver * Patch by Martin Krause, 4 Nov. 2003: Fix error in cmd_vfd.c (TRAB board: "vfd /1" shows now only one Bitmap) * Print used network interface when CONFIG_NET_MULTI is set
Diffstat (limited to 'lib_ppc/board.c')
-rw-r--r--lib_ppc/board.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 35a8276..ea8adb91 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -501,6 +501,14 @@ void board_init_f (ulong bootflag)
bd->bi_plb_busfreq = gd->bus_clk;
#if defined(CONFIG_405GP) || defined(CONFIG_405EP)
bd->bi_pci_busfreq = get_PCI_freq ();
+
+#ifdef CFG_OPB_FREQ
+ bd->bi_opbfreq = CFG_OPB_FREQ;
+#else
+ bd->bi_opbfreq = 50000000;
+#endif
+ bd->bi_iic_fast[0] = 0;
+ bd->bi_iic_fast[1] = 0;
#endif
#endif