xref: /openbmc/u-boot/arch/x86/include/asm/acpi.h (revision acc2372d)
1 /*
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 ...*/
21 int acpi_get_slp_type(void);
22 void apci_set_slp_type(int type);
23 
24 #endif
25