summaryrefslogtreecommitdiff
path: root/cpu/mpc512x/pci.c
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-01-25 14:42:11 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-01-25 14:42:11 +0900
commited44387f406ca0e695609270a1282e699111a945 (patch)
tree6660c48863ede9c5f0207afce4b0ad93378076a8 /cpu/mpc512x/pci.c
parent2fba7a08770586b342db367750a8447f21882d9a (diff)
parent790af6ed08cc3675267191eb60403bd4f0d9a03c (diff)
downloadu-boot-imx-ed44387f406ca0e695609270a1282e699111a945.zip
u-boot-imx-ed44387f406ca0e695609270a1282e699111a945.tar.gz
u-boot-imx-ed44387f406ca0e695609270a1282e699111a945.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-arm
Diffstat (limited to 'cpu/mpc512x/pci.c')
-rw-r--r--cpu/mpc512x/pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpu/mpc512x/pci.c b/cpu/mpc512x/pci.c
index bbfab3e..141db8b 100644
--- a/cpu/mpc512x/pci.c
+++ b/cpu/mpc512x/pci.c
@@ -1,6 +1,6 @@
/*
+ * Copyright (C) 2009-2010 DENX Software Engineering <wd@denx.de>
* Copyright (C) Freescale Semiconductor, Inc. 2006, 2007.
- * Copyright (C) 2009 DENX Software Engineering <wd@denx.de>
*
* See file CREDITS for list of people who contributed to this
* project.
@@ -60,10 +60,10 @@ pci_init_board(void)
struct pci_controller *hose;
/* Set PCI divider for 33MHz */
- reg32 = im->clk.scfr[0];
+ reg32 = in_be32(&im->clk.scfr[0]);
reg32 &= ~(SCFR1_PCI_DIV_MASK);
reg32 |= SCFR1_PCI_DIV << SCFR1_PCI_DIV_SHIFT;
- im->clk.scfr[0] = reg32;
+ out_be32(&im->clk.scfr[0], reg32);
clrsetbits_be32(&im->clk.scfr[0],
SCFR1_PCI_DIV_MASK,