blob: 4872b9286058824cb6849a529b9104758c837c15 [file] [log] [blame]
Simon Glass3e0332c2014-11-14 18:18:33 -07001/*
2 * From coreboot
3 *
4 * Copyright (C) 2004 SUSE LINUX AG
5 * Copyright (C) 2004 Nick Barker
6 * Copyright (C) 2008-2009 coresystems GmbH
7 * (Written by Stefan Reinauer <stepan@coresystems.de>)
8 *
9 * SPDX-License-Identifier: GPL-2.0
10 */
11
12#ifndef __ASM_ACPI_H
13#define __ASM_ACPI_H
14
15#define RSDP_SIG "RSD PTR " /* RSDT pointer signature */
16#define ACPI_TABLE_CREATOR "U-BootAC" /* Must be exactly 8 bytes long! */
17#define OEM_ID "U-Boot" /* Must be exactly 6 bytes long! */
18#define ASLC "U-Bo" /* Must be exactly 4 bytes long! */
19
20/* 0 = S0, 1 = S1 ...*/
21int acpi_get_slp_type(void);
22void apci_set_slp_type(int type);
23
24#endif