On Fri, Apr 21, 2017 at 10:24 PM, Bin Meng <bmeng...@gmail.com> wrote: > Add one member in the global data to store previous sleep state, > and display the state during boot in print_cpuinfo(). > > 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_ss_string() > - use a string array for sleep state string > - add a description for gd->arch.prev_sleep_state > - change to use debug() in default_print_cpuinfo() > > arch/x86/cpu/cpu.c | 6 ++++++ > arch/x86/include/asm/acpi_s3.h | 13 +++++++++++++ > arch/x86/include/asm/global_data.h | 3 +++ > arch/x86/lib/fsp/fsp_common.c | 1 + > 4 files changed, 23 insertions(+) >
applied to u-boot-x86/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot