On 7 May 2016 at 08:46, Bin Meng <bmeng...@gmail.com> wrote: > - Use "U-BOOT" and "U-BOOTBL" for the OEM ID and OEM table ID. > - Do not typedef acpi_header_t, instead use struct acpi_table_hader. > - Use a shorter name aslc_id and aslc-revision. > - Change MCFG base address to use 32-bit value pairs (_l and _h). > - Apply ACPI_APIC_ prefix to MADT APIC type macros and make > their names to be more readable. > - Apply __packed to struct acpi_madt_irqoverride and struct > acpi_madt_lapic_nmi tables, as they are not naturally aligned > by the compiler which leads to wrong sizeof(struct). > - Rename model to res1 as it is reserved after ACPI spec 1.0. > - Apply ACPI_ prefix to the PM profile macros and change them > to enum. > - Add ospm_flags to FACS structure which is defined since ACPI 4.0. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > Reviewed-by: Stefan Roese <s...@denx.de> > Tested-by: Stefan Roese <s...@denx.de> > > --- > > Changes in v2: > - Update commit message to mention the reason of adding __packed > > arch/x86/include/asm/acpi_table.h | 72 > +++++++++++++++++++++------------------ > arch/x86/lib/acpi_table.c | 71 ++++++++++++++++++++------------------ > 2 files changed, 75 insertions(+), 68 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot