[edk2-devel] [edk2-platforms][PATCH V3 1/2] Platform/Sgi: Remove redundant platform description from DSDT

Rohit Mathew rohit.mathew at arm.com
Wed Jun 22 11:56:31 UTC 2022


Remove redundant platform descriptions (descriptions which are already
part of SSDT) from DSDT for SGI-575 platform.

Signed-off-by: Rohit Mathew <rohit.mathew at arm.com>
---
 Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl | 66 +-------------------
 1 file changed, 1 insertion(+), 65 deletions(-)

diff --git a/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl b/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl
index a292d20d8afb..80075ee1238b 100644
--- a/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl
+++ b/Platform/ARM/SgiPkg/AcpiTables/Sgi575/Dsdt.asl
@@ -1,7 +1,7 @@
 /** @file
 *  Differentiated System Description Table Fields (DSDT)
 *
-*  Copyright (c) 2018 - 2021, ARM Ltd. All rights reserved.
+*  Copyright (c) 2018 - 2022, Arm Limited. All rights reserved.
 *
 *  SPDX-License-Identifier: BSD-2-Clause-Patent
 *
@@ -210,69 +210,5 @@ DefinitionBlock("DsdtTable.aml", "DSDT", 2, "ARMLTD", "ARMSGI", EFI_ACPI_ARM_OEM
       }
     }
 
-    // UART PL011
-    Device(COM0) {
-      Name(_HID, "ARMH0011")
-      Name(_CID, "ARMH0011")
-      Name(_UID, Zero)
-      Name(_STA, 0xF)
-      Name(_CRS, ResourceTemplate() {
-        Memory32Fixed(ReadWrite, 0x7FF80000, 0x1000)
-        Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 147 }
-      })
-    }
-
-    // SMSC 91C111
-    Device(ETH0) {
-      Name(_HID, "LNRO0003")
-      Name(_UID, Zero)
-      Name(_STA, 0xF)
-      Name(_CRS, ResourceTemplate() {
-            Memory32Fixed(ReadWrite, 0x18000000, 0x1000)
-            Interrupt(ResourceConsumer, Level, ActiveHigh, Exclusive) { 111 }
-      })
-      Name(_DSD, Package() {
-                 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
-                     Package() {
-                     Package(2) {"reg-io-width", 4 },
-                    }
-      })
-    }
   } // Scope(_SB)
-
-  // VIRTIO DISK
-  Device (VR00) {
-    Name (_HID, "LNRO0005")
-    Name (_UID, 0)
-    Name (_CCA, 1)    // mark the device coherent
-
-    Name (_CRS, ResourceTemplate() {
-      Memory32Fixed (
-        ReadWrite,
-        FixedPcdGet32 (PcdVirtioBlkBaseAddress),
-        FixedPcdGet32 (PcdVirtioBlkSize)
-      )
-      Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {
-        FixedPcdGet32 (PcdVirtioBlkInterrupt)
-      }
-    })
-  }
-
-  // VIRTIO NET
-  Device (VR01) {
-    Name (_HID, "LNRO0005")
-    Name (_UID, 1)
-    Name (_CCA, 1)    // mark the device coherent
-
-    Name (_CRS, ResourceTemplate() {
-      Memory32Fixed (
-        ReadWrite,
-        FixedPcdGet32 (PcdVirtioNetBaseAddress),
-        FixedPcdGet32 (PcdVirtioNetSize)
-      )
-      Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {
-        FixedPcdGet32 (PcdVirtioNetInterrupt)
-      }
-    })
-  }
 }
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#90677): https://edk2.groups.io/g/devel/message/90677
Mute This Topic: https://groups.io/mt/91920026/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list