ACPI S3: Remove unused acpi_is_wakeup_s4()
Change-Id: Id4728b637c784ee2bff7b175e13f4c10419b7f1b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47692 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
4e56f75bb5
commit
67a2507c78
@ -41,11 +41,6 @@ int acpi_is_wakeup_s3(void)
|
|||||||
return (acpi_slp_type == ACPI_S3);
|
return (acpi_slp_type == ACPI_S3);
|
||||||
}
|
}
|
||||||
|
|
||||||
int acpi_is_wakeup_s4(void)
|
|
||||||
{
|
|
||||||
acpi_handoff_wakeup();
|
|
||||||
return (acpi_slp_type == ACPI_S4);
|
|
||||||
}
|
|
||||||
#endif /* ENV_RAMSTAGE */
|
#endif /* ENV_RAMSTAGE */
|
||||||
|
|
||||||
#define WAKEUP_BASE 0x600
|
#define WAKEUP_BASE 0x600
|
||||||
|
@ -1072,13 +1072,11 @@ static inline int acpi_is_wakeup_s3(void)
|
|||||||
#else
|
#else
|
||||||
int acpi_is_wakeup(void);
|
int acpi_is_wakeup(void);
|
||||||
int acpi_is_wakeup_s3(void);
|
int acpi_is_wakeup_s3(void);
|
||||||
int acpi_is_wakeup_s4(void);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
static inline int acpi_is_wakeup(void) { return 0; }
|
static inline int acpi_is_wakeup(void) { return 0; }
|
||||||
static inline int acpi_is_wakeup_s3(void) { return 0; }
|
static inline int acpi_is_wakeup_s3(void) { return 0; }
|
||||||
static inline int acpi_is_wakeup_s4(void) { return 0; }
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline uintptr_t acpi_align_current(uintptr_t current)
|
static inline uintptr_t acpi_align_current(uintptr_t current)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user