From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.x-arc.co.uk ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TMD9M-0001eI-MU for barebox@lists.infradead.org; Thu, 11 Oct 2012 07:25:47 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id E85C1BF0EB for ; Thu, 11 Oct 2012 09:25:39 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Thu, 11 Oct 2012 09:25:35 +0200 Message-Id: <1349940335-20960-2-git-send-email-t.gamez@phytec.de> In-Reply-To: <1349940335-20960-1-git-send-email-t.gamez@phytec.de> References: <1349940335-20960-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-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/2] ARM OMAP: Use wrapper in board files To: barebox@lists.infradead.org VXNlIHRoZSBvbWFwIHdyYXBwZXJzIGluIGJvYXJkIGZpbGVzIGluc3RlYWQgb2YgYWRkX2dlbmVy aWNfZGV2aWNlKCkuCkNvbXBpbGUgdGVzdGVkIGV2ZXJ5IGFmZmVjdGVkIGJvYXJkLiBUZXN0ZWQg b24gcGNtMDQ5LgoKU2lnbmVkLW9mZi1ieTogVGVyZXNhIEfDoW1leiA8dC5nYW1lekBwaHl0ZWMu ZGU+Ci0tLQogYXJjaC9hcm0vYm9hcmRzL2JlYWdsZS9ib2FyZC5jICAgICAgICAgICAgfCAgIDE3 ICsrKysrLS0tLS0tLS0tLS0tCiBhcmNoL2FybS9ib2FyZHMvb21hcDM0M3hkc3AvYm9hcmQuYyAg ICAgICB8ICAgMTIgKysrKy0tLS0tLS0tCiBhcmNoL2FybS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