From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gh82m-000482-If for barebox@lists.infradead.org; Wed, 09 Jan 2019 07:13:22 +0000 Received: by mail-pg1-x542.google.com with SMTP id n2so2917649pgm.3 for ; Tue, 08 Jan 2019 23:12:52 -0800 (PST) From: Andrey Smirnov Date: Tue, 8 Jan 2019 23:12:06 -0800 Message-Id: <20190109071210.18896-18-andrew.smirnov@gmail.com> In-Reply-To: <20190109071210.18896-1-andrew.smirnov@gmail.com> References: <20190109071210.18896-1-andrew.smirnov@gmail.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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 17/21] PCI: imx6: Do not wait for speed change on i.MX7 To: barebox@lists.infradead.org Cc: Andrey Smirnov UG9ydCBvZiBhIExpbnV4IGNvbW1pdCBlNmRjZDg3ZmZmNjlhOWQ0NTQxMDRiNjU1NjkwNzQ4NTVj Zjk1YjFlCgogIEFzIGNhbiBiZSBzZWVuIGZyb20gWzFdOgoKICAgICIuLi50aGUgZGlmZmVyZW50 IGJlaGF2aW9yIGJldHdlZW4gaU1YNlEgUENJZSBhbmQgaU1YN0QgUENJZSBtYXliZSBjYXVzZWQK ICAgIGJ5IHRoZSBkaWZmZXJlbnQgY29udHJvbGxlciB2ZXJzaW9uLgoKICAgIFJlZ2FyZGluZyB0 byB0aGUgRE9DIGRlc2NyaXB0aW9uLCB0aGUgRElSRUNUX1NQRUVEX0NIQU5HRSBzaG91bGQgYmUK ICAgIGNsZWFyZWQgYWZ0ZXIgdGhlIHNwZWVkIGNoYW5nZSBmcm9tIEdFTjEgdG8gR0VOMi4gVW5m b3J0dW5hdGVseSwgd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