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 1dktQ4-0006qj-GF for barebox@lists.infradead.org; Thu, 24 Aug 2017 14:47:42 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 24 Aug 2017 16:47:14 +0200 Message-Id: <20170824144714.11716-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] mtd: nand-mxs: improve error messages To: barebox@lists.infradead.org VGhpcyBjb21taXQgYWRkcyB0aGUgcmV0dXJuIHZhbHVlIG9mIHRoZSBmYWlsaW5nIGZ1bmN0aW9u IHRvIG9uZSBtZXNzYWdlCmFuZCBtYWtlcyB0aGUgb3RoZXIgdW5pcXVlLgoKU2lnbmVkLW9mZi1i eTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KLS0t CiBkcml2ZXJzL210ZC9uYW5kL25hbmRfbXhzLmMgfCA0ICsrLS0KIDEgZmlsZSBjaGFuZ2VkLCAy IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvZHJpdmVycy9tdGQv bmFuZC9uYW5kX214cy5jIGIvZHJpdmVycy9tdGQvbmFuZC9uYW5kX214cy5jCmluZGV4IGJhYzVj NGE0Nzc5OC4uODM3YmIyM2E2MDZiIDEwMDY0NAotLS0gYS9kcml2ZXJzL210ZC9uYW5kL25hbmRf bXhzLmMKKysrIGIvZHJpdmVycy9tdGQvbmFuZC9uYW5kX214cy5jCkBAIC00NTksNyArNDU5L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