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::244; helo=mail-lf0-x244.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x244.google.com (mail-lf0-x244.google.com [IPv6:2a00:1450:4010:c07::244]) (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 6D40B211AC7B4 for ; Tue, 12 Jun 2018 07:06:52 -0700 (PDT) Received: by mail-lf0-x244.google.com with SMTP id g21-v6so34251746lfb.4 for ; Tue, 12 Jun 2018 07:06:52 -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=zbw3s3AG39f7gmn2DfOrKwD8ynlgUjdRHbmpooQhXsY=; b=PbkfazIYSSxNYD9huntJL2iY2TZI7olBiTBrs9PZCsMf8qOZtKTXH3/eUsTBUreB6p mBw5LDIgFnNhFDuq8eFxTIJu2WolO0bLvpeyHFmfHAbNacm/GS+9kkn9lxmkLEz/4K+5 9wwo9WTKQEOm9niCBJhR6AJ8nLmDlaCTArJX/t/pavwAo62hds+9FU1TzonKRmeOFkcV 2GZpSM0utUST0Igt07F4CEdRySt9ET1ZEuU8AyCxb1dWcLbl7fO3k9kEaqYqvwpepY6a v4kDwybqMaHLu/y9Q98A1Sy5EVa5pKOcIo0EMqEnBegvrwfWhtX+l9+bhjzdI2nZ/seN inRQ== 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=zbw3s3AG39f7gmn2DfOrKwD8ynlgUjdRHbmpooQhXsY=; b=BH/nJCBryYE2XaJ+1/6kNuoWa9nrBoTeupbkGIP96Am43oz7VnydCIWZ+63NW6ceHV CMhj6kwYtysmU1+anfEek5Fw4xsPh9s+tBT7kkxtDL8eh7SvKti3eKpeAXH4kWogFhUi yr6hL679QvxdHSjjlCWnewkk9PNIzCFkIdHIC6/O1wnu5b3R6NMXtc9I/fX9Qq3KkFMv tzJdGh01glIOEC9j6v/ZuEam873DIU3vXcTMV6m3hqy9geAZAFRDQT4XfvMrV6s/BqtB TJSURITNRV2JWHFpQwq+NOqyKratmny7OLccpQiZlWFebGwHVzovoe7qHO2m2aIHsf5R Sg1g== X-Gm-Message-State: APt69E1CdtqsUVhLUF/+qUPkEi4DxJMJuY1WDYqqarsTQL8EXPih+jET JUSBReV2fwKlH6z5NLsGeekvVBgWYLg= X-Google-Smtp-Source: ADUXVKLf+KIaSwf+qCEAkdhD8Gyso2DQQK5w3b4VT/QwMKWCv1UbpIldWDslVUVjo0Y3blMNOZN7dw== X-Received: by 2002:a2e:889a:: with SMTP id k26-v6mr381733lji.54.1528812410450; Tue, 12 Jun 2018 07:06:50 -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 p5-v6sm65156ljh.3.2018.06.12.07.06.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Jun 2018 07:06:49 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, nadavh@marvell.com, jinghua@marvell.com, mw@semihalf.com, jsd@semihalf.com, jaz@semihalf.com Date: Tue, 12 Jun 2018 16:06:33 +0200 Message-Id: <1528812395-2716-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528812395-2716-1-git-send-email-mw@semihalf.com> References: <1528812395-2716-1-git-send-email-mw@semihalf.com> Subject: [platforms: PATCH 1/3] Marvell/Armada7k8k: Use common .fdf file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 14:06:52 -0000 As for the preparation for adding multiple boards support, move common part of the .fdf file to the SoC family directory and change output FD file name to more generic. Once needed, possible per-board differences will be resolved by including custom .fdf.inc file. This way adding new common changes for entire SoC family won't require any duplication and at the same time the per-board .fdf.inc will allow better suiting the .FD file contents. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas --- Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc | 2 +- Platform/Marvell/Armada70x0Db/Armada70x0Db.fdf => Silicon/Marvell/Armada7k8k/Armada7k8k.fdf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Platform/Marvell/Armada70x0Db/Armada70x0Db.fdf => Silicon/Marvell/Armada7k8k/Armada7k8k.fdf (97%) diff --git a/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc b/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc index 46a1ea9..eedb025 100644 --- a/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc +++ b/Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc @@ -43,7 +43,7 @@ SUPPORTED_ARCHITECTURES = AARCH64|ARM BUILD_TARGETS = DEBUG|RELEASE SKUID_IDENTIFIER = DEFAULT - FLASH_DEFINITION = Platform/Marvell/Armada70x0Db/Armada70x0Db.fdf + FLASH_DEFINITION = Silicon/Marvell/Armada7k8k/Armada7k8k.fdf !include Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc diff --git a/Platform/Marvell/Armada70x0Db/Armada70x0Db.fdf b/Silicon/Marvell/Armada7k8k/Armada7k8k.fdf similarity index 97% rename from Platform/Marvell/Armada70x0Db/Armada70x0Db.fdf rename to Silicon/Marvell/Armada7k8k/Armada7k8k.fdf index e5e5443..180b6c9 100644 --- a/Platform/Marvell/Armada70x0Db/Armada70x0Db.fdf +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.fdf @@ -24,7 +24,7 @@ # ################################################################################ -[FD.Armada70x0Db_EFI] +[FD.Armada_EFI] BaseAddress = 0x00000000|gArmTokenSpaceGuid.PcdFdBaseAddress # The base address of the Firmware in NOR Flash. Size = 0x00400000|gArmTokenSpaceGuid.PcdFdSize # The size in bytes of the FLASH Device ErasePolarity = 1 -- 2.7.4