diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-11-26 01:46:09 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2015-12-09 09:44:56 (GMT) |
commit | 789fa275b3750e60c60cb3d18eabc9467892c257 (patch) | |
tree | 0aff843729891c1fd2deec2a674c51aae93c4a31 /drivers | |
parent | d475d59020af32bd5b55ca48a5bc73213e53a7c8 (diff) | |
download | u-boot-789fa275b3750e60c60cb3d18eabc9467892c257.tar.xz |
x86: Remove HAVE_ACPI_RESUME
These are currently dead codes. Until we have complete ACPI support,
we don't know if it works or not. Remove to avoid confusion.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci_rom.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index d244543..ad1167e 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -33,10 +33,6 @@ #include <video_fb.h> #include <linux/screen_info.h> -#ifdef CONFIG_HAVE_ACPI_RESUME -#include <asm/acpi.h> -#endif - __weak bool board_should_run_oprom(pci_dev_t dev) { return true; @@ -44,10 +40,6 @@ __weak bool board_should_run_oprom(pci_dev_t dev) static bool should_load_oprom(pci_dev_t dev) { -#ifdef CONFIG_HAVE_ACPI_RESUME - if (acpi_get_slp_type() == 3) - return false; -#endif if (IS_ENABLED(CONFIG_ALWAYS_LOAD_OPROM)) return 1; if (board_should_run_oprom(dev)) |