On Fri, Apr 21, 2017 at 10:24 PM, Bin Meng <bmeng...@gmail.com> wrote: > To do something more in acpi_resume() like turning on ACPI mode, > we need locate ACPI FADT table pointer first. But currently this > is done in acpi_find_wakeup_vector(). > > This changes acpi_resume() signature to accept ACPI FADT pointer > as the parameter. A new API acpi_find_fadt() is introduced, and > acpi_find_wakeup_vector() is updated to use FADT pointer as the > parameter as well. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > Reviewed-by: Simon Glass <s...@chromium.org> > > --- > > Changes in v2: > - add a function comment block for acpi_find_fadt() > > arch/x86/cpu/cpu.c | 6 +++--- > arch/x86/include/asm/acpi_s3.h | 5 +++-- > arch/x86/include/asm/acpi_table.h | 11 ++++++++++- > arch/x86/lib/acpi_s3.c | 7 ++++++- > arch/x86/lib/acpi_table.c | 16 +++++++++++----- > 5 files changed, 33 insertions(+), 12 deletions(-) >
applied to u-boot-x86/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot