From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 10.mo1.mail-out.ovh.net ([178.32.96.102] helo=mo1.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U5xQz-0006Me-CJ for barebox@lists.infradead.org; Thu, 14 Feb 2013 11:57:02 +0000 Received: from mail610.ha.ovh.net (b9.ovh.net [213.186.33.59]) by mo1.mail-out.ovh.net (Postfix) with SMTP id 9A30FFFA983 for ; Thu, 14 Feb 2013 13:12:24 +0100 (CET) From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Thu, 14 Feb 2013 12:56:51 +0100 Message-Id: <1360843011-7807-3-git-send-email-eric@eukrea.com> In-Reply-To: <1360843011-7807-1-git-send-email-eric@eukrea.com> References: <20130214121716.1f3ef4f7@e6520eb> <1360843011-7807-1-git-send-email-eric@eukrea.com> 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 3/3] falconwing: switch to generic peristent env To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogRXJpYyBCw6luYXJkIDxlcmljQGV1a3JlYS5jb20+Ci0tLQogYXJjaC9h cm0vYm9hcmRzL2NodW1ieV9mYWxjb253aW5nL2ZhbGNvbndpbmcuYyB8IDM4ICstLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tCiAxIGZpbGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDM3IGRlbGV0 aW9ucygtKQoKZGlmZiAtLWdpdCBhL2FyY2gvYXJtL2JvYXJkcy9jaHVtYnlfZmFsY29ud2luZy9m YWxjb253aW5nLmMgYi9hcmNoL2FybS9ib2FyZHMvY2h1bWJ5X2ZhbGNvbndpbmcvZmFsY29ud2lu Zy5jCmluZGV4IDA4MTg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