summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-05-11 12:01:06 +0200
committerStefan Roese <sr@denx.de>2007-05-11 12:01:06 +0200
commit343c48bd84606c4025c8a7c7263fda465d6e284c (patch)
tree5483530e2d5c4948de51c3abb31d25e8ece93e2e
parent193b4a3bb3acaddf798da8de0da05d94ba8774ee (diff)
downloadu-boot-imx-343c48bd84606c4025c8a7c7263fda465d6e284c.zip
u-boot-imx-343c48bd84606c4025c8a7c7263fda465d6e284c.tar.gz
u-boot-imx-343c48bd84606c4025c8a7c7263fda465d6e284c.tar.bz2
ppc4xx: Set bd->bi_pci_busfreq on 440EPx/GRx too
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--lib_ppc/board.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib_ppc/board.c b/lib_ppc/board.c
index 24e8e97..f37a86a 100644
--- a/lib_ppc/board.c
+++ b/lib_ppc/board.c
@@ -568,7 +568,9 @@ void board_init_f (ulong bootflag)
bd->bi_procfreq = gd->cpu_clk; /* Processor Speed, In Hz */
bd->bi_plb_busfreq = gd->bus_clk;
-#if defined(CONFIG_405GP) || defined(CONFIG_405EP) || defined(CONFIG_440EP) || defined(CONFIG_440GR)
+#if defined(CONFIG_405GP) || defined(CONFIG_405EP) || \
+ defined(CONFIG_440EP) || defined(CONFIG_440GR) || \
+ defined(CONFIG_440EPX) || defined(CONFIG_440GRX)
bd->bi_pci_busfreq = get_PCI_freq ();
bd->bi_opbfreq = get_OPB_freq ();
#elif defined(CONFIG_XILINX_ML300)