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.90_1 #2 (Red Hat Linux)) id 1fkRYw-0007gv-NP for barebox@lists.infradead.org; Tue, 31 Jul 2018 10:07:32 +0000 Date: Tue, 31 Jul 2018 12:07:16 +0200 From: Roland Hieber Message-ID: <20180731100716.7ripjx5lbop6gvsn@pengutronix.de> References: <20180725133618.1510-1-r.hieber@pengutronix.de> <20180725133618.1510-6-r.hieber@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180725133618.1510-6-r.hieber@pengutronix.de> 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 05/13] ARM: MXS: i.MX28: add autodetection of memory banks To: Sascha Hauer Cc: barebox@lists.infradead.org U2FzY2hhLAoKd2hpbGUgbG9va2luZyBmb3Igc29tZXRoaW5nIGRpZmZlcmVudCwgSSBub3RpY2Vk IHRoZSBmb2xsb3dpbmcgcGF0Y2hlcwppbiBvbmUgb2YgeW91ciBwZXJzb25hbCBicmFuY2hlczoK CmIyZjZlZWIgU2FzY2hhIEhhdWVyICAg4pePIEFSTTogaS5NWDI4OiBBZGQgbWVtb3J5IHNpemUg ZGV0ZWN0aW9uCmViNjA3YWUgU2FzY2hhIEhhdWVyICAg4pePIEFSTTogaS5NWDIzOiBBZGQgbWVt b3J5IHNpemUgZGV0ZWN0aW9uCgpUaGV5IGxvb2sgbXVjaCBjbGVhbmVyIHRoYW4gbXkgcGF0Y2gs IHNvIGlmIHlvdSBjb25zZW50LCBJJ2xsIGluY2x1ZGUKdGhlbSBpbiB0aGUgdjIgc2VyaWVzIGlu c3RlYWQgb2YgdGhpcyBvbmUuCgogLSBSb2xhbm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bGlz dApiYXJlYm94QGxpc3RzLmluZnJhZGVhZC5vcmcKaHR0cDovL2xpc3RzLmluZnJhZGVhZC5vcmcv bWFpbG1hbi9saXN0aW5mby9iYXJlYm94Cg==