[U-Boot] [PATCH v1 7/7] x86: acpi: Don't touch hardware on HW reduced platforms

Bin Meng bmeng.cn at gmail.com
Fri Jul 28 13:46:50 UTC 2017


On Sat, Jul 22, 2017 at 9:45 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> Hi Andy,
>
> On Sat, Jul 22, 2017 at 3:32 AM, Andy Shevchenko
> <andriy.shevchenko at linux.intel.com> wrote:
>> If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware
>> communications.
>>
>> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
>> ---
>>  arch/x86/lib/acpi_table.c | 4 ++++
>>  1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c
>> index da6014fb41..3eb101105b 100644
>> --- a/arch/x86/lib/acpi_table.c
>> +++ b/arch/x86/lib/acpi_table.c
>> @@ -463,6 +463,10 @@ ulong write_acpi_tables(ulong start)
>>
>>         debug("ACPI: done\n");
>>
>> +       /* Don't touch ACPI hardware on HW reduced platforms */
>> +       if (fadt->flags & ACPI_FADT_HW_REDUCED_ACPI)
>> +               return current;
>> +
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list