x86: baytrail: Conditionally report S3 in the ACPI table
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:33 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commite652e1304a9f3b59b3e47005ea19b5b6a3e799d1
tree9652805e802f3b8e91a11363b5285c416e31af39
parentb727961b0706df57d408fe609cfe098a91626da3
x86: baytrail: Conditionally report S3 in the ACPI table

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>
arch/x86/include/asm/arch-baytrail/acpi/sleepstates.asl
arch/x86/include/asm/global_data.h