From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.rapiddevelopmentkit.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwU9Y-0002xy-AB for barebox@lists.infradead.org; Tue, 09 Jul 2013 09:24:17 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id CDF87BF0FE for ; Tue, 9 Jul 2013 11:17:33 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Tue, 9 Jul 2013 11:23:20 +0200 Message-Id: <1373361802-31080-10-git-send-email-t.gamez@phytec.de> In-Reply-To: <1373361802-31080-1-git-send-email-t.gamez@phytec.de> References: <1373361802-31080-1-git-send-email-t.gamez@phytec.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: [PATCHv2 10/12] arm: omap: store boot source info from ROM loader To: barebox@lists.infradead.org VGhlIFJPTSBsb2FkZXIgcGFzc2VzIHRoZSBhZGRyZXNzIG9mIGEgYnVmZmVyIHRvIHRoZSBNTE8g aW4KcmVnaXN0ZXIgMC4gU3RvcmUgdGhpcyBkYXRhIHNvIHdlIGNhbiBmaW5kIHRoZSBib290IHNv dXJjZSBsYXRlci4KT24gdGhlIHNhbWUgd2F5IHRoZSBib290aW5mb3JtYXRpb24gYXJlIHBhc3Nl ZCB0byB0aGUgYmFyZWJveCwKdGhlbi4gSXQgaGFzIHRvIGJlIGVuc2h1cmVkIHRoYXQgcjAgY29u dGFpbnMgYWx3YXlzIHRoZQpidWZmZXIgb3IgdGhlIGJvb3Qgc291cmNlIGRldGVjdGlvbiB3aWxs IG5vdCB3b3JrLgoKQXBwbGllZCB0aGlzIG9uIGFsbCBPTUFQcy4g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