From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Mon, 25 Nov 2019 11:14:44 +0200 Subject: [U-Boot] [PATCH v3] arm: add acpi support for the arm In-Reply-To: References: Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Mon, Nov 25, 2019 at 4:09 AM Steven Hao 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