[U-Boot] [PATCH v1 5/7] x86: acpi: Deduplicate acpi_fill_madt() implementation
Bin Meng
bmeng.cn at gmail.com
Sat Jul 22 13:33:05 UTC 2017
On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:
> In Baytrail and Quark support code acpi_fill_madt() is identical.
>
> Deduplicate its implementation by moving to lib/acpi_tables.c.
>
> At the same time mark acpi_fill_madt() with __weak attribute to keep a
> possibility to override it in platform code
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
> arch/x86/cpu/baytrail/acpi.c | 29 -----------------------------
> arch/x86/cpu/quark/acpi.c | 29 -----------------------------
> arch/x86/lib/acpi_table.c | 29 +++++++++++++++++++++++++++++
> 3 files changed, 29 insertions(+), 58 deletions(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list