From patchwork Tue Dec 11 18:35:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 153490 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp948959ljp; Tue, 11 Dec 2018 10:35:25 -0800 (PST) X-Google-Smtp-Source: AFSGD/WiWqhtV+8jeCoD8ftKbREM2wV9EG79fMuX09BZK6RuA9G0eH7UVDA7Ayy7UjDaVlprlntq X-Received: by 2002:a62:cd44:: with SMTP id o65mr17241232pfg.222.1544553325323; Tue, 11 Dec 2018 10:35:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544553325; cv=none; d=google.com; s=arc-20160816; b=tbxI95nYNO2TpNdXun6NjLPHeWXPV8cY2+b2alp6Ws/fCIInLebC8wQG2rVlz3qJnx sKwCW8GXzE4f5WG9zerp6Rczn2rvgkLFOfzuf6oBCOA4qitj3s4aGqoYf5C8QonxukvO D2Sricvquu5jKmz3sOxIJGvC1zb9Q+GS8qcJk2rA/YFgfobx0U+0hUcH/Q2LQ5LV/j0p A+kHTWM4BUpWv58oelpsOzUVI1h2nD9FdkhYQPLFnR4orl/3O0hMTMag3drO71usR26z 1sYLyJVwvD/woEdtNwmTz31Er3xvhACrxZzrb9pInlLsOfRoVT/vJO+KVEzVgmamVTsS 84+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :dkim-signature:delivered-to; bh=gf4xNbUw3FJGLCMvv/UmwvVLcQZYkSKuLP94HR6ozgc=; b=Pdv1ZUVl/DKGz0ST31M0Lr8PCee9KL2d+3ueKyGvA7mNe+9iMr9T9GKxPHxWr2s+iL W2CLyu5c9qyyY3lyETHAAFZ/ZvYMPkywOvzbdodAZDgB6f10cKuRk+J+7iDBSBmnznq4 Z7FSdh1or94qb2M6z7umt13dKkPdkI2E92HXFb6CZzjP8wpAnBwQpefBZgD90DH/9pCY nwpURdNJoHr0vwh30utT4DdcUBEwTYqO3ATBPN+Tw0HXSMOveESeQzxNG7UnQl/MO3o9 sqCMBVS/04S8Hwx/DSElKPvatqQ77UbwhR65uHsK1UX6GzgVw9YxfJT/AoJpC+hxpKe8 Z9ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QWimt8We; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id l6si11891419pgg.592.2018.12.11.10.35.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 10:35:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=QWimt8We; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id D1F522119A463; Tue, 11 Dec 2018 10:35:24 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 A512E21199256 for ; Tue, 11 Dec 2018 10:35:23 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id g67so3353595wmd.2 for ; Tue, 11 Dec 2018 10:35:23 -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=HQ/sAIt1LRJ3mtLEj0U4CrHp3v4Eod65Pv4ZwtQzCDs=; b=QWimt8WeGbreWS5f2vQX59avHFDMM0BrKqasPG61OpCVEW1GLgy04JEXMlfPS1FGMP PL8glYRI7gzfLwoJwYud995hqnTeuuRB/sixfHe/6xvQp/TwuzJ1+tEqlekqBS+SBAs0 FUVKDmLMPc5FeLGFmB6Jrn5eMzaxzKCLXSuCo= 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=HQ/sAIt1LRJ3mtLEj0U4CrHp3v4Eod65Pv4ZwtQzCDs=; b=ZidOJ1F66j6jHhtthP3OnmXVMouwIsD087sKg+7lxfnAaB1qBIUTlzPmWSrmfg1mxK 2T8UF5kgb88OdJDuBRYWKtQVFCD2Gw4ynnTZ97g35obmO8NHbWlynCuRTPr0DGNiRFBA 7LXw0DjxkAXz/uDOp0sWPUPxyFOtIBb24v/Is0Ffene18OiP6iB4b9dy+qHh6yRxxSYu J7f5AuoRSOzR9Bssd4P8RvTC4/cmYLsWbgzmHk8LLsWYWnIzudiH6Gjqh8ku5jQOCLeS FUTx77q84fxp3c55UMIeRMJLlD9HZwb5kNfqO1kxUKvunlkIf0A/l0JEycIoYm9mH/Tl JX7g== X-Gm-Message-State: AA+aEWbKFOokNFDfPB3D6UqHsWCjZymCxb3OHmfSEJvKG3OSBIqGwc/A 2QrNcjaMOC3xJC7fAXeGsKIbroC6S0Ri7Q== X-Received: by 2002:a7b:c191:: with SMTP id y17mr3477978wmi.10.1544553321604; Tue, 11 Dec 2018 10:35:21 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:8c3:6b9d:cbc9:58c6]) by smtp.gmail.com with ESMTPSA id h131sm1026688wmd.17.2018.12.11.10.35.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 10:35:20 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 11 Dec 2018 19:35:03 +0100 Message-Id: <20181211183514.20948-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [edk2] [PATCH edk2-platforms 00/11] final set of Styx cleanups 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: , Cc: alan@softiron.co.uk Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" I promise :-) This gets rid of the last build config options passed via the command line into the preprocessor, and replaces them with PCD references. Ard Biesheuvel (11): Silicon/AMD/Styx/Iort: drop conditionally included XGBE nodes Platform/SoftIron/Overdrive1000Board: remove dead XGBE references Silicon/AMD/Styx/AcpiPlatformDxe: replace XGBE CPP conditional with PCD Silicon/AMD/Styx/PlatInitPei: replace XGBE CPP conditional with PCD Silicon/AMD/Styx/StyxDtbLoaderLib: replace XGBE CPP conditional with PCD Platform/AMD/OverdriveBoard: drop DO_XGBE C preprocessor defines Silicon/AMD/Styx: introduce boolean PCD for KCS/IPMI support Silicon/AMD/Styx/AcpiPlatformDxe: move IPMI/KCS device into separate SSDT Silicon/AMD/Styx/StyxDtbLoaderLib: replace DO_KCS macro reference with PCD Platform/Styx: get rid of DO_KCS preprocessor macro Silicon/AMD/Styx/AcpiPlatformDxe: disable KCS on pre-B1 silicon Silicon/AMD/Styx/AmdStyx.dec | 1 + .../AMD/OverdriveBoard/OverdriveBoard.dsc | 15 +----- Platform/LeMaker/CelloBoard/CelloBoard.dsc | 8 --- .../Overdrive1000Board/Overdrive1000Board.dsc | 10 +--- .../AMD/OverdriveBoard/OverdriveBoard.fdf | 2 - .../Overdrive1000Board/Overdrive1000Board.fdf | 8 --- .../AcpiPlatformDxe/AcpiPlatformDxe.inf | 3 ++ .../Styx/Drivers/PlatInitPei/PlatInitPei.inf | 1 + .../StyxDtbLoaderLib/StyxDtbLoaderLib.inf | 2 + .../Drivers/AcpiPlatformDxe/AcpiPlatform.c | 19 +++---- .../Styx/Drivers/PlatInitPei/PlatInitPei.c | 41 ++++++++------- .../StyxDtbLoaderLib/StyxDtbLoaderLib.c | 50 ++++++++----------- .../AMD/Styx/Drivers/AcpiPlatformDxe/Dsdt.asl | 25 ---------- .../Styx/Drivers/AcpiPlatformDxe/Iort.aslc | 8 --- .../Styx/Drivers/AcpiPlatformDxe/SsdtKcs.asl | 47 +++++++++++++++++ 15 files changed, 108 insertions(+), 132 deletions(-) create mode 100644 Silicon/AMD/Styx/Drivers/AcpiPlatformDxe/SsdtKcs.asl -- 2.19.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm