Skip to content
Snippets Groups Projects
Commit b156da91 authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Bin Meng
Browse files

x86: acpi: Deduplicate acpi_fill_madt() implementation


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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 2dcbef6f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment