From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-cys01nam02on0712.outbound.protection.outlook.com ([2a01:111:f400:fe45::712] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2I7P-0008BS-LU for barebox@lists.infradead.org; Tue, 18 Sep 2018 15:40:53 +0000 From: "Baeuerle, Florian" Date: Tue, 18 Sep 2018 15:40:36 +0000 Message-ID: <658e075c06bb74d2f7cd615b50417486769c4dd5.camel@allegion.com> References: <20180918145354.30191-1-s.hauer@pengutronix.de> In-Reply-To: <20180918145354.30191-1-s.hauer@pengutronix.de> Content-Language: en-US Content-ID: 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: Re: [PATCH] ARM: i.MX27: Fix NAND boot with newer gcc To: "s.hauer@pengutronix.de" , "barebox@lists.infradead.org" Cc: "Dold, Wolfram" VGVzdGVkLWJ5OiBGbG9yaWFuIELDpHVlcmxlIDxmbG9yaWFuLmJhZXVlcmxlQGFsbGVnaW9uLmNv bT4NCg0KVGhhbmtzIQ0KDQpBbSBEaWVuc3RhZywgZGVuIDE4LjA5LjIwMTgsIDE2OjUzICswMjAw IHNjaHJpZWIgU2FzY2hhIEhhdWVyOg0KPiBUaGlzIGlzIGEgZml4IGZvciBhIHZlcnkgd2VpcmQg aWNhY2hlIHByb2JsZW0gd2hlbiBib290aW5nIGZyb20gTkFORC4NCj4gV2l0aCBhIE9TRUxBUy0y MDE4LjAxIHRvb2xjaGFpbiBpbXgyN19iYXJlYm94X2Jvb3RfbmFuZF9leHRlcm5hbCgpIGlzDQo+ IGNvbXBpbGVkIGxpa2UgdGhpczoNCj4gDQo+IDAwMDAwNjNjIDxpbXgyN19iYXJlYm94X2Jvb3R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