From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (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 3274520D7648C for ; Wed, 12 Apr 2017 18:30:38 -0700 (PDT) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Apr 2017 18:30:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,192,1488873600"; d="scan'208";a="1134720453" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 12 Apr 2017 18:30:37 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 12 Apr 2017 18:30:37 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.193]) with mapi id 14.03.0319.002; Thu, 13 Apr 2017 09:30:34 +0800 From: "Zhu, Yonghong" To: "Kinney, Michael D" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Shaw, Kevin W" , "Zhu, Yonghong" Thread-Topic: [edk2-FdfSpecification PATCH] Allow sections in any order Thread-Index: AQHSs7Q2PnoJO7f85EGW4uX+JnfGM6HBeskAgAEI1lA= Date: Thu, 13 Apr 2017 01:30:34 +0000 Message-ID: References: <1492018948-34216-1-git-send-email-michael.d.kinney@intel.com> <1492018948-34216-2-git-send-email-michael.d.kinney@intel.com> In-Reply-To: <1492018948-34216-2-git-send-email-michael.d.kinney@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWM1NTRiZTYtZmI2NS00YjIyLTg3ZjQtMGM5MmNmZmM1NzlkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlU3MmRqT0lHSERYRDNTTHI0dU0za0xnZGNKYzV1TFdTM2VleXZUOFg0dWc9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [edk2-FdfSpecification PATCH] Allow sections in any order 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: , X-List-Received-Date: Thu, 13 Apr 2017 01:30:38 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu =20 Best Regards, Zhu Yonghong -----Original Message----- From: Kinney, Michael D=20 Sent: Thursday, April 13, 2017 1:42 AM To: edk2-devel@lists.01.org Cc: Gao, Liming ; Zhu, Yonghong ; Shaw, Kevin W Subject: [edk2-FdfSpecification PATCH] Allow sections in any order https://bugzilla.tianocore.org/show_bug.cgi?id=3D142 Cc: Liming Gao Cc: Yonghong Zhu Cc: Kevin W Shaw Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael Kinney --- 3_edk_ii_fdf_file_format/32_fdf_definition.md | 24 ++++++++++++-----------= - README.md | 1 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/3_edk_ii_fdf_file_format/32_fdf_definition.md b/3_edk_ii_fdf_f= ile_format/32_fdf_definition.md index e4e9869..b8dffa8 100644 --- a/3_edk_ii_fdf_file_format/32_fdf_definition.md +++ b/3_edk_ii_fdf_file_format/32_fdf_definition.md @@ -33,7 +33,10 @@ =20 The FDF definitions define the final properties for a flash image - PCD s= ettings in this file override any other PCD settings that may have been set= in -the platform description (DSC) file. +the platform description (DSC) file. The `[Defines]` section, when=20 +specified, must appear before any other section except the header. (The=20 +header, when specified, is always the first section of an FDF file.)=20 +The remaining sections may be specified in any order within the FDF file. =20 #### Summary =20 @@ -43,14 +46,14 @@ EBNF). ```c ::=3D [
] [] - - - - - - - - + * + * + * + * + * + * + * + * ``` =20 ********** @@ -62,9 +65,6 @@ override any variable/value assignment defined in the FDF= file. **Note:** Conditional statements may be used anywhere within the FDF file,= with the ability to group any item within a section as well as entire sec= tions. ********** -**Note:** The sections must be listed in the above order within the FDF fi= le. -Changing the order may cause the build to break. -********** =20 ### 3.2.1 Common Definitions =20 diff --git a/README.md b/README.md index f0ea3e4..45da9b5 100644 --- a/README.md +++ b/README.md @@ -203,3 +203,4 @@ Copyright (c) 2006-2017, Intel Corporation. All rights = reserved. | | Changed the FDF_SPECIFICATION value from 0x0001001A to 0x00= 01001B or 1.27 = | | | | Extended the FV and Capsule, FILE RAW statement formats to = support multiple binary files. = | | | | Changed section 3.8 [FmpPayload] to add definitions for MON= OTONIC_COUNT and CERTIFICATE_GUID, plus some notes about how these are used= . | | +| | [#142](https://bugzilla.tianocore.org/show_bug.cgi?id=3D142= ) Update EDK II FDF Specification to allow sections in any order = | | -- 2.6.3.windows.1