From nobody Sun May 5 07:37:51 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1512980843600251.0001045865539; Mon, 11 Dec 2017 00:27:23 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 277382218E95F; Mon, 11 Dec 2017 00:22:45 -0800 (PST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C05FA220FB322 for ; Mon, 11 Dec 2017 00:22:44 -0800 (PST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2017 00:27:21 -0800 Received: from shwdeopenpsi011.ccr.corp.intel.com (HELO SHWDEOPENPSI011.local) ([10.239.9.23]) by orsmga004.jf.intel.com with SMTP; 11 Dec 2017 00:27:20 -0800 X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Permerror (SPF Permanent Error: More than 10 MX records returned) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=shifeix.a.lu@intel.com; receiver=edk2-devel@lists.01.org X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,391,1508828400"; d="scan'208";a="157649294" Date: Mon, 11 Dec 2017 16:27:21 +0800 From: lushifex To: edk2-devel@lists.01.org Message-ID: X-Mailer: TortoiseGit MIME-Version: 1.0 Subject: [edk2] [Patch][edk2-platforms/devel-MinnowBoard3-UDK2017] Board Name. 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: , david.wei@intel.com Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Change board name on Minnowboard 3 and Minnowboard 3 Module. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lushifex --- BuildBIOS.bat | 2 +- BuildBIOS.sh | 2 +- .../Board/MinnowBoard3/BoardInitDxe/BoardInitDxe.c | 6 ++= +--- .../Board/MinnowBoard3Next/BoardInitDxe/BoardInitDxe.c | 4 ++= -- Platform/BroxtonPlatformPkg/BuildBxtBios.bat | 2 +- Platform/BroxtonPlatformPkg/BuildBxtBios.sh | 4 ++= -- .../BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat | 2 ++ 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/BuildBIOS.bat b/BuildBIOS.bat index 2cec70f..051c0a9 100644 --- a/BuildBIOS.bat +++ b/BuildBIOS.bat @@ -57,7 +57,7 @@ echo /IA32 Set Arch to IA32 (default: X64) echo /A Set FabId to A (default: FAB_B) echo /B Set FabId to B (default: FAB_B) echo /MN MinnowBoard 3(default: MN) -echo /MX MinnowBoard 3 Next +echo /MX MinnowBoard 3 Module echo /BG Benson Glacier Board echo PlatformName: Broxton echo BuildTargets: Release, Debug diff --git a/BuildBIOS.sh b/BuildBIOS.sh index d679d2e..b8d21d7 100755 --- a/BuildBIOS.sh +++ b/BuildBIOS.sh @@ -20,7 +20,7 @@ function Usage () { echo echo " Build_Flags: /MN MinnowBoard3 (default: = MN)" echo " Build_Flags: /BG Benson Glacier Board" - echo " Build_Flags: /MX MinnowBoard3 Next" + echo " Build_Flags: /MX MinnowBoard3 Module" echo " Build_Flags: /A Set FabId to A (default= : FAB_B)" echo " Build_Flags: /B Set FabId to B (default= : FAB_B)" echo " PlatformName [optional]: Broxton " =20 diff --git a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitDxe/Bo= ardInitDxe.c b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitDxe/= BoardInitDxe.c index 94c94a6..66962a8 100644 --- a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitDxe/BoardInit= Dxe.c +++ b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3/BoardInitDxe/BoardInit= Dxe.c @@ -2,7 +2,7 @@ Board specific functions in DXE phase to be set as dynamic PCD and consu= med by commmon platform code. =20 - Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
=20 This program and the accompanying materials are licensed and made available under the terms and conditions of the BS= D License @@ -26,9 +26,9 @@ Mb3GetBoardName ( { STATIC CHAR16 BoardName[40]; =20 - DEBUG ((EFI_D_INFO, "BoardInitDxe: GetBoardName - MinnowBoard V3\n")); + DEBUG ((EFI_D_INFO, "BoardInitDxe: GetBoardName - MinnowBoard 3\n")); =20 - UnicodeSPrint (BoardName, sizeof (BoardName), L"MinnowBoard V3 "); + UnicodeSPrint (BoardName, sizeof (BoardName), L"MinnowBoard 3 "); =20 if (BoardId !=3D (UINT8) BOARD_ID_MINNOW) { return NULL; diff --git a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3Next/BoardInitDx= e/BoardInitDxe.c b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3Next/Board= InitDxe/BoardInitDxe.c index a1c2c39..71deb43 100644 --- a/Platform/BroxtonPlatformPkg/Board/MinnowBoard3Next/BoardInitDxe/Board= InitDxe.c +++ b/Platform/BroxtonPlatformPkg/Board/MinnowBoard3Next/BoardInitDxe/Board= InitDxe.c @@ -26,9 +26,9 @@ Mb3NGetBoardName ( { STATIC CHAR16 BoardName[40]; =20 - DEBUG ((EFI_D_INFO, "BoardInitDxe: GetBoardName - Minnow Board v3 Next\= n")); + DEBUG ((EFI_D_INFO, "BoardInitDxe: GetBoardName - MinnowBoard 3 Module\= n")); =20 - UnicodeSPrint (BoardName, sizeof (BoardName), L"Minnow Board v3 Next (0x= %02X)", BoardId); + UnicodeSPrint (BoardName, sizeof (BoardName), L"MinnowBoard 3 Module "); =20 if (BoardId !=3D (UINT8) BOARD_ID_MINNOW_NEXT) { return NULL; diff --git a/Platform/BroxtonPlatformPkg/BuildBxtBios.bat b/Platform/Broxto= nPlatformPkg/BuildBxtBios.bat index ede285e..994bb3a 100644 --- a/Platform/BroxtonPlatformPkg/BuildBxtBios.bat +++ b/Platform/BroxtonPlatformPkg/BuildBxtBios.bat @@ -208,7 +208,7 @@ if /i "%~1" =3D=3D "%Minnow_RVP%" ( ) else if %BoardId%=3D=3DBG ( set BOARD_ID=3DBENSONV ) else if %BoardId%=3D=3DMX ( - set BOARD_ID=3DMINNEXT + set BOARD_ID=3DM3MODUL ) set ENBDT_PF_BUILD=3DTRUE set PLATFORM_NAME=3DBroxtonPlatformPkg diff --git a/Platform/BroxtonPlatformPkg/BuildBxtBios.sh b/Platform/Broxton= PlatformPkg/BuildBxtBios.sh index cf02ceb..ef261e6 100755 --- a/Platform/BroxtonPlatformPkg/BuildBxtBios.sh +++ b/Platform/BroxtonPlatformPkg/BuildBxtBios.sh @@ -136,8 +136,8 @@ if [ $BoardId =3D=3D "MN" ]; then BOARD_ID=3DMNW3 echo BOARD_ID =3D MINNOW3 >> $WORKSPACE/Conf/BiosId.env elif [ $BoardId =3D=3D "MX" ]; then - BOARD_ID=3DMNXT - echo BOARD_ID =3D MINNEXT >> $WORKSPACE/Conf/BiosId.env + BOARD_ID=3DM3MO + echo BOARD_ID =3D M3MODUL >> $WORKSPACE/Conf/BiosId.env else BOARD_ID=3DBEN1 echo BOARD_ID =3D BENSONV >> $WORKSPACE/Conf/BiosId.env diff --git a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Sim= ple.bat b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple= .bat index 134807e..01e56c5 100644 --- a/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat +++ b/Platform/BroxtonPlatformPkg/Common/Tools/Stitch/IFWIStitch_Simple.bat @@ -110,6 +110,8 @@ if /i "!Platform_Type!"=3D=3D"MINN" ( set Platform_Type=3DMINN ) else if /i "!Platform_Type!"=3D=3D"BENS" ( set Platform_Type=3DBENS +) else if /i "!Platform_Type!"=3D=3D"M3MO" ( + set Platform_Type=3DM3MO ) else ( echo Error - Unsupported PlatformType: !Platform_Type! goto Usage --=20 2.7.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel