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::242; helo=mail-lf0-x242.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org Received: from mail-lf0-x242.google.com (mail-lf0-x242.google.com [IPv6:2a00:1450:4010:c07::242]) (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 CCAF5212BC466 for ; Wed, 13 Jun 2018 02:03:12 -0700 (PDT) Received: by mail-lf0-x242.google.com with SMTP id t134-v6so2725525lff.6 for ; Wed, 13 Jun 2018 02:03:12 -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=dujST/CLiXMjzNV9G+SCVHnxa4TijuFVXwOInBiT7Og=; b=MYpwmtLEKaWHkQn+HvI2WsJAsPjY56ywPG4eoO2gESMG2c6UOCmBVHT6VE3EPY+pii wCSDnl3ehhdPhoSko6fC8P0DpmwnRKu4zcasFbEPf4sLICMzHQjvYACZ881o8+7dQOZu ZoaO0M1DC/NFWZohhbjUvBis0j0as8QMNVJ0bEM6m89SwUJ+I5jQdMRdJ33QDw0y+SAV asR7I3Vbi0aEjqNT8ASekPkgib3NIK6iT2afUYESB2f8yZcOinhog4wrCB1qCj2zJele /KYGhB0gM9xmgmeOEHWEsjx04Oalr8tMgc7T6aHlJThJr2MTM0XNOAH+kHDX25bHNUwK M8Wg== 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=dujST/CLiXMjzNV9G+SCVHnxa4TijuFVXwOInBiT7Og=; b=h3lBlgBj3dbahlbyoa/UGVPQcVQql534DQNp3eKD2PI/sGKjmgto+p6CxgDAGwcmL9 tVV9Df72yfHmx3j5ht82ivPlaJ3Wcmk52DAkThSLJPA6ZrbJyzS1FoviW28UOo1fqOxV oOtAmjQ9NEm01zACzAEdccCOEYBRdLTxrgM2sxdPEQsUwvwKDAegstU6lXfhvHIzGmaW /tBBo4w7GqYRj6nmhngu/7HRYNUQPKip+UR+HYSDBqQnk519QLIRxXG8rLdB6ocwv2+2 PzzWxpMiaTDP6T6SKTXDtjeTFt8Gg0Y5eCeZY4Ez03QDiAqfwrwxkZmV6CaCRsP1mds8 jieQ== X-Gm-Message-State: APt69E14iaS2/ZNP/gIhTn1LHZnRuVcbb3py6KqU7VZNPo5ogP5EFnKs dTY0wzTKaKYLowKbPdKZlxI3UNVR08I= X-Google-Smtp-Source: ADUXVKJGNiyCIBF/SFPAKzAn1LoLmD9b3pXlNz8ZxFSvT7GoXAsw/ujJqMbpZ8AY+S/k/47nv0/0Pw== X-Received: by 2002:a19:ea99:: with SMTP id y25-v6mr2523653lfi.20.1528880590884; Wed, 13 Jun 2018 02:03:10 -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 q35-v6sm478023lfi.68.2018.06.13.02.03.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Jun 2018 02:03:09 -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: Wed, 13 Jun 2018 11:02:50 +0200 Message-Id: <1528880573-29494-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528880573-29494-1-git-send-email-mw@semihalf.com> References: <1528880573-29494-1-git-send-email-mw@semihalf.com> Subject: [platforms: PATCH v2 1/4] 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: Wed, 13 Jun 2018 09:03:13 -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 Reviewed-by: Leif Lindholm --- 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