On 18 July 2018 at 22:42, Bin Meng <bmeng...@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...@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 <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot