]> git.baikalelectronics.ru Git - uboot.git/commit
pci: Avoid auto-config when chain loading
authorSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 15:12:56 +0000 (09:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Apr 2020 09:40:16 +0000 (17:40 +0800)
commitb721c74fb57036bf5e4f17c8d067b28225a8976e
treebdfdeec5b284b8917b6d5f5c83a6a72b89c450c6
parent1dae8e78f8befa627c034516da8eaae6c84b603e
pci: Avoid auto-config when chain loading

When U-Boot is not the first-stage bootloader we don't want to
re-configure the PCI devices, since this has already been done. Add a
check to avoid this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci-uclass.c