[U-Boot] [PATCH v2 05/22] x86: Store and display previous sleep state

Bin Meng bmeng.cn at gmail.com
Wed Apr 26 07:34:14 UTC 2017


On Fri, Apr 21, 2017 at 10:24 PM, Bin Meng <bmeng.cn at 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.cn at gmail.com>
> Reviewed-by: Simon Glass <sjg at 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!


More information about the U-Boot mailing list