From patchwork Wed Oct 11 15:40:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 115573 Delivered-To: patch@linaro.org Received: by 10.80.163.170 with SMTP id s39csp758123edb; Wed, 11 Oct 2017 08:41:47 -0700 (PDT) X-Received: by 10.99.124.91 with SMTP id l27mr32385pgn.49.1507736507229; Wed, 11 Oct 2017 08:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507736507; cv=none; d=google.com; s=arc-20160816; b=JnJJ6ydzgR8iV8oCc+bdz6PnRqu1fFGYRDJEHBa63dPD52h+rpkMPkIRXWkq0+qJJ/ tNDFaU6ZQIsv6td2udfxqK7Q4cQzngiBOJWSgjghutjN9dlEghscr0ilcr1fwsvnTXJt cVpyzKJyF+Eg+jyNocrqqNyTgMRstGynvRndb8PlhCeIvCMa2HXCmRLY10I2EI0xA6Hq wVARNMhDHUJdWmrENms1tywvNWTAGdelhGiPyP7kNh+TTV1PZokwYoIXjEOgYuPCfbxK JSQYDfPi05No3/QR1+O0Zz15ImU0+OfJxh00ncjdALHhVK4wX0VhEutLQi0d09nSD7OL XKlw== 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=1rDCMQhhB8QFp5B0D/tBrHo3ppTHkC1d720KAUr6O14=; b=Oo3n+Oyeo48s3TlkSUfy5iYMvzPVO6st5svDeKHWm6eiRqAS6/iH3nx6aAc5iGDAHN XU9cojUEIDmdpcs8HvHTMOPPy1OEPML2nvVPPJbC4eHaJNkG50YEsYRCO+GKg44FCFjc P0/vCCQWL8Z33oHlWy/LjpSG9/SR/093ZvVT7hhqXb87HgEPhAXJcXgbExTDfLLU9ot/ 2imdy/1H/bcLNMkE93d4BxFtq4/QE+qkHq48G7JmPebfSiCNGkiMQT/1jX442mYXSRTw triXiCll5vNVGlRCyJdwjhPoC3F2TKCscMArArC31UCwoPiKQeii9j063pMEWko2+oNv iq4Q== 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=QvYEUJRF; 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 68si8945739pfe.501.2017.10.11.08.41.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 08:41:47 -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=QvYEUJRF; 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 8AC3821F7D4F4; Wed, 11 Oct 2017 08:37:57 -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::232; helo=mail-lf0-x232.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 BB0B721F7D4F4 for ; Wed, 11 Oct 2017 08:37:55 -0700 (PDT) Received: by mail-lf0-x232.google.com with SMTP id d10so2560788lfg.11 for ; Wed, 11 Oct 2017 08:41:25 -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=LTimKYWTUq+stlmO2jUWw5uumx/gilGp4pE/BMHK9I4=; b=QvYEUJRFoMJOrjmpBFd8NkBLMQU/C/16fxO7T0Tm0Djhwf+99W+zUizThob7MEFhR9 +4835SMtmw+rjBIzVP5ndvuSG++WSm6LLHQnLGw6edi/0N1Pmzv7m3rYvNwrEBnDI76D QJ8CCTJ/HnPYQvx8OPfDUy4q+LRlpYvm/CUYWd/iHpZ9uUBEtj/9PmB6yYnf2Fqth0eK SO7/D/ipAk+/3Ta6HK0CvmguYTUFpFAFaTdX7T5/OonFGPz/5r4a/0BiZ/liyUgAeIiA wzhzHjkrw+V4UhLpjP1ubMtvzD89SN4APpPF8TxgZcdzkFpjD6fqW/Qo/melSqKgFSiK LhaA== 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=LTimKYWTUq+stlmO2jUWw5uumx/gilGp4pE/BMHK9I4=; b=ZKYlNMnO04CSpfSSNVQdWgFZjqS9OpH0004o7y/WU6b6NHSnTBIcyva4TrmVwAfwJT VTvXmL5+kDsA9kFm7fXpQQkB0FKbY4NHad3XaCNjerajd1/MsejeQqviJstyTIqgv3KZ OxDKNAWO9OwSWqBH5NGmjPHks2Cqa94nPE48Ru9ly3PBjrhltkAHNAdRMP1M3nIG7UXg /wmhTd/kkUBm4fYHIei8KnI/VrhsKDbkCbsf1JeXTxcK3QtPfnjaDtQZEksABbN5Zwom gX6QwOjl9UiXYgGG82I8DZHLNbwXkwgKxPpoNymuKcVA4wyiAx+ghKuTQGYRlEVnza/o uU0A== X-Gm-Message-State: AMCzsaXH7g1ZwMdZ/Oi/T29G0uhXPapRI6CVXlG+Bc2pBWMsM/RTVjHu ru3zgi7tKrIoEZyGdlJALGv1fP9Z3YI= X-Google-Smtp-Source: AOwi7QBwGf9KMLQmbAxrV5P1S+7WRnsgJMTFAvODh1SBcxfFSqs9Xx7uzty8Odm7myHsAdrISkk8pg== X-Received: by 10.46.68.155 with SMTP id b27mr26046ljf.86.1507736483376; Wed, 11 Oct 2017 08:41:23 -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 p15sm160610lje.24.2017.10.11.08.41.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 08:41:22 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 17:40:49 +0200 Message-Id: <1507736449-6073-9-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507736449-6073-1-git-send-email-mw@semihalf.com> References: <1507736449-6073-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH 8/8] Marvell/Armada: Add 32-bit ARM support 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 Update the included components and library classes to make this platform build for 32-bit ARM. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas --- Platform/Marvell/Armada/Armada.dsc.inc | 3 +-- Platform/Marvell/Armada/Armada70x0.dsc | 4 ++-- Platform/Marvell/Armada/Armada70x0.fdf | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) -- 2.7.4 _______________________________________________ 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 b0a8240..b9fc384 100644 --- a/Platform/Marvell/Armada/Armada.dsc.inc +++ b/Platform/Marvell/Armada/Armada.dsc.inc @@ -132,7 +132,6 @@ CustomizedDisplayLib|MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf -[LibraryClasses.AARCH64] ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf @@ -362,7 +361,7 @@ # ARM Pcds gArmTokenSpaceGuid.PcdSystemMemoryBase|0 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 - gArmTokenSpaceGuid.PcdArmScr|0x531 + gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|36 # Secure region reservation gMarvellTokenSpaceGuid.PcdSecureRegionBase|0x4000000 diff --git a/Platform/Marvell/Armada/Armada70x0.dsc b/Platform/Marvell/Armada/Armada70x0.dsc index 946c93e..0396e8e 100644 --- a/Platform/Marvell/Armada/Armada70x0.dsc +++ b/Platform/Marvell/Armada/Armada70x0.dsc @@ -39,8 +39,8 @@ PLATFORM_GUID = f837e231-cfc7-4f56-9a0f-5b218d746ae3 PLATFORM_VERSION = 0.1 DSC_SPECIFICATION = 0x00010005 - OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) - SUPPORTED_ARCHITECTURES = AARCH64 + OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME)-$(ARCH) + SUPPORTED_ARCHITECTURES = AARCH64|ARM BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULT FLASH_DEFINITION = Platform/Marvell/Armada/Armada70x0.fdf diff --git a/Platform/Marvell/Armada/Armada70x0.fdf b/Platform/Marvell/Armada/Armada70x0.fdf index a94a9ff..ec2c368 100644 --- a/Platform/Marvell/Armada/Armada70x0.fdf +++ b/Platform/Marvell/Armada/Armada70x0.fdf @@ -237,7 +237,7 @@ READ_LOCK_STATUS = TRUE # ############################################################################ -[Rule.AARCH64.SEC] +[Rule.Common.SEC] FILE SEC = $(NAMED_GUID) RELOCS_STRIPPED FIXED { TE TE Align = Auto $(INF_OUTPUT)/$(MODULE_NAME).efi }