]> git.baikalelectronics.ru Git - uboot.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)
commit4c648afd2b0e65b4acabc40488ea342e8fb62c8a
treefc3aa85693a824a2da2ab0decc685e8ec1d593dd
parent70631de5fd8022ef2cb1e8e265ec4db3e1f57683
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