From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::341; helo=mail-wm1-x341.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C4831211963F9 for ; Thu, 6 Dec 2018 04:12:11 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id r11-v6so751115wmb.2 for ; Thu, 06 Dec 2018 04:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M5hq6RxNvOE82f00vtFSy1K6jVp/v4yx5eVPXt/2y+U=; b=NHnn+AJx6LgvUdwSpu/El5n9UDpKWAWs0m6qct7Q1Et4k4qqNIljP/yMigVPaL9T4S 2yh0DpI/aCQZ2UaGWy0S2W9200W3pwHXTWMoGhpkFfTBUXK4elsitdSIIk9Iv8XSDZF+ t46j9idwVBCS3PQkJw4NXwZq8a770nwAIvjkc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=M5hq6RxNvOE82f00vtFSy1K6jVp/v4yx5eVPXt/2y+U=; b=ivAtQeN8G5v7TJLouJloasaTuSeGa2408h4nhwCtjdypsv6o/DI/q6+PHJ6jQ4sTIK Ci50KZXdrIpVY5xt22cL7m1hxHMyAU13bFo8lwhisltxmIXxffqWz1V6Et6lxPg/x8sY 6j0ssdgeMRRl7qpl+dI6SFqR+c8HtjsvM1EKNHotU940dCi9/a7uAuOquRY7ZivxQ22l GtVK84BEABO/n0F7jTX6YfWlp4y6gX+IrUuquKbTl7hin9nnNRMzazdT9YNxjWvoDiab D+zGBxqWPV3uFDHN8pgxVsM2WlEwWG99o3zsDwngbstxl43qwno5GK8lWcXhjDt7WuK3 uhwg== X-Gm-Message-State: AA+aEWajpo5t7A7+3I8aj68DBPdtNG7pCR368k6wFGNGuD/mkh7YLzqe x3MmL96QntKtK0IzFlq/7DQAmL4vtO5ETA== X-Google-Smtp-Source: AFSGD/XaD81Xxj20hPz8SFN40eJGdWM2jHvFO5Sdjhw8y6Dmq/89CoqqQ1xRTTTyrnH3S5/PIamuzQ== X-Received: by 2002:a1c:4046:: with SMTP id n67mr18508785wma.123.1544098329736; Thu, 06 Dec 2018 04:12:09 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:992c:f260:a375:8d9e]) by smtp.gmail.com with ESMTPSA id d5sm405558wrx.22.2018.12.06.04.12.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Dec 2018 04:12:08 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, alan@softiron.co.uk, graeme.gregory@linaro.org, Ard Biesheuvel Date: Thu, 6 Dec 2018 13:12:02 +0100 Message-Id: <20181206121204.4057-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [PATCH edk2-platforms 0/2] Silicon/Styx: merge and simplify ACPI platform driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Dec 2018 12:12:12 -0000 Content-Transfer-Encoding: 8bit After fixing the iasl issue yesterday, I got a bit carried away and ended up rewriting most of the ACPI table generation logic for Styx. So this applies on top of the patches I sent out yesterday. Patch #1 merges the DXE driver and the library, that are split in two for no good reason. Patch #2 simplifies the MADT generation code. Ard Biesheuvel (2): Silicon/AMD/Styx: merge ACPI table drivers Silicon/Styx/AcpiPlatformDxe: simplify MADT generation logic .../AMD/OverdriveBoard/OverdriveBoard.dsc | 1 - Platform/LeMaker/CelloBoard/CelloBoard.dsc | 1 - .../Overdrive1000Board/Overdrive1000Board.dsc | 1 - .../AMD/OverdriveBoard/OverdriveBoard.fdf | 1 + Platform/LeMaker/CelloBoard/CelloBoard.fdf | 1 + .../Overdrive1000Board/Overdrive1000Board.fdf | 1 + Silicon/AMD/Styx/AcpiTables/AcpiTables.inf | 85 ----- .../AcpiPlatformDxe/AcpiPlatformDxe.inf | 34 +- .../AcpiPlatformDxe/AcpiPlatform.h} | 11 +- Silicon/AMD/Styx/AcpiTables/Madt.c | 318 ------------------ .../Drivers/AcpiPlatformDxe/AcpiPlatform.c | 155 +++++---- .../AcpiPlatformDxe/Csrt.aslc} | 13 +- .../AcpiPlatformDxe/Dbg2.aslc} | 12 +- .../AcpiPlatformDxe/Fadt.aslc} | 11 +- .../AcpiPlatformDxe/Gtdt.aslc} | 20 +- .../AcpiPlatformDxe/Iort.aslc} | 19 +- .../Styx/Drivers/AcpiPlatformDxe/Madt.aslc | 117 +++++++ .../AcpiPlatformDxe/Mcfg.aslc} | 13 +- .../AcpiPlatformDxe/Pptt.aslc} | 10 +- .../AcpiPlatformDxe/Spcr.aslc} | 12 +- 20 files changed, 264 insertions(+), 572 deletions(-) delete mode 100644 Silicon/AMD/Styx/AcpiTables/AcpiTables.inf rename Silicon/AMD/Styx/{Common/AmdStyxAcpiLib.h => Drivers/AcpiPlatformDxe/AcpiPlatform.h} (81%) delete mode 100644 Silicon/AMD/Styx/AcpiTables/Madt.c rename Silicon/AMD/Styx/{AcpiTables/Csrt.c => Drivers/AcpiPlatformDxe/Csrt.aslc} (93%) rename Silicon/AMD/Styx/{AcpiTables/Dbg2.c => Drivers/AcpiPlatformDxe/Dbg2.aslc} (95%) rename Silicon/AMD/Styx/{AcpiTables/Fadt.c => Drivers/AcpiPlatformDxe/Fadt.aslc} (96%) rename Silicon/AMD/Styx/{AcpiTables/Gtdt.c => Drivers/AcpiPlatformDxe/Gtdt.aslc} (92%) rename Silicon/AMD/Styx/{AcpiTables/Iort.c => Drivers/AcpiPlatformDxe/Iort.aslc} (95%) create mode 100644 Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/Madt.aslc rename Silicon/AMD/Styx/{AcpiTables/Mcfg.c => Drivers/AcpiPlatformDxe/Mcfg.aslc} (86%) rename Silicon/AMD/Styx/{AcpiTables/Pptt.c => Drivers/AcpiPlatformDxe/Pptt.aslc} (97%) rename Silicon/AMD/Styx/{AcpiTables/Spcr.c => Drivers/AcpiPlatformDxe/Spcr.aslc} (90%) -- 2.19.2