[U-Boot] [PATCH 1/3] pci: Remove CONFIG_ALWAYS_LOAD_OPROM

Bin Meng bmeng.cn at gmail.com
Tue Jun 14 11:02:38 CEST 2016


This option is defined at nowhere. Remove it.

Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
---

 drivers/pci/pci_rom.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c
index 9eb605b..3ae9231 100644
--- a/drivers/pci/pci_rom.c
+++ b/drivers/pci/pci_rom.c
@@ -41,8 +41,6 @@ __weak bool board_should_run_oprom(struct udevice *dev)
 
 static bool should_load_oprom(struct udevice *dev)
 {
-	if (IS_ENABLED(CONFIG_ALWAYS_LOAD_OPROM))
-		return 1;
 	if (board_should_run_oprom(dev))
 		return 1;
 
-- 
2.7.4



More information about the U-Boot mailing list