[U-Boot] [PATCH v3] arm: add acpi support for the arm

Andy Shevchenko andy.shevchenko at gmail.com
Mon Nov 25 09:14:44 UTC 2019


On Mon, Nov 25, 2019 at 4:09 AM Steven Hao <steven_hao5189 at outlook.com> wrote:

Please, avoid using top-posting.

> Dear Bin:
>
> Firstly:
> I know that acpi about x86 is existing. And it is usefull for x86 platfporm. If it  is used to arm platform,some modification may have to do. For example,facs table is useless for arm.
>
> In adition,The acpi table is writed statically and then modified dynamically in my patch. It is a new method.
>
> I want to consult that whether my method is helpful or not.
>

> Secondly:
> If i want to reuse the x86-acpi. I will overwrite the write_acpi_tables function. But the definition about acpi strcuture is placed in arch/x86/include/asm directory. It can not be used to arm plateform. If the acpi library need to surport for all platform,i think it should move to /include directory.

That's exactly what refactoring means: move the stuff to be used in
generic fashion.

-- 
With Best Regards,
Andy Shevchenko


More information about the U-Boot mailing list