From patchwork Mon Oct 9 17:00:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115266 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2765752qgn; Mon, 9 Oct 2017 09:54:12 -0700 (PDT) X-Received: by 10.98.64.14 with SMTP id n14mr10561135pfa.342.1507568051925; Mon, 09 Oct 2017 09:54:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507568051; cv=none; d=google.com; s=arc-20160816; b=zUHVX22URqUb+8LpdikMQtBspXFX4VNUB1OwawHRtPxbcJDLSLJUkwbo3XHl0JC1rt xlMAIGTtdtNTduWUaf/mr6mScZW7zf81MuHBf8Zy2XThWMI76+dk26jF9TAyCtDa4ALq 9YTRo6EM0rTfV4m4nyZACDt98WDQS+dwHa3QeS7ExM1Z7TiJY9rXAXUqJyTPA5aFBFo0 ljbW8FSzUhA2M66oRJFDVGgkhII/9RECpoAmT+fmQynZNCSbZM6dq20dznH/wTd3I5VE AHElD9N/wufapDLEJB7tM9mEVa40rlR9g6MMHEuulEFVE8mcZ6jsH1+YarwrkTeJws7c kUhw== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Lff8kVsqr/RZojIdKbtxMnOXJwsdC4pjCdjixM/MXaM=; b=j2//WbnOxWhTUcqzlBw0aZUntVja9YZEi1HvDqLUoDJnd7plea1QNsfrbWEOEHDYyj XMA9VixyfyMDALieN+IFb+o5n37J8wjLVAgeMc3M1FJBQak5IHnt1e8Jw4tk9sVJbPts +VGBIcnSZueiuxv84GESPW7iuikR/nj4lx4xf2Tjt2E/G7HcXhO7Ko9CKqhu5u0w/OyR ZjW+t8Yu2HANVlk7m4Dh3R/NR7bxvdIg9wCirO7PgthCLSN/fPDt2TiCQadgrEnT6yB5 LsavegZ47xHFBWeQBMDNDjCi5TOsYKaPhvA3OXMmLEYNPEHNJ6QRLD3YRSK5kThxkChM HtSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=csHJ4ela; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id f4si7156230pfe.570.2017.10.09.09.54.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 09:54:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@semihalf-com.20150623.gappssmtp.com header.s=20150623 header.b=csHJ4ela; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id A305421EA15CD; Mon, 9 Oct 2017 09:50:42 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::234; helo=mail-lf0-x234.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 AA64F21EA15BA for ; Mon, 9 Oct 2017 09:50:40 -0700 (PDT) Received: by mail-lf0-x234.google.com with SMTP id d10so25714495lfg.11 for ; Mon, 09 Oct 2017 09:54:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZdAtkaiyGucONKiY51w06jVCLe0xXbqUDwOasWQ8S2s=; b=csHJ4ela6GVDqlwhoF4IUkHY7Fj85O+snYiPvCN2eHEiC9fAsK2pFWPmJExHkG7Brc rXhJJ5hw3qwFsXfWqYdfYRxkWo613fRN/15eeV0CJAKBHyXu7F+PE9rw9OD8JjEvBh67 m0MeVxetcqaabJ+mu6w7SgawCdgbc1u3NaJzdZs/LCAD48/C6Xo85vnmmwQrYmTl5yGS eO1zT7d8ddc9TcRzRyVA2uVbik1Bal8l5xi+OqtKfkGTKVPd1Lti5rAjThe/wKOpCYqF XpZ2pYwqFu1QrNvl5aoBxFM3NOrRkjfWLPdKIaPSdaPBnX2l+2aPuRKM2uu1oZBvPp+g /HPQ== 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:in-reply-to :references; bh=ZdAtkaiyGucONKiY51w06jVCLe0xXbqUDwOasWQ8S2s=; b=EngAmZIKBrUy9DYJTwryKCEvDWN09SRC6R8UeiAWFllOY7YEgRQ6Pd6WoxNNdFb481 BNdJpw0VjpZf93sjdCakzvJydmF+MTDQl+5hra9tgiEiovZbY5J8LphW1g+Pg6G7E5+S aMgnGQ2ilbRVsiRxMUutvA+YqXbPsiT8vrCfxX1e59qsMquOxpvm8cFk95hp34N2ymh+ Hs5m2trlLZYPNwjyJulbFfU2MMDDzxcs/+HeyxqnsN406/nyz3wmolESyiLn3oWjwMcQ H/Tt6Jo5pCWR/bc98XyCg0HsXw+jX2RCEz4GjDYgzRuJDFojGRDtgIwjoxIYljhdaFs1 hEBg== X-Gm-Message-State: AMCzsaXe5hK8FNndqkq/TbMhLfo20zJCxQuQCnMxcSrlHHX3UHMUk1AQ O7m9GT4jlYNUvh2qPd41ViIfWpFRgdA= X-Google-Smtp-Source: AOwi7QAotEZ9iEAOsWEtnp86xjOW2cSnKXL15BlW/InAfhjfAmGI7+pe5ounEmY4weLOlKLd9uNBLw== X-Received: by 10.46.21.84 with SMTP id 20mr4604578ljv.168.1507568046034; Mon, 09 Oct 2017 09:54:06 -0700 (PDT) Received: from enkidu.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id z204sm1421490lff.33.2017.10.09.09.54.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 09:54:05 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Mon, 9 Oct 2017 19:00:51 +0200 Message-Id: <1507568462-28775-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1507568462-28775-1-git-send-email-mw@semihalf.com> References: <1507568462-28775-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 02/13] Marvell/Armada: Switch to dynamic PCDs 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: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" From: Ard Biesheuvel For full functionality, including HII forms wired to non-volatile UEFI variables, we need dynamic PCDs as well. So let's enable those. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas --- Platform/Marvell/Armada/Armada.dsc.inc | 10 +++++++--- Platform/Marvell/Armada/Armada70x0.fdf | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) -- 1.8.3.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/Platform/Marvell/Armada/Armada.dsc.inc b/Platform/Marvell/Armada/Armada.dsc.inc index 417bb0c..433892e 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -67,8 +67,7 @@ UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf - # Assume everything is fixed at build. do not use runtime PCD feature - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf @@ -150,6 +149,7 @@ PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf PlatformPeiLib|ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf ArmGicArchLib|ArmPkg/Library/ArmGicArchSecLib/ArmGicArchSecLib.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [LibraryClasses.common.SEC, LibraryClasses.common.PEIM] MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf @@ -368,10 +368,14 @@ # DXE MdeModulePkg/Core/Dxe/DxeMain.inf { - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf } + MdeModulePkg/Universal/PCD/Dxe/Pcd.inf { + + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + } + # Architectural Protocols DXE ArmPkg/Drivers/CpuDxe/CpuDxe.inf ArmPkg/Drivers/ArmGic/ArmGicDxe.inf diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index 763d76a..b3d1c60 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -95,6 +95,7 @@ FvNameGuid = 5eda4200-2c5f-43cb-9da3-0baf74b1b30c INF Platform/Marvell/Armada/Drivers/PlatInitDxe/PlatInitDxe.inf # PI DXE Drivers producing Architectural Protocols (EFI Services) + INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf