[U-Boot] [PATCH v2 12/28] x86: acpi: Various changes to acpi_table.h

Bin Meng bmeng.cn at gmail.com
Sun May 8 10:18:20 CEST 2016


On Sun, May 8, 2016 at 2:46 AM, Simon Glass <sjg at chromium.org> wrote:
> On 7 May 2016 at 08:46, Bin Meng <bmeng.cn at 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.cn at gmail.com>
>> Reviewed-by: Stefan Roese <sr at denx.de>
>> Tested-by: Stefan Roese <sr at 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 <sjg at chromium.org>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list