From patchwork Wed Oct 11 10:15:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115535 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp574341qgn; Wed, 11 Oct 2017 03:16:05 -0700 (PDT) X-Received: by 10.98.158.202 with SMTP id f71mr398779pfk.175.1507716965535; Wed, 11 Oct 2017 03:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507716965; cv=none; d=google.com; s=arc-20160816; b=sy/Hj5vMgIIk38mTTlIxTz68nH1GB8Jtf171jOMHujK+rjzYNNzr1t6p9SbjG+s35K MAOBEue245eBmB/MSdCCrwZoxuJciG3gAGh1EwjH6AcZTI2olahkPXAatm2wKdpd9TMm k3oGRvWuT4sxkgHuVDsZGKvSG4zyWGnT1tYMFmR4jsyKvYPfZTIzgBmG6wlROJacnh9Z C/0xqz9ml0ySmyYirzp2Q28GYiBHJW2XS6RoGcLCTyZP3wtFMguGaT2KH2x214yjYUEw wa7fhF+W8gtVJWEXBs3kF7/nV3A62HL40CdH2gtI+sVfZbIQTKe6JQ1a1gSor9IYPRO1 iH4g== 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=RsL87CTB6sovNHhNbfKU1g+bwY9e64Z09MLF/JcBHiI=; b=JhF61w8vMJG5q1mn/7xdVriBNOWZ5hdghOQo5FkL3SlNlkFlj+PnzbhwmH9xXJ69QF ETf0xpZvRFgCBcopTq+lm7zkjuLs2ws/isl/xydvdFhdqL8Thx/MEYWQQ/gO0fSSbAnT +UR5AHbk7JAnjnLkLJ3lWVKRdtpO6H/BB0GLCeU2jbpagydV7Jcxr4KQcEfDbO12WFnS vsSx2V4PbjJQZMpSqUMQl1tAdceSb8mgA23yQNvGHgW7Ak4Gh9zjtcvbLRFEBkNanpo0 P549Gh+gb8nrDTgaCNfsZyZIgS0/4eVMxcfHXLGy8fhu+Kt6SeJ34LZxXmXbeMonN6OF BVgg== 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=XcRnYAD6; 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 f17si6225397pgn.596.2017.10.11.03.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 03:16:05 -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=XcRnYAD6; 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 242C721F3C190; Wed, 11 Oct 2017 03:12:34 -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::22c; helo=mail-lf0-x22c.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::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 17FDC21F3C18B for ; Wed, 11 Oct 2017 03:12:32 -0700 (PDT) Received: by mail-lf0-x22c.google.com with SMTP id g70so1494982lfl.3 for ; Wed, 11 Oct 2017 03:16:02 -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=dDbcHj9oSEcsWj6JvTpjYMEqhFOEBf+iGfpOKk8RSzo=; b=XcRnYAD6nHExswqVvSsiCYT526DV7B5czpCOO3T1ZUPHS1gcF9lqle3qrGNdgcqnUo fqlVzM/hHuzeYvmfJHKLPjt4OFBDylUM+QAgvYC/4puv1Yu34XMbsGVAHwvH3cvMlhYS qwdk0i9Pe6p2pVlUtIONP0QIFyozQwGgaz/ZnHs/VtMySgHCle7hZerwx9RD8jRF5Jyc 5bUZRVDjsdR0NhjdkGUiC6WW1+gr/k6xG5Mlah6gayTAPmoPgegLqG63boOzDGoEKL0n n/M2aifkBzSE4aZVBvwf2kR4CvpR5/SoyhWPJbte8bWLvi9OM/cyzsCIWZ4mMiqKWhdr bVPw== 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=dDbcHj9oSEcsWj6JvTpjYMEqhFOEBf+iGfpOKk8RSzo=; b=SnY7uolArvrY3mAHpfhMwGpuB0lABbL8gNIlB2X5He3cmBqMe+zcKIr0tftvsuyBjM tkuQOg8hPrK8mS6J23UoZaAi3sM6Vdwzg1LB/LsC0CZHybLSJVMBKmoaLXZmMpblyYOS RQmCDcTvL1pPk7beEHZyevHxRQefVxp+MBUCnbN5RTG35xa0IXhrb5o+iSCynEmclIVw 9ML1hBNp/4BG1ryJTk6psfwQU41up53V/LrnMSjaB8naaGTjc+9P1YeoClSTNc1f+muK o5goFa46CiWrUS4s0y3s+oJJmyY3XlznX3lC4CTPbXjsDWxTYUF9ShedFAOBnKcTYhrx uTlQ== X-Gm-Message-State: AMCzsaW5G72qzj+0GnedgSMCGrvW+Uf5sHPc/wIkcOjinS9rA04P6Q4m VBJUwGde6n/7/qIq4BvTRs4Q5++11v8= X-Google-Smtp-Source: AOwi7QA1hnXD9jEnjUnGBu+FNnCqxCIYoDJH41LkTwxvjtD7n3BRhPSL0WYZMGhtYAViyQcP8GQUPA== X-Received: by 10.25.228.1 with SMTP id b1mr5995978lfh.23.1507716960239; Wed, 11 Oct 2017 03:16:00 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.15.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:15:59 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:29 +0200 Message-Id: <1507716939-31798-3-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 02/12] 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 Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Armada.dsc.inc | 10 +++++++--- Platform/Marvell/Armada/Armada70x0.fdf | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel 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