From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eKjDU-0006Eu-3v for barebox@lists.infradead.ORG; Fri, 01 Dec 2017 11:10:50 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Fri, 1 Dec 2017 12:10:17 +0100 Message-Id: <20171201111017.29098-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] net/e1000: indicate at boot time if flash is in secure mode To: barebox@lists.infradead.org SWYgdGhlIGZsYXNoIGlzIGluIHNlY3VyZSBtb2RlIGl0IGlzIG5vdCBwb3NzaWJsZSB0byBtb2Rp ZnkgaXRzCmNvbnRlbnRzLiBTbyBsb2cgdGhhdCB1c2VmdWwgaW5mb3JtYXRpb24gYXQgcHJvYmUg dGltZS4KClNpZ25lZC1vZmYtYnk6IFV3ZSBLbGVpbmUtS8O2bmlnIDx1LmtsZWluZS1rb2VuaWdA cGVuZ3V0cm9uaXguZGU+Ci0tLQogZHJpdmVycy9uZXQvZTEwMDAvZTEwMDAuaCAgfCAgMSArCiBk cml2ZXJzL25ldC9lMTAwMC9lZXByb20uYyB8IDEwICsrKysrKystLS0KIDIgZmlsZXMgY2hhbmdl ZCwgOCBpbnNlcnRpb25zKCspLCAzIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2RyaXZlcnMv bmV0L2UxMDAwL2UxMDAwLmggYi9kcml2ZXJzL25ldC9lMTAwMC9lMTAwMC5oCmluZGV4IDUwZDQ5 MTE4ZjVlNC4uMTU1OGIzYzdmNWM3IDEwMDY0NAotLS0gYS9kcml2ZXJ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