[U-Boot] [PATCH v2 2/3] x86: acpi: Don't touch ACPI hardware in write_acpi_tables()
Bin Meng
bmeng.cn at gmail.com
Fri Jul 20 01:38:52 UTC 2018
On Thu, Jul 19, 2018 at 11:21 PM, Simon Glass <sjg at chromium.org> wrote:
> 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>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list