[PATCH 04/19] x86: apl: Avoid accessing the PCI bus before it is probed

sjg at google.com sjg at google.com
Fri Jan 10 09:57:50 CET 2020


The PCI bus is not actually probed by the time the ofdata_to_platdata()
method is called since that happens in the uclass's post_probe() method.
Update the PMC and P2SB drivers to access the bus in its probe() method.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/cpu/apollolake/p2sb.c | 20 ++++++++++++--------
 arch/x86/cpu/apollolake/pmc.c  | 20 +++++++++++++++++---
 2 files changed, 29 insertions(+), 11 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list