From 789fa275b3750e60c60cb3d18eabc9467892c257 Mon Sep 17 00:00:00 2001 From: Bin Meng Date: Wed, 25 Nov 2015 17:46:09 -0800 Subject: 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 Acked-by: Simon Glass Tested-by: Simon Glass --- drivers/pci/pci_rom.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'drivers/pci/pci_rom.c') 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 #include -#ifdef CONFIG_HAVE_ACPI_RESUME -#include -#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)) -- cgit v1.1