On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko
<andriy.shevche...@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.shevche...@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...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to