Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/u-boot.git] / arch / x86 / include / asm / arch-baytrail / acpi / southcluster.asl
index 34d39514246699bdbbe8bdc5f65055890cf89ee4..3b220c7ac284fc764b01fd6f430ac7fcf356b6b0 100644 (file)
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2013 Google Inc.
  * Copyright (C) 2016 Bin Meng <bmeng.cn@gmail.com>
  *
  * Modified from coreboot src/soc/intel/baytrail/acpi/southcluster.asl
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 Device (PCI0)
@@ -12,7 +11,7 @@ Device (PCI0)
        Name(_HID, EISAID("PNP0A08"))   /* PCIe */
        Name(_CID, EISAID("PNP0A03"))   /* PCI */
 
-       Name(_ADR, 0)
+       Name(_UID, 0)
        Name(_BBN, 0)
 
        Name(MCRS, ResourceTemplate()
@@ -151,9 +150,9 @@ Device (PCI0)
                CreateQwordField(MCRS, ^UMEM._MAX, UMAX)
                CreateQwordField(MCRS, ^UMEM._LEN, ULEN)
 
-               /* Set base address to 48GB and allocate 16GB for PCI space */
-               Store(0xc00000000, UMIN)
-               Store(0x400000000, ULEN)
+               /* Set base address to 16GB and allocate 48GB for PCI space */
+               Store(0x400000000, UMIN)
+               Store(0xc00000000, ULEN)
                Add(UMIN, Subtract(ULEN, 1), UMAX)
 
                Return (MCRS)
@@ -207,5 +206,5 @@ Device (PCI0)
        #include "xhci.asl"
 
        /* IRQ routing for each PCI device */
-       #include "irqroute.asl"
+       #include <asm/acpi/irqroute.asl>
 }