]> git.ipfire.org Git - thirdparty/u-boot.git/commit
x86: baytrail: acpi: Create buffers outside of the methods
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Jun 2020 04:15:13 +0000 (21:15 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 2 Jun 2020 01:16:13 +0000 (09:16 +0800)
commit319506c7a972fcf89a804c1345b2644c2e3f29e9
treefc3aa85693a824a2da2ab0decc685e8ec1d593dd
parentb9ce32ec3a0483ad4eee0f85ed2b4085fe69349a
x86: baytrail: acpi: Create buffers outside of the methods

Create buffers outside of the methods as ACPICA 20200430 complains
about this:

  Remark 2173 - Creation of named objects within a method is highly
  inefficient, use globals or method local variables instead
  (\_SB.PCI0.LPCB.IURT._CRS)

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/x86/include/asm/arch-baytrail/acpi/lpc.asl