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 1cgdBU-0006Pc-G7 for barebox@lists.infradead.org; Wed, 22 Feb 2017 20:06:46 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Wed, 22 Feb 2017 21:06:18 +0100 Message-Id: <20170222200618.5723-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] mvebu: Fix fixup of mbus device-tree ranges To: barebox@lists.infradead.org Q29tbWl0cyAibXZlYnU6IHthcm1hZGEtMzcwLXhwLGRvdmUsa2lya3dvb2R9OiBzaW1wbGlmeSBz b2MgaW5pdCBjb2RlCmZsb3ciIHNpbXBsaWZpZWQgdG9vIG11Y2guIFRoZSBwcm9ibGVtIGlzIHRo YXQgaWYgdGhlIGR0YiB1c2VkIGZvcgpwcm9iaW5nIGRvZXNuJ3QgdXNlIHRoZSBzYW1lIG1idXMg d2luZG93IGFkZHJlc3MgYXMgYmFyZWJveCAoaS5lLgoweGYxMDAwMDAwKSB0aGUgZml4dXAgZmFp bHMgYmVjYXVzZSBhYm92ZSBjb21taXRzIG1vdmVkIHRoZSBpbmZvcm1hdGlvbgphYm91dCB0aGUg cmVhbCBwb3NpdGlvbiB0byBhIHBvc3Rjb3JlIGluaXRjYWxsIHdoaWNoIGlzIHRvbyBsYXRlIGJl Y2F1c2UKdGhlIGZpeHVwIGhhcHBlbnMgaW4gb2ZfYXJtX2luaXQgd2hpY2ggcnVucyBhcyBjb3Jl IGluaXRjYWxsLgoKU2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7Z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