From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2HXi-0003kp-73 for barebox@lists.infradead.org; Wed, 02 Jul 2014 10:13:35 +0000 Received: by mail-we0-f177.google.com with SMTP id u56so10816521wes.8 for ; Wed, 02 Jul 2014 03:13:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140625064212.GK15686@pengutronix.de> References: <1403609192-5862-1-git-send-email-matteo.fortini@gmail.com> <53AA29CD.3040506@atmel.com> <20140625064212.GK15686@pengutronix.de> From: =?UTF-8?Q?Rapha=C3=ABl_Poggi?= Date: Wed, 2 Jul 2014 12:12:31 +0200 Message-ID: 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: Re: [PATCH 1/2] sama5d3x: fix HSMC MODE register offset and add TIMINGS register To: barebox@lists.infradead.org SGkgYWxsICEKClNvIHdoYXQncyB0aGUgc3RhdHVzIG9mIHRoZXNlIHBhdGNoPyBNYXR0ZW8sIGFy ZSB5b3Ugd29ya2luZyBvbiBhIHYyCnBhdGNoIHNlcmllcyA/CgpSYXBoYcOrbAoKMjAxNC0wNi0y NSA4OjQyIEdNVCswMjowMCBTYXNjaGEgSGF1ZXIgPHMuaGF1ZXJAcGVuZ3V0cm9uaXguZGU+Ogo+ IE9uIFdlZCwgSnVuIDI1LCAyMDE0IGF0IDA5OjQ1OjQ5QU0gKzA4MDAsIEJvIFNoZW4gd3JvdGU6 Cj4+IEhpIE1hdHRlbywKPj4gICBUaGFua3MgZm9yIHlvdXIgcGF0Y2guCj4+Cj4+IEhpIEplYW4t Q2hyaXN0b3BoZSBQTEFHTklPTC1WSUxMQVJELAo+PiAgIEZvciB0aGlzIHBhdG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5MV9TTUNfVENMUiAgICAgICAgICAgKDB4MGYgIDw8ICAwKSAgICAgICAgICAgICAgICAgICAv KiBDTEUgdG8gUkVOIExvdyBEZWxheSAqLwo+PiA+KyNkZWZpbmUgICAgICAgICAgICAgICAgICAg ICBBVDkxX1NNQ19UQ0xSXyh4KSAgICAgICAoKHgpIDw8IDApCj4+ID4rI2RlZmluZSAgICAgICAg ICAgICBBVDkxX1NNQ19UQURMICAgICAgICAgICAoMHgwZiAgPDwgIDQpICAgICAgICAgICAgICAg ICAgIC8qIEFMRSB0byBEYXRhIFN0YXJ0ICovCj4+ID4rI2RlZmluZSAgICAgICAgICAgICAgICAg ICAgIEFUOTFfU01DX1RBRExfKHgpICAgICAgICgoeCkgPDwgNCkKPj4gPisjZGVmaW5lICAgICAg ICAgICAgIEFUOTFfU01DX1RBUiAgICAgICAgICAgICgweDBmICA8PCAgOCkgICAgICAgICAgICAg ICAgICAgLyogQUxFIHRvIFJFTiBMb3cgRGVsYXkgKi8KPj4gPisjZGVmaW5lICAgICAgICAgICAg ICAgICAgICAgQVQ5MV9TTUNfVEFSXyh4KSAgICAgICAgKCh4KSA8PCA4KQo+PiA+KyNkZWZpbmUg ICAgICAgICAgICAgQVQ5MV9TTUNfT0NNUyAgICAgICAgICAgKDB4MSAgIDw8IDEyKSAgICAgICAg ICAgICAgICAgICAvKiBPZmYgQ2hpcCBNZW1vcnkgU2NyYW1ibGluZyBFbmFibGUgKi8KPj4gPisj ZGVmaW5lICAgICAgICAgICAgICAgICAgICAgQVQ5MV9TTUNfT0NNU18oeCkgICAgICAgKCh4KSA8 PCAxMikKPj4gPisjZGVmaW5lICAgICAgICAgICAgIEFUOTFfU01DX1RSUiAgICAgICAgICAgICgw eDBmICA8PCAxNikgICAgICAgICAgICAgICAgICAgLyogUmVhZHkgdG8gUkVOIExvdyBEZWxheSAq Lwo+PiA+KyNkZWZpbmUgICAgICAgICAgICAgICAgICAgICBBVDkxX1NNQ19UUlJfKHgpICAgICAg ICAoKHgpIDw8IDE2KQo+PiA+KyNkZWZpbmUgICAgICAgICAgICAgQVQ5MV9TTUNfVFdCICAgICAg ICAgICAgKDB4MGYgIDw8IDI0KSAgICAgICAgICAgICAgICAgICAvKiBXRU4gSGlnaCB0byBSRU4g dG8gQnVzeSAqLwo+PiA+KyNkZWZpbmUgICAgICAgICAgICAgICAgICAgICBBVDkxX1NNQ19UV0Jf KHgpICAgICAgICAoKHgpIDw8IDI0KQo+PiA+KyNkZWZpbmUgICAgICAgICAgICAgQVQ5MV9TTUNf UkJOU0VMICAgICAgICAgKDB4MDcgIDw8IDI4KSAgICAgICAgICAgICAgICAgICAvKiBSZWFkeS9C dXN5IExpbmUgU2VsZWN0aW9uICovCj4+ID4rI2RlZmluZSAgICAgICAgICAgICAgICAgICAgIEFU OTFfU01DX1JCTlNFTF8oeCkgICAgICgoeCkgPDwgMjgpCj4+ID4rI2RlZmluZSAgICAgICAgICAg ICBBVDkxX1NNQ19ORlNFTCAgICAgICAgICAoMHgwMSAgPDwgMzEpICAgICAgICAgICAgICAgICAg IC8qIE5hbmQgRmxhc2ggU2VsZWN0aW9uICovCj4+ID4rI2RlZmluZSAgICAgICAgICAgICAgICAg ICAgIEFUOTFfU01DX05GU0VMXyh4KSAgICAgICgoeCkgPDwgMzEpCj4+ID4rCj4+ID4rI2RlZmlu ZSBBVDkxX1NNQ19NT0RFICAgICAgICAgICAgICAgKChhdDkxX3NvY19pbml0ZGF0YS50eXBlID09 IEFUOTFfU09DX1NBTUE1RDMpID8gMHgxMCA6IDB4MGMpICAgICAgICAgICAgICAgICAgICAgICAg ICAgIC8qIE1vZGUgUmVnaXN0ZXIgZm9yIENTIG4gKi8KPj4KPj4gSGVyZSBtYWtlIG1lIHRoaW5r aW5nIG1vcmUsIGlmIG5ldyBTb0MgYWRkZWQgYW5kIE1PREUgcmVnaXN0ZXIncwo+PiBvZmZzZXQg aXMgdGhlIHNhbWUgYXMgc2FtYTVkMywgdGhlbiBpdCB3aWxsIGJlOgo+Pi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