]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/pci/pci_sh7751.c
MAINTAINERS, git-mailrc: Update my email address
[karo-tx-uboot.git] / drivers / pci / pci_sh7751.c
index e3a0ea0047b67e2ffc199fc64f6e4206e00ca217..f189ed89c5c0481cede1b6dcb590f679d1d7de7d 100644 (file)
@@ -3,23 +3,7 @@
  * (C) Dustin McIntire (dustin@sensoria.com)
  * (C) 2007,2008 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -187,8 +171,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);