]> git.baikalelectronics.ru Git - uboot.git/commit
acpi: Move MCFG implementation to common lib
authorMoritz Fischer <moritzf@google.com>
Sat, 5 Feb 2022 20:17:45 +0000 (12:17 -0800)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Feb 2022 19:30:13 +0000 (12:30 -0700)
commit40207a2893238926a2a30ae32f55676242cb4026
tree74c1e5bf3e09f183f1f32cb6a0d21ac167b267aa
parent728be97c771fc9016adb7706a3dca271e6c6cc92
acpi: Move MCFG implementation to common lib

MCFG tables are used on multiple arches. Move to common ACPI lib.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Use sizeof(*mcfg) instead of sizeof(*header)
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/intel_common/acpi.c
arch/x86/cpu/tangier/acpi.c
arch/x86/include/asm/acpi_table.h
arch/x86/lib/acpi_table.c
lib/acpi/Makefile
lib/acpi/mcfg.c [new file with mode: 0644]