blob: d0e30b49ccfcb1b35976e3faaf381fb52cc39451 [file] [log] [blame]
Angel Pons32859fc2020-04-02 23:48:27 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Aaron Durbincddcc802013-02-08 17:15:53 -06002#ifndef ROMSTAGE_HANDOFF_H
3#define ROMSTAGE_HANDOFF_H
4
Aaron Durbin77e13992016-11-29 17:43:04 -06005/* Returns 0 if initialized. Else < 0 if handoff structure not added. */
Aaron Durbinafe8aee2016-11-29 21:37:42 -06006int romstage_handoff_init(int is_s3_resume);
Aaron Durbin77e13992016-11-29 17:43:04 -06007
Aaron Durbin6c191d82016-11-29 21:22:42 -06008/* Return 1 if resuming or 0 if not. */
Aaron Durbinafe8aee2016-11-29 21:37:42 -06009int romstage_handoff_is_resume(void);
Aaron Durbin6c191d82016-11-29 21:22:42 -060010
Aaron Durbincddcc802013-02-08 17:15:53 -060011#endif /* ROMSTAGE_HANDOFF_H */