From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YqHRb-0005kV-N0 for barebox@lists.infradead.org; Thu, 07 May 2015 08:46:12 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Thu, 7 May 2015 10:45:45 +0200 Message-Id: <1430988346-25450-1-git-send-email-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] devfs: be more lax with partition boundaries To: barebox@lists.infradead.org SWYgYSBwYXJ0aXRpb24gc3RhcnRzIGluc2lkZSBpdHMgcGFyZW50IGRldmljZSBidXQgaXMgdG9v IGJpZyBzdWNoIHRoYXQKaXQgZXh0ZW5kcyBvdmVyIHRoZSBkZXZpY2UgYm91bmRhcnksIGp1c3Qg Y2hvcCBpdCB0byB0aGUgZGV2aWNlJ3MgZW5kLgoKVGhpcyBtYXRjaGVzIHRoZSBiZWhhdmlvdXIg b2YgTGludXguCgpUaGUgbW90aXZhdGlvbiBmb3IgdGhpcyBjaGFuZ2UgaXMgdGhhdCBpdCBtYWtl cyBpdCBwb3NzaWJsZSBpbiBzb21lCmNhc2VzIHRvIGhhdmUgdGhlIHBhcnRpdGlvbmluZyBpbiBh IGRldmljZSB0cmVlIGZpeGVkIGFuZCBzdGlsbCBhbGxvdwpkaWZmZXJlbnQgZmxhc2ggc2l6ZXMu CgpTaWduZWQtb2ZmLWJ5OiBVd2UgS2xlaW5lLUvDtm5pZyA8dS5rbGVpbmUta29lbmlnQHBlbmd1 dHJvbml4LmRlPgotLS0KIGZzL2RldmZzLWNvcmUuYyB8IDE0ICsrKysrKys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