From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp3-g21.free.fr ([2a01:e0c:1:1599::12]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Rzda7-0005XI-R9 for barebox@lists.infradead.org; Tue, 21 Feb 2012 00:27:49 +0000 Received: from localhost.localdomain (unknown [82.233.81.124]) by smtp3-g21.free.fr (Postfix) with ESMTP id 687CFA61B0 for ; Tue, 21 Feb 2012 01:27:41 +0100 (CET) From: =?UTF-8?q?Eric=20B=C3=A9nard?= Date: Tue, 21 Feb 2012 01:27:33 +0100 Message-Id: <1329784059-6006-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 1/7] add i2c clock support To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogRXJpYyBCw6luYXJkIDxlcmljQGV1a3JlYS5jb20+Ci0tLQogYXJjaC9h cm0vbWFjaC1pbXgvc3BlZWQtaW14NTMuYyB8ICAgMjYgKysrKysrKysrKysrKysrKysrKysrKysr KysKIDEgZmlsZXMgY2hhbmdlZCwgMjYgaW5zZXJ0aW9ucygrKSwgMCBkZWxldGlvbnMoLSkKCmRp ZmYgLS1naXQgYS9hcmNoL2FybS9tYWNoLWlteC9zcGVlZC1pbXg1My5jIGIvYXJjaC9hcm0vbWFj aC1pbXgvc3BlZWQtaW14NTMuYwppbmRleCAwZDZhYzI0Li5hMjM4NWZhIDEwMDY0NAotLS0gYS9h cmNoL2FybS9tYWNoLWlteC9zcGVlZC1pbXg1My5jCisrKyBiL2FyY2gvYXJtL21hY2gtaW14L3Nw ZWVkLWlteDUzLmMKQEAgLTE2OSw2ICsxNjksMzEgQEAgdW5zaWduZWQgbG9uZyBpbXhfZ2V0X2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