mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-10 23:03:29 +09:00
![Bin Meng](/assets/img/avatar_default.png)
When U-Boot is built without ACPI S3 support, it should not report S3 in the ACPI table otherwise when kernel does STR it won't work. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Stefan Roese <sr@denx.de>
16 lines
427 B
Plaintext
16 lines
427 B
Plaintext
/*
|
|
* Copyright (C) 2007-2009 coresystems GmbH
|
|
* Copyright (C) 2016 Bin Meng <bmeng.cn@gmail.com>
|
|
*
|
|
* Modified from coreboot src/soc/intel/baytrail/acpi/sleepstates.asl
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
Name(\_S0, Package() {0x0, 0x0, 0x0, 0x0})
|
|
#ifdef CONFIG_HAVE_ACPI_RESUME
|
|
Name(\_S3, Package() {0x5, 0x0, 0x0, 0x0})
|
|
#endif
|
|
Name(\_S4, Package() {0x6, 0x0, 0x0, 0x0})
|
|
Name(\_S5, Package() {0x7, 0x0, 0x0, 0x0})
|