From patchwork Thu Feb 1 16:10:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 126553 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1846414ljc; Thu, 1 Feb 2018 08:10:33 -0800 (PST) X-Google-Smtp-Source: AH8x224MjRX/f1xJsdNzirDqfKfkZRLYcDZGNvlRQ+ifs/7sPZA6cHmGujh9xBxHgseiaxvOktq7 X-Received: by 2002:a17:902:32a2:: with SMTP id z31-v6mr32819355plb.345.1517501432969; Thu, 01 Feb 2018 08:10:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517501432; cv=none; d=google.com; s=arc-20160816; b=Y76BA9HzS1b/BkVtqmzsVkNjGg4r7P8rJ2xbk1ogk/56sy/r2+MX4VkwOvGZFGEOg4 ND262ECBoGsTHyHtY9i5aefyJgCD0VnviKuCcZ/DBwUxrUhWKV5ZDbse59hyGQ4O+9b5 HNNzeckk1BOHPUjl1jkUPtmTRupWXJp3pSM/tcCAs2Oatww6pNhFIYDfKk+NKxOhVaLX oxlfmOzF7dz2XnU1SjzVghAhLFoi9ulvEEMVmYsDX2RBoywdxmXevxGdnSk34lbnPjFM woO+8xLMoa/VoFnVb4/CgzrKmRCzoyDBXO1r8jojMo+1jmozGBMHd7ZyWyrRoRB3uPtn joUA== 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=jVop7h+9lW677+jKzaqwMaQt6eGw3KnnqgW+JEdKndY=; b=pF2KIAv6BUrCTKZG4weqWsQPVPsXlQCa0KoOso/b0c+TeD5y9wPx+ffGclH3c5MVlL nUd9YnJWnSHoMjN6HTsOFWNDga4XdWrB7SplZL2uDCpa5TmfgWMwlc143d47v8tLbxHy FmGevcglpergu1UTDViQaG+BoJwaAvY17WLQBfktGOcAhJaQIFskwqp5JFb8qOx3noy2 yOpTQ3lcSyExQkbN1tnJ+0bMGTEDNUeJ23su9u+2spiiag/F3/vx2E9HJMK+ew4mQf2I 31EAhfomnTD6ScxsZTDGqVumP0ZhiXNBisQxIvI3mzDJoic+ppueqhv0dhrTxQDHPe80 kzOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=PxtoAIzm; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id g15si5061551pgf.557.2018.02.01.08.10.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 08:10:32 -0800 (PST) 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=@linaro.org header.s=google header.b=PxtoAIzm; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id C7D7821E0B9ED; Thu, 1 Feb 2018 08:04:53 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (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 7A2F521E0B9E8 for ; Thu, 1 Feb 2018 08:04:50 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id 141so6726017wme.3 for ; Thu, 01 Feb 2018 08:10:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bJ+Ggb/tSJojtiiXnS8KOehMkYtcT4PRYv08sRBZtPA=; b=PxtoAIzm3DUI9kpXBseZFKpQjZSlMCRCFNnx/NjkglepOqKgE1nYHmjv/iP/hQG61s txTZw2c9bimeQvlmPYGwP0nzolLYFM3i94XdrrfjBJ9zNlDctnOA8ZVTrQHSyBbFeGij glGISIZd5PGy0rTF9m436DlmUQZPC+f80vMa0= 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=bJ+Ggb/tSJojtiiXnS8KOehMkYtcT4PRYv08sRBZtPA=; b=kYBQqW9duOF+gpU8m35BdAqUASBdK8tRzsb5CXhY+wyfbs2aIhB/Zy9iynDz4jN45g tK9qg++9Mr0Hha8D1SN8hJJxqhpvrOC03i+ui60HYeuzEkoPuA0AlKpHXL2QaE4p36sU UlX1+WYvtOTUBtXYK+7W0tg5jPBW95XSxr8wPoWUjoLOJ6+GvCNIHFdpWBRr6VoDG2mW L9pCCZNdmTUbQiRP2iNL2cmGlSKdeWk881po74fDfkQsbhU9Sofp5ETle8Nu4ULAUEnq rmprAu3MXOgJX2RAwSrwY+uMPbZwQACxmkLuGBJPQ0N3/wMQvymu89M8x7QoJmw5zVXu i6hg== X-Gm-Message-State: AKwxytcNeor8CoaTvA/14mTAvaAOHfoO7dNfcBxJzShGDc5IlPRwE5t7 yAOZT1v3PmybqLs0Fha3Bzgm6lCgopY= X-Received: by 10.28.120.15 with SMTP id t15mr8522308wmc.34.1517501426280; Thu, 01 Feb 2018 08:10:26 -0800 (PST) Received: from localhost.localdomain ([160.164.249.13]) by smtp.gmail.com with ESMTPSA id 39sm8204139wrz.85.2018.02.01.08.10.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 08:10:25 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 1 Feb 2018 16:10:08 +0000 Message-Id: <20180201161008.4037-5-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180201161008.4037-1-ard.biesheuvel@linaro.org> References: <20180201161008.4037-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-platforms 4/4] Platform/Cello, Overdrive: set fw vendor PCD from FIRMWARE_VENDOR X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: marc.zyngier@arm.com, alan@softiron.co.uk, leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 'AMD Seattle' is not a firmware vendor, nor is 'LeMaker Cello' So let's do what other platforms do, and default to 'EDK II' unless it is overridden at build time by setting FIRMWARE_VENDOR. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 4 +++- Platform/LeMaker/CelloBoard/CelloBoard.dsc | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc index a99a9a1062d4..21edcc8798f4 100644 --- a/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc +++ b/Platform/AMD/OverdriveBoard/OverdriveBoard.dsc @@ -365,7 +365,9 @@ [PcdsFixedAtBuild.common] gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 } - gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"AMD Seattle" +!ifdef $(FIRMWARE_VENDOR) + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"$(FIRMWARE_VENDOR)" +!endif # Number of configured cores gArmPlatformTokenSpaceGuid.PcdCoreCount|$(NUM_CORES) diff --git a/Platform/LeMaker/CelloBoard/CelloBoard.dsc b/Platform/LeMaker/CelloBoard/CelloBoard.dsc index fb9155ce3a0d..cf3df8651415 100644 --- a/Platform/LeMaker/CelloBoard/CelloBoard.dsc +++ b/Platform/LeMaker/CelloBoard/CelloBoard.dsc @@ -351,7 +351,9 @@ [PcdsFixedAtBuild.common] gEfiMdeModulePkgTokenSpaceGuid.PcdResetOnMemoryTypeInformationChange|FALSE gEfiMdeModulePkgTokenSpaceGuid.PcdBootManagerMenuFile|{ 0x21, 0xaa, 0x2c, 0x46, 0x14, 0x76, 0x03, 0x45, 0x83, 0x6e, 0x8a, 0xb6, 0xf4, 0x66, 0x23, 0x31 } - gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"LeMaker Cello" +!ifdef $(FIRMWARE_VENDOR) + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVendor|L"$(FIRMWARE_VENDOR)" +!endif # Number of configured cores gArmPlatformTokenSpaceGuid.PcdCoreCount|$(NUM_CORES)