From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.phytec.co.uk ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z0lIo-0007O9-UG for barebox@lists.infradead.org; Fri, 05 Jun 2015 06:40:28 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 74DDAA00243 for ; Fri, 5 Jun 2015 08:41:32 +0200 (CEST) From: Wadim Egorov Date: Fri, 5 Jun 2015 08:39:08 +0200 Message-Id: <1433486348-29192-1-git-send-email-w.egorov@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: [PATCH v2] image: am335x: Generate SPI MLO images To: barebox@lists.infradead.org R2VuZXJhdGUgKi5zcGkuaW1nIGZpbGVzIGZvciBTUEkgbG9hZGluZyBvbiBBTTMzNXguCgpTaWdu ZWQtb2ZmLWJ5OiBXYWRpbSBFZ29yb3YgPHcuZWdvcm92QHBoeXRlYy5kZT4KLS0tClBsZWFzZSBp Z25vcmUgdGhlIGZpcnN0IHBhdGNoLiBUaGF0IHdhcyBhIGJhZCBhcHByb2FjaC4KCkkgaGF2ZSB0 d28gcXVlc3Rpb25zLgoxLiBEb2VzIHRoZSBhZiBpbnZlbnRpb25zIEdGIGJvYXJkIHN1cHBvcnQg U1BJIGJvb3Q/IElmIG5vdCwgd2UgY2FuIGRyb3AgdGhlCiAgIHNwaSBpbWFnZSBnZW5lcmF0aW9u LgoyLiBCdWlsZGluZyB0aGUgYmFyZWJveCB3aXRoIG1vcmUgdGhhbiBvbmUgY29yZSB3aWxsIHBy b2R1Y2UgZXJyb3JzOgoKZm9wZW46IE5vIHN1Y2ggZmlsZSBvciBkaXJlY3RvcnkKIC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