CBMEM ACPI: Move resume handler
Handler is ACPI/x86 specific so move details out of cbmem code. With static CBMEM initialisation, ramstage will need to test for S3 wakeup condition so publish also acpi_is_wakeup(). Change-Id: If591535448cdd24a54262b534c1a828fc13da759 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/4619 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
parent
8526c3a403
commit
cb28f3f8ed
7 changed files with 32 additions and 20 deletions
|
|
@ -166,8 +166,10 @@ void cbmem_add_lb_mem(struct lb_memory *mem);
|
|||
void cbmem_list(void);
|
||||
void cbmem_arch_init(void);
|
||||
void cbmem_print_entry(int n, u32 id, u64 start, u64 size);
|
||||
void cbmem_fail_resume(void);
|
||||
#else
|
||||
static inline void cbmem_arch_init(void) {}
|
||||
static inline void cbmem_fail_resume(void) {}
|
||||
#endif /* __PRE_RAM__ */
|
||||
|
||||
#endif /* __ASSEMBLER__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue