coreboot-kgpe-d16/src
Matt Delco 4929f43619 arch/x86/acpigen: wrap _PLD in a package
The ACPI spec has an asl example for _PLD in the form:

Name (_PLD, Package (0x01) { ToPLD (PLD_Revision = 0x2) })

When I ported this to acpigen and diffed the results I noticed that
the binary blob was no longer provided within a package.  The ACPI
spec (section 6.1.8 in version 6.2) defines _PLD as "a variable-length
Package containing a list of Buffers".  This commit changes
acpigen_write_pld to use a package (the one existing caller I found
isn't wrapping the result in a package so it doesn't look like
it was intended for the callers of acpigen_write_pld to be responsible
for using a package.

BUG=none
BRANCH=none
TEST=Verified that after this change a package is use and the result
of acpigen matches what was used in the original asl.

Change-Id: Ie2db63c976100109bfe976553e52565fb2d2d9df
Signed-off-by: Matt Delco <delco@chromium.org>
Reviewed-on: https://review.coreboot.org/c/31162
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
2019-02-05 13:40:53 +00:00
..
acpi
arch arch/x86/acpigen: wrap _PLD in a package 2019-02-05 13:40:53 +00:00
commonlib buildsystem: Promote rules.h to default include 2019-01-16 11:51:07 +00:00
console console/init: Print log level in coreboot banner 2019-01-17 13:19:53 +00:00
cpu cpu/intel/microcode: Enable verbose output 2019-01-29 12:30:07 +00:00
device src: Fix the warning "type 'hex' are always defined" 2019-01-27 11:14:26 +00:00
drivers usbdebug: Use fixed size field 2019-02-02 23:48:53 +00:00
ec ec/google/wilco: Add ACPI device for event interface 2019-02-04 19:21:01 +00:00
include cpu/x86/mtrr: Fix sign overflow 2019-02-05 13:24:30 +00:00
lib string: move strdup() & strconcat() to lib/string.c 2019-01-30 11:05:20 +00:00
mainboard mb/google/hatch: Add keyboard backlight support 2019-02-05 13:38:03 +00:00
northbridge sb/intel/common: Rename i2c_block_read() to i2c_eeprom_read() 2019-02-01 21:26:35 +00:00
security vboot: Makefile: Also apply CPPFLAGS include path fixups to ccopts 2019-01-28 13:38:16 +00:00
soc intel/quark: Fix COMMONLIB_STORAGE in CAR 2019-02-05 13:37:38 +00:00
southbridge sb/amd/agesa/hudson/Kconfig: Disable xHCI by default if no USE_BLOBS 2019-02-04 15:08:41 +00:00
superio superio/winbond/w83627ehg: Correct CR 0x2a comment 2019-02-04 11:20:28 +00:00
vendorcode vendorcode/google/chromeos: Use ACPI GPIO pin when possible 2019-02-01 21:56:07 +00:00
Kconfig [RFC]util/checklist: Remove this functionality 2019-01-14 19:42:59 +00:00