]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/ppmc7xx/pci.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / ppmc7xx / pci.c
index 5b115ea617bf584188b426c559658a9d185d25d6..d81a41aadc5412ddfd0c4b7665196594be2d0de5 100644 (file)
@@ -2,23 +2,7 @@
  * (C) Copyright 2002 ELTEC Elektronik AG
  * Frank Gottschling <fgottschling@eltec.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+
  */
 
 /*
@@ -42,37 +26,37 @@ void pci_init_board(void)
     hose->last_busno = 0xff;
 
     pci_set_region(hose->regions + 0,
-       CFG_PCI_MEMORY_BUS,
-       CFG_PCI_MEMORY_PHYS,
-       CFG_PCI_MEMORY_SIZE,
-       PCI_REGION_MEM | PCI_REGION_MEMORY);
+       CONFIG_SYS_PCI_MEMORY_BUS,
+       CONFIG_SYS_PCI_MEMORY_PHYS,
+       CONFIG_SYS_PCI_MEMORY_SIZE,
+       PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
 
     /* PCI memory space */
     pci_set_region(hose->regions + 1,
-       CFG_PCI_MEM_BUS,
-       CFG_PCI_MEM_PHYS,
-       CFG_PCI_MEM_SIZE,
+       CONFIG_SYS_PCI_MEM_BUS,
+       CONFIG_SYS_PCI_MEM_PHYS,
+       CONFIG_SYS_PCI_MEM_SIZE,
        PCI_REGION_MEM);
 
     /* ISA/PCI memory space */
     pci_set_region(hose->regions + 2,
-       CFG_ISA_MEM_BUS,
-       CFG_ISA_MEM_PHYS,
-       CFG_ISA_MEM_SIZE,
+       CONFIG_SYS_ISA_MEM_BUS,
+       CONFIG_SYS_ISA_MEM_PHYS,
+       CONFIG_SYS_ISA_MEM_SIZE,
        PCI_REGION_MEM);
 
     /* PCI I/O space */
     pci_set_region(hose->regions + 3,
-       CFG_PCI_IO_BUS,
-       CFG_PCI_IO_PHYS,
-       CFG_PCI_IO_SIZE,
+       CONFIG_SYS_PCI_IO_BUS,
+       CONFIG_SYS_PCI_IO_PHYS,
+       CONFIG_SYS_PCI_IO_SIZE,
        PCI_REGION_IO);
 
     /* ISA/PCI I/O space */
     pci_set_region(hose->regions + 4,
-       CFG_ISA_IO_BUS,
-       CFG_ISA_IO_PHYS,
-       CFG_ISA_IO_SIZE,
+       CONFIG_SYS_ISA_IO_BUS,
+       CONFIG_SYS_ISA_IO_PHYS,
+       CONFIG_SYS_ISA_IO_SIZE,
        PCI_REGION_IO);
 
     hose->region_count = 5;