]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Make load_oprom and run_oprom independent
authorBin Meng <bmeng.cn@gmail.com>
Tue, 14 Jun 2016 09:02:39 +0000 (02:02 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jul 2016 05:46:01 +0000 (13:46 +0800)
commitc0aea6ba8b008aa3e28d85d70f7fb11885d560e0
treeeb5aab8426e8b29ac79829ab67a8e26c3fb19812
parentb45dd66225dfe60d692efde1e7bd36b5842434b7
pci: Make load_oprom and run_oprom independent

At present should_load_oprom() calls board_should_run_oprom() to
determine whether oprom should be loaded. But sometimes we just
want to load oprom without running. Make them independent.

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