From patchwork Wed Sep 20 17:27:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 113158 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp925824edb; Wed, 20 Sep 2017 10:28:02 -0700 (PDT) X-Received: by 10.84.133.111 with SMTP id 102mr603611plf.204.1505928481890; Wed, 20 Sep 2017 10:28:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505928481; cv=none; d=google.com; s=arc-20160816; b=pWt41PDD7xe9abQHx5jNkszD/65xptxsC3fFJyi8pO0u680TPm8n78mBCQwjfvD/Wz kbCdICfqzRz0dTRtOUkjw6vnzZvrDipwfLzwAsdSmipFbv2x9wi9fuIzLZkeoIxtPmg7 ypjKmpd7AouMty4BlY1rGMQs7wkaP85q7UkDJBOj0sRHvIX/lJ7QLzJ+1iHNY5Qe1zR2 2wTEHbQp40tLTMcmZnpsoYhwKHNl1xe7W9o0yi2jDjT7CGWHuV7FMGM+0Xxk2X6QFW93 izBbM/u9DGJNnf3fnKz8j9LFnmDXh9kTueqzFF9aUm5X8aemE6cT/28RYsQt4pqFgzPo CiWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=W2dYm4axJ7u80oKlVL3CZ+a3LsWNYnS9cswg1Aaf66s=; b=ZBJTAobgr5p+LolJa/sAMQiFi2Mlmk6tB84x4s23CVjZamShVR57/Qphr2aWVm7ZqL 5GhQrl0vZdFJv7N+ANA7kcgGud9aXTQ89JNsZJA57hSvuIPMvcTr6LeE8utobK8yX+HH TAV42zifpRAr9y1RoL+0T01lDORcHm2n7zW31MMCmyeW75hUMdvlkFXxubfjqWMZv8FA dPDkkelXPigTF4EY37IgmL4KSShkny87SkRjZUfEb21+ZSjBy2OMkF1QycyQiMjDixD7 8E+X4AAibMl53jtXmPexaSC0zhMQRAYBobSjSndZ5tCJ+mY1Y1gTDMwlSaI+MP9jre+K PIWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TNL8GxpL; 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 60si1651258plc.579.2017.09.20.10.28.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 10:28:01 -0700 (PDT) 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=TNL8GxpL; 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 E1D3320945B97; Wed, 20 Sep 2017 10:24:54 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (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 432C421ECCB23 for ; Wed, 20 Sep 2017 10:24:53 -0700 (PDT) Received: by mail-wr0-x22c.google.com with SMTP id u96so2748262wrb.6 for ; Wed, 20 Sep 2017 10:27:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=k9yS2CWp7m8wBWQtn2LTlv9Qcr3P9fN8ecHF3f9Urlk=; b=TNL8GxpLVlTbl81pFh31xIXHcgcr05/k/pvHKOWkyzE8lw5KV2TANnweOeICrG0Yi5 4O//mnB2PAFYKMPmRFZ3ghbzgAK3MIAqhVcIeq14p9iHg6Vc1gWejhDBfWti0sSu3Vpb nX9JX+vO+0F7iT8of2JD6PhnPB/+fBa67VF+k= 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; bh=k9yS2CWp7m8wBWQtn2LTlv9Qcr3P9fN8ecHF3f9Urlk=; b=aH5VGBc7NEhNM402Pz6zFy4eztgc9FlwWkIQoa9BQNl4BH9JPEa/iAhaMoUGcQ7Ioo /j5qqo713urFuwgpPsQxchW8ZZGXvT0UhHWQEgubQ6KuQom4XgaaQjowCP9zn+6U2GS3 NHbRQOTenS/4MbqY3jSMJpe9HxBEdHWS57Na2OgFhApUs0sy/9Wlzc4GZfkJPNd77Kaq AWsUuN5C/N8gHnUZeiMTXlxKBV2EYaKNSmQSAQs29h6erIv8sYuCLIEhPnvOqo/PJpo+ 6Abw/4nJbpCIIN0YMelemQEr7/T9jeYRb1F2wiOOJpoG0tmVmGxGwXhVUpISEkvnlVxs AEuA== X-Gm-Message-State: AHPjjUgLhqvhHBZzX5Z4QgGV16tT8gwL8bDDtG+nB23Zm/JRNOVCJxQz b71KF5lLwexx4hE84nlHLRl0V8SpapU= X-Google-Smtp-Source: AOwi7QATjX7dHOwP2PIM+ayaUHmQ9dF8D/9rw21PcErCIh3Ua/pR5UCxQalKT5Hru5eCJmQuoMWM7g== X-Received: by 10.223.146.129 with SMTP id 1mr5536287wrn.1.1505928477409; Wed, 20 Sep 2017 10:27:57 -0700 (PDT) Received: from vanye.hemma.eciton.net (cpc92316-cmbg19-2-0-cust118.5-4.cable.virginm.net. [82.12.0.119]) by smtp.gmail.com with ESMTPSA id j65sm1920429wmj.3.2017.09.20.10.27.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 10:27:56 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Wed, 20 Sep 2017 18:27:49 +0100 Message-Id: <20170920172755.22767-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [RFC 0/6] Create central repository for boilerplate configuration X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael D Kinney , Jordan Justen , Laszlo Ersek , Andrew Fish , Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" An awful lot of platform configuration is just repeated verbatim for every platform. This is my first stab at eliminating some of this redundancy. I have additional bits as work in progress, but before I sink too much time into it, I would like to try to gather feedback on this approach (all the way down to directory structure). This first round deals with basic network support and Secure Boot requirements. Leif Lindholm (6): ConfigPkg: add new package for holding common config fragments ArmVirtPkg: use ConfigPkg for common network items OvmfPkg: use ConfigPkg for common network items ConfigPkg: add common Security settings ArmVirtPkg: use ConfigPkg for common security items OvmfPkg: use ConfigPkg for common security items ArmVirtPkg/ArmVirt.dsc.inc | 25 ++-------- ArmVirtPkg/ArmVirtQemu.dsc | 46 +++--------------- ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 24 ++-------- ArmVirtPkg/ArmVirtQemuKernel.dsc | 46 +++--------------- ConfigPkg/Network/Network.dsc.inc | 92 ++++++++++++++++++++++++++++++++++++ ConfigPkg/Network/Network.fdf.inc | 47 ++++++++++++++++++ ConfigPkg/Security/Security.dsc.inc | 67 ++++++++++++++++++++++++++ ConfigPkg/Security/Security.fdf.inc | 17 +++++++ OvmfPkg/OvmfPkgIa32.dsc | 92 ++++-------------------------------- OvmfPkg/OvmfPkgIa32.fdf | 37 +-------------- OvmfPkg/OvmfPkgIa32X64.dsc | 90 ++++------------------------------- OvmfPkg/OvmfPkgIa32X64.fdf | 37 +-------------- OvmfPkg/OvmfPkgX64.dsc | 92 ++++-------------------------------- OvmfPkg/OvmfPkgX64.fdf | 37 +-------------- 14 files changed, 276 insertions(+), 473 deletions(-) create mode 100644 ConfigPkg/Network/Network.dsc.inc create mode 100644 ConfigPkg/Network/Network.fdf.inc create mode 100644 ConfigPkg/Security/Security.dsc.inc create mode 100644 ConfigPkg/Security/Security.fdf.inc -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel