x86: acpi: Add one API to find OS wakeup vector
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:36 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
commite76bf38f180b0c9325b17506f1518329d82cbed8
tree8ce67b116d477a575794a7d391d71ba8085571fd
parent2b2d666f9caca189e4014f8e23088b0afc360e22
x86: acpi: Add one API to find OS wakeup vector

This adds one API acpi_find_wakeup_vector() to locate OS wakeup
vector from the ACPI FACS table, to be used in the S3 boot path.

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/acpi_table.h
arch/x86/include/asm/tables.h
arch/x86/lib/acpi_table.c