From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com 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: [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: , X-List-Received-Date: Wed, 11 Oct 2017 10:12:33 -0000 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(-) 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 -- 2.7.4