From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gjxFV-0006gb-6Q for barebox@lists.infradead.org; Thu, 17 Jan 2019 02:17:52 +0000 Received: by mail-pf1-x443.google.com with SMTP id w73so4003915pfk.10 for ; Wed, 16 Jan 2019 18:17:41 -0800 (PST) From: Andrey Smirnov Date: Wed, 16 Jan 2019 18:16:56 -0800 Message-Id: <20190117021700.4443-14-andrew.smirnov@gmail.com> In-Reply-To: <20190117021700.4443-1-andrew.smirnov@gmail.com> References: <20190117021700.4443-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 v4 13/17] 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 b3J0dW5hd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