summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-12-05 07:27:37 +0100
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2008-12-10 23:11:36 +0900
commita319f1496210117b73198e3d889ffffaf6825d00 (patch)
tree971e56a8e4511c4a4d8115618de38863564e1b90 /drivers/pci
parent4d4a96055f6917335a89dbdf2e5556fa5ac329f6 (diff)
downloadu-boot-imx-a319f1496210117b73198e3d889ffffaf6825d00.zip
u-boot-imx-a319f1496210117b73198e3d889ffffaf6825d00.tar.gz
u-boot-imx-a319f1496210117b73198e3d889ffffaf6825d00.tar.bz2
sh: r2dplus fix register access
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci_sh7751.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/pci_sh7751.c b/drivers/pci/pci_sh7751.c
index e3a0ea0..df6d76f 100644
--- a/drivers/pci/pci_sh7751.c
+++ b/drivers/pci/pci_sh7751.c
@@ -187,8 +187,8 @@ int pci_sh7751_init(struct pci_controller *hose)
/* Copy BSC registers into PCI BSC */
p4_out(inl(SH7751_BCR1), SH7751_PCIBCR1);
- p4_out(inl(SH7751_BCR2), SH7751_PCIBCR2);
- p4_out(inl(SH7751_BCR3), SH7751_PCIBCR3);
+ p4_out(inw(SH7751_BCR2), SH7751_PCIBCR2);
+ p4_out(inw(SH7751_BCR3), SH7751_PCIBCR3);
p4_out(inl(SH7751_WCR1), SH7751_PCIWCR1);
p4_out(inl(SH7751_WCR2), SH7751_PCIWCR2);
p4_out(inl(SH7751_WCR3), SH7751_PCIWCR3);