coreboot/src
Jakub Czapiga 61fcb7e965 acpi/acpigen.h: Add more intuitive AML package closing functions
Until now every AML package had to be closed using acpigen_pop_len().
This commit introduces set of package closing functions corresponding
with their opening function names. For example acpigen_write_if()
opens if-statement package, acpigen_write_if_end() closes it.
Now acpigen_write_else() closes previously opened acpigen_write_if(),
so acpigen_pop_len() is not required before it.

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Change-Id: Icfdc3804cd93bde049cd11dec98758b3a639eafd
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50910
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lance Zhao
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-03-22 11:21:55 +00:00
..
acpi acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
arch cbfs: Remove prog_locate() for payloads (SELF and FIT) 2021-03-17 00:13:53 +00:00
commonlib cbfs: Move stage header into a CBFS attribute 2021-03-17 08:10:00 +00:00
console console/vtxprintf.c: Add missing <types.h> 2021-02-16 08:15:26 +00:00
cpu cpu/x86/mp_init.c: Drop unnecessary preprocessor usage 2021-03-19 11:33:51 +00:00
device pciexp_device: Rewrite LTR configuration 2021-03-15 06:04:38 +00:00
drivers acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
ec ec/system76/ec: Add OLED screen toggle 2021-02-27 09:38:19 +00:00
include acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
lib spd_bin: Replace get_spd_cbfs_rdev() with spd_cbfs_map() 2021-03-17 08:10:35 +00:00
mainboard mb/google/zork: Move max98357a out of baseboard 2021-03-22 03:51:23 +00:00
northbridge nb/intel/haswell: Consolidate memory-down SPD handling 2021-03-19 11:20:06 +00:00
security security/intel/cbnt: Make CBNT compatible with CMOS option table 2021-03-19 11:35:07 +00:00
soc acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
southbridge acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
superio acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
vendorcode vc/google/chromeos/acpi: Add type to OIPG declaration 2021-03-18 18:10:35 +00:00
Kconfig southbridge: Ensure common Kconfig gets included last 2021-02-18 10:11:39 +00:00