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 merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e4Rjq-0000O5-Nz for barebox@lists.infradead.org; Tue, 17 Oct 2017 13:17:00 +0000 From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Tue, 17 Oct 2017 15:16:25 +0200 Message-Id: <20171017131625.23837-3-u.oelmann@pengutronix.de> In-Reply-To: <20171017131625.23837-1-u.oelmann@pengutronix.de> References: <20171017131625.23837-1-u.oelmann@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 2/2] commands: spi: do not restrict spi's data to be hex-formatted To: Barebox List VGhlIHByaWNlIHRvIHBheSBpcyBuZWVkaW5nIHRoZSB1c3VhbCBwcmVmaXggIjB4IiBmb3IgZWFj aCBoZXgtZm9ybWF0dGVkIG51bWJlci4KClNpZ25lZC1vZmYtYnk6IFVscmljaCDDlmxtYW5uIDx1 Lm9lbG1hbm5AcGVuZ3V0cm9uaXguZGU+Ci0tLQogY29tbWFuZHMvc3BpLmMgfCAyICstCiAxIGZp bGUgY2hhbmdlZCwgMSBpbnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkKCmRpZmYgLS1naXQgYS9j b21tYW5kcy9zcGkuYyBiL2NvbW1hbmRzL3NwaS5jCmluZGV4IDY2MDNiMzRiNjczYy4uN2JmMTkz YjBiYmJiIDEwMDY0NAotLS0gYS9jb21tYW5kcy9zcGkuYworKysgYi9jb21tYW5kcy9zcGkuYwpA QCAtODQsNyArODQsNyBAQCBzdGF0aWMgaW50IGRvX3NwaShpbnQgYXJnYywgY2hhciAqYXJndltd KQogCXJ4X2J1ZiA9IH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