From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=40.107.1.47; helo=eur02-he1-obe.outbound.protection.outlook.com; envelope-from=udit.kumar@nxp.com; receiver=edk2-devel@lists.01.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10047.outbound.protection.outlook.com [40.107.1.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5E5AA21F3B41C for ; Fri, 27 Oct 2017 20:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=WZqu06UuZhcgUDxVWFDtsaZldqwQwbusVeH34s0pJhA=; b=U0pfq2F7z4BL4MuQ1ezun5HJgseUirCj98RtKIToi5TqJA89vXXJjb2LTjp0DBU7yFHWk/YpZ4LrxAvzEyfoRocXe7m5BRMz1eBin1VADdH6PkxqEcdnpl0Xk/iGwtJ0m1b7Q24Fy2PtAK+BFpVpVkE3bLlGWVylcuxO3MofZwM= Received: from AM6PR0402MB3334.eurprd04.prod.outlook.com (52.133.18.151) by AM6PR0402MB3335.eurprd04.prod.outlook.com (52.133.18.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.6; Sat, 28 Oct 2017 03:09:30 +0000 Received: from AM6PR0402MB3334.eurprd04.prod.outlook.com ([fe80::7cbb:e077:2ee1:20f0]) by AM6PR0402MB3334.eurprd04.prod.outlook.com ([fe80::7cbb:e077:2ee1:20f0%13]) with mapi id 15.20.0178.010; Sat, 28 Oct 2017 03:09:30 +0000 From: Udit Kumar To: Jeremy Linton , Ard Biesheuvel CC: "edk2-devel@lists.01.org" , Andrew Fish , "Olivier.Martin@arm.com" , Vladimir Olovyannikov Thread-Topic: [edk2] Storing Non volatile variables on SD/NAND Thread-Index: AdMwhGas4HV30Cb6RHux5gL+cq9qtgAEHTUAAAJm0wAAGXHS4AAYW1AAABfKRvAAAbCQAAAAEh/QAAD7vYAAE55LQAAD1rowB0d2p/sAE33EkA== Date: Sat, 28 Oct 2017 03:09:30 +0000 Message-ID: References: <4CC33CC2-86D1-490E-A67E-12D751745121@apple.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=udit.kumar@nxp.com; x-originating-ip: [45.122.154.24] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; AM6PR0402MB3335; 6:h1MoJmy0fTWwaA+ev5F0t8ADNP/nnaKhBaAeFO7W/YsxOzLXH0cflKm60G/9SidtxIuUsBJU+aA5yELJLOkGZDQzZIvW0BL6UqpL5HyPKh4x7Lj44wycrIn2dbWJqz+PDCvHaHbfuZ334cjXueDqezWqVmLZZJyrEhIs/cMjqMXhjMe2rjWV/WNY2D/BZ4kvhw27LVtFm7IxvBQcxHHa/a6VORbjUA8neT63N1Ti/57WdA4oP5V9H84gv8xtDgwrfeu+ixSp1WP5Uff8l7YC8biMi9MF82rJJKNGVLd+niPuhGPsQJrvOqIqvkIJAv0xRIinTDVRnrtF07mLvo8W8uQ4v/FrK4qzlpKloNNaWU4=; 5:g5cirs8LfnU2XarRQQif0Igp4y6xzkRlOyl+9V6/m5Bm6gIEVV4/KKw2YApMfiSh7mt81e2oApLDWsuVfZsgY7sjE405g92GR/VKQPSy66Xx40b5hrVqd1FWIw9Q31lrkRpC7XPEbWQ3+Odl7iJFZfYbToXmVwy1hMBRp31WnaY=; 24:/gxKM96tAeQXSeC8IGEm8Je1OtW2Sh/Ns40Ax3HsV+WeeiprcV1/iSrBmpP24lrTZaGEFq8tuHfTCEh3ENDycSLBMkwbpY0h3Jf0OwqFavc=; 7:SAWhVbkQwZwImGqgX7fmPr67zXojcA2YqmxwNMF0EWuhzspYJKoTIknzinYrIV2cMCWhlMF1qsqEcmcWUkWYQdOCkqyEwM2rBqDi/0C/aCSiN7E8lcxTnBB86/lCOo/hjdb1ZwyyayNv/CBRCWHL+VtVBfx7gZUgNZdiiRKy/l9lprnbMdLZ5xmXOeBqJ5JL33UQMQajGbZ21NHNHxMn8NyNmE0eK3Wf28wHa0yLmcmqsI3pLseL/F+Il9i+Pse3 x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: ff4df1c8-e5f9-482e-b356-08d51db14e53 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(48565401081)(2017052603199); SRVR:AM6PR0402MB3335; x-ms-traffictypediagnostic: AM6PR0402MB3335: x-exchange-antispam-report-test: UriScan:(80524489315369)(180628864354917)(189930954265078)(185117386973197)(162533806227266)(45079756050767)(31960201722614); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231020)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123555025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:AM6PR0402MB3335; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:AM6PR0402MB3335; x-forefront-prvs: 04740D25F1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(39860400002)(189002)(199003)(24454002)(13464003)(93886005)(6436002)(66066001)(2900100001)(6506006)(5250100002)(97736004)(7696004)(110136005)(54906003)(6116002)(2950100002)(86362001)(68736007)(102836003)(229853002)(5660300001)(74316002)(3846002)(53546010)(76176999)(478600001)(9686003)(966005)(50986999)(3660700001)(189998001)(54356999)(3280700002)(7736002)(8936002)(4326008)(305945005)(106356001)(101416001)(6306002)(81166006)(8676002)(316002)(81156014)(6246003)(8666007)(99286003)(25786009)(53936002)(55016002)(45080400002)(33656002)(105586002)(14454004)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR0402MB3335; H:AM6PR0402MB3334.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ff4df1c8-e5f9-482e-b356-08d51db14e53 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2017 03:09:30.2849 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3335 Subject: Re: Storing Non volatile variables on SD/NAND 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: Sat, 28 Oct 2017 03:05:47 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 PiAoYWxvbmcgdGhvc2UgbGluZXMpDQo+IA0KPiA2IC0gQnVpbGQgYW4gZW11bGF0ZWQgZGlzayBj b250cm9sbGVyIGFzIHdlbGwgYXMgTlYgcmVnaW9uIGluIGVsMyAob3INCj4gZWwyKSBhbmQgZXhw b3J0IHRoZW0gdG8gVUVGSSAmIHRoZSBPUyBhcyByZWFsIGRldmljZXMuIFRoZW4gdHJhcC9mb3J3 YXJkDQo+IHJlcXVlc3RzIHRvIHRoZSBhY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