From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d7ikv-0002OI-OZ for barebox@lists.infradead.org; Mon, 08 May 2017 13:31:19 +0000 From: Oleksij Rempel Date: Mon, 8 May 2017 15:30:54 +0200 Message-Id: <20170508133054.10569-1-o.rempel@pengutronix.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] Documentation: provide documentation for RNG interfaces. To: barebox@lists.infradead.org Cc: Oleksij Rempel U2lnbmVkLW9mZi1ieTogT2xla3NpaiBSZW1wZWwgPG8ucmVtcGVsQHBlbmd1dHJvbml4LmRlPgot LS0KIERvY3VtZW50YXRpb24vdXNlci9yYW5kb20ucnN0ICAgICAgfCA2MiArKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKwogRG9jdW1lbnRhdGlvbi91c2VyL3VzZXItbWFudWFs LnJzdCB8ICAxICsKIDIgZmlsZXMgY2hhbmdlZCwgNjMgaW5zZXJ0aW9ucygrKQogY3JlYXRlIG1v ZGUgMTAwNjQ0IERvY3VtZW50YXRpb24vdXNlci9yYW5kb20ucnN0CgpkaWZmIC0tZ2l0IGEvRG9j dW1lbnRhdGlvbi91c2VyL3JhbmRvbS5yc3QgYi9Eb2N1bWVudGF0aW9uL3VzZXIvcmFuZG9tLnJz dApuZXcgZmlsZSBtb2RlIDEwMDY0NAppbmRleCAwMDAwMDAwMDAwLi5mN2M1YjJkNGM2Ci0tLSAv ZGV2L251bGwKKysrIGIvRG9jdW1lbnRhdGlvbi91c2VyL3JhbmRvbS5yc3QKQEAgLTAsMCArMSw2 MiBAQAorUmFuZG9tIE51bWJl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