[U-Boot] [PATCH v2 1/3] x86: acpi: Move APIs unrelated to ACPI tables generation to a separate library

Bin Meng bmeng.cn at gmail.com
Fri Jul 20 01:38:47 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:
>> acpi_find_fadt(), acpi_find_wakeup_vector() and enter_acpi_mode()
>> are something unrelated to ACPI tables generation. Move these to
>> a separate library.
>>
>> This also fixes several style issues reported by checkpatch in the
>> original codes.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>> Changes in v2: None
>>
>>  arch/x86/cpu/cpu.c                |   1 +
>>  arch/x86/include/asm/acpi.h       |  41 +++++++++++++++
>>  arch/x86/include/asm/acpi_table.h |  28 ----------
>>  arch/x86/lib/Makefile             |   1 +
>>  arch/x86/lib/acpi.c               | 108 ++++++++++++++++++++++++++++++++++++++
>>  arch/x86/lib/acpi_s3.c            |   1 +
>>  arch/x86/lib/acpi_table.c         | 101 +----------------------------------
>>  7 files changed, 153 insertions(+), 128 deletions(-)
>>  create mode 100644 arch/x86/include/asm/acpi.h
>>  create mode 100644 arch/x86/lib/acpi.c
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list