[U-Boot] [PATCH v2 2/3] x86: acpi: Don't touch ACPI hardware in write_acpi_tables()

Simon Glass sjg at chromium.org
Thu Jul 19 15:21:35 UTC 2018


On 18 July 2018 at 22:42, Bin Meng <bmeng.cn at gmail.com> wrote:
> write_acpi_tables() currently touches ACPI hardware to switch to
> ACPI mode at the end. Move such operation out of this function,
> so that it only does what the function name tells us.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - move variable definition to the first line in the function
>
>  arch/x86/cpu/cpu.c        | 21 ++++++++++++++++++---
>  arch/x86/lib/acpi_table.c | 11 -----------
>  2 files changed, 18 insertions(+), 14 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list