]> git.sur5r.net Git - u-boot/blobdiff - board/esd/cpci750/pci.c
am335x_evm: Convert CONFIG_CONS_INDEX into a menu choice
[u-boot] / board / esd / cpci750 / pci.c
index 840385c7a23336f38e8967042cfd48e9f424dfe2..59f170a0df7108e79945bec78db2cf0072c5a8d7 100644 (file)
@@ -2,24 +2,7 @@
  * (C) Copyright 2000
  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  *
- * 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+
  */
 /* PCI.c - PCI functions */
 
@@ -763,7 +746,7 @@ static int gt_read_config_dword (struct pci_controller *hose,
        int bus = PCI_BUS (dev);
 
        if ((bus == local_buses[0]) || (bus == local_buses[1])) {
-               *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr,
+               *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr,
                                           offset | (PCI_FUNC(dev) << 8),
                                           PCI_DEV (dev));
        } else {