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.85_2 #1 (Red Hat Linux)) id 1cEecu-0007d3-PW for barebox@lists.infradead.org; Wed, 07 Dec 2016 15:59:25 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Wed, 7 Dec 2016 16:59:00 +0100 Message-Id: <20161207155900.29320-1-u.kleine-koenig@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] spi: mvebu: fix baudrate selection for Armada 370/XP To: barebox@lists.infradead.org VGhlcmUgYXJlIHR3byBwcm9ibGVtcyB0aGF0IG1hZGUgdGhlIGRyaXZlciBjaG9vc2UgdGhlIHdy b25nIGJhdWRyYXRlCmNhbGN1bGF0aW9uIGFsZ29yaXRobToKCmEpIFRoZSBjb21wYXRpYmxlIHVz ZWQgb24gMzcwL1hQIGlzbid0IG1hcnZlbGwsYXJtYWRhLTM3MC14cC1zcGkgYnV0CiAgIG1hcnZl bGwsYXJtYWRhLTM3MC1zcGkgb3IgbWFydmVsbCxhcm1hZGEteHAtc3BpIHJlc3BlY3RpdmVseS4K YikgVGhlIHByb2JlIGZ1bmN0aW9uIHVzZXMKICAgCW1hdGNoID0gb2ZfbWF0Y2hfbm9kZShtdmVi dV9zcGlfZHRfaWRzLCBkZXYtPmRldmljZV9ub2RlKTsKICAgdG8gZGV0ZXJtaW5lIHRoZSByaWdo dCBhbGdvcml0aG0uIEFzIHRoZSBkZXZpY2VzIGFyZSBhbHNvIGNvbXBhdGlibGUKICAgdG8gbWFy dmVsbCxvcmlvbi1zcGkgYW5kIHRoaXMgY29tZXMgZmlyc3QgaW4gbXZlYnV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