pci: Remove CONFIG_ALWAYS_LOAD_OPROM
authorBin Meng <bmeng.cn@gmail.com>
Tue, 14 Jun 2016 09:02:38 +0000 (02:02 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jul 2016 05:46:01 +0000 (13:46 +0800)
This option is defined at nowhere. Remove it.

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

index 9eb605be74297794e3411af0d436a603d5f31bad..3ae9231b5f7371a4f9dc9feeb5e0f603fcc1dfce 100644 (file)
@@ -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;