From nobody Thu May 2 15:11:46 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1524845154127739.5059830733304; Fri, 27 Apr 2018 09:05:54 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B549B2041B291; Fri, 27 Apr 2018 09:05:52 -0700 (PDT) Received: from cam-smtp0.cambridge.arm.com (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E0C6D203B900B for ; Fri, 27 Apr 2018 09:05:50 -0700 (PDT) Received: from E107187.Emea.Arm.com (e107187.emea.arm.com [10.1.211.22]) by cam-smtp0.cambridge.arm.com (8.13.8/8.13.8) with ESMTP id w3RG5laV028629; Fri, 27 Apr 2018 17:05:48 +0100 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.96.140; helo=cam-smtp0.cambridge.arm.com; envelope-from=sami.mujawar@arm.com; receiver=edk2-devel@lists.01.org From: Sami Mujawar To: edk2-devel@lists.01.org Date: Fri, 27 Apr 2018 17:05:41 +0100 Message-Id: <20180427160541.24060-1-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 Subject: [edk2] [PATCH edk2-platforms][platforms/devel-dynamictables] Platform/ARM: Update Dsdt for FVP X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nd@arm.com, Arvind Chauhan , ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, Stephanie.Hughes-Fitt@arm.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Update Dsdt.asl file to match the implementation in upstream edk2-platforms master for the FVP platform. Also updated the DefinitionBlock to limit the length of the TableId to 8 chars. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Sami Mujawar Reviewed-by: Evan Lloyd --- The changes can be seen at https://github.com/samimujawar/edk2-platforms/tree/260_update_dsdt_fvp_v1 Notes: v1: - Update Dsdt.asl for FVP platform to match the upstream implementation in the edk2-platforms master branch [SAMI] Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTablesLib/Dsdt.as= l | 38 ++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTable= sLib/Dsdt.asl b/Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTa= blesLib/Dsdt.asl index 15ce7c020045d42f08cf92ad76644b07f0a1e25e..fbd90e161e257a50a80dd36f405= b8664b3bd75c9 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTablesLib/Ds= dt.asl +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/PlatformASLTablesLib/Ds= dt.asl @@ -1,7 +1,7 @@ /** @file Differentiated System Description Table Fields (DSDT) =20 - Copyright (c) 2014-2017, ARM Ltd. All rights reserved.
+ Copyright (c) 2014-2018, ARM Ltd. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License which accompanies this distribution. The full text of the license may b= e found at @@ -12,7 +12,7 @@ =20 **/ =20 -DefinitionBlock("DsdtTable.aml", "DSDT", 1, "ARMLTD", "ARM-VEXPRESS", 1) { +DefinitionBlock("DsdtTable.aml", "DSDT", 1, "ARMLTD", "ARMVEXP", 1) { Scope(_SB) { // // Processor @@ -49,6 +49,40 @@ DefinitionBlock("DsdtTable.aml", "DSDT", 1, "ARMLTD", "A= RM-VEXPRESS", 1) { Name(_HID, "ACPI0007") Name(_UID, 7) } + // SMC91X + Device (NET0) { + Name (_HID, "LNRO0003") + Name (_UID, 0) + + Name (_CRS, ResourceTemplate () { + Memory32Fixed (ReadWrite, 0x1a000000, 0x00010000) + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive, , , ) {= 0x2F} + }) + } + + // SYSREG + Device (SREG) { + Name (_HID, "LNRO0009") + Name (_UID, 0) + + Method (_CRS, 0x0, Serialized) { + Name (RBUF, ResourceTemplate() { + Memory32Fixed (ReadWrite, 0x1c010000, 0x1000) + }) + Return (RBUF) + } + } + + // VIRTIO + Device (VIRT) { + Name (_HID, "LNRO0005") + Name (_UID, 0) + + Name (_CRS, ResourceTemplate() { + Memory32Fixed (ReadWrite, 0x1c130000, 0x1000) + Interrupt (ResourceConsumer, Level, ActiveHigh, Exclusive) {0x4A} + }) + } =20 // UART PL011 Device(COM2) { --=20 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel