Attention is currently required from: Lance Zhao, Bora Guvendik, Hannah Williams, Jakub Czapiga, Jérémy Compostella, Paul Menzel, Tim Wawrzynczak, Nick Vaccaro.

Cliff Huang uploaded patch set #4 to this change.

View Change

acpi: Add function to print debug string directly from formatted string

Generate formatted string and generate code for printing this string
in ACPI.

ex: pcie_rp = 1
acpigen_write_debug("calling _ON for RP: %u", pcie_rp);

will generate ACPI code:

Debug = "calling _ON for RP: 1"

With this new function, the following functions won't be needed and
therefore to be removed:
acpigen_concatenate_string_string()
acpigen_concatenate_string_int()
acpigen_write_debug_concatenate_string_string()
acpigen_write_debug_concatenate_string_int()

BRANCH=firmware-brya-14505.B
TEST=Add above functions in the acpigen code and check the generated
SSDT table after OS boot.

Signed-off-by: Cliff Huang <cliff.huang@intel.com>
Change-Id: Id4a42e5854516a22b7bc4559c2ed08680722c5ba
---
M src/acpi/acpigen.c
M src/include/acpi/acpigen.h
2 files changed, 44 insertions(+), 42 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/13/73113/4

To view, visit change 73113. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id4a42e5854516a22b7bc4559c2ed08680722c5ba
Gerrit-Change-Number: 73113
Gerrit-PatchSet: 4
Gerrit-Owner: Cliff Huang <cliff.huang@intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik@intel.com>
Gerrit-Reviewer: Hannah Williams <hannah.williams@intel.com>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Reviewer: Lance Zhao <lance.zhao@gmail.com>
Gerrit-Reviewer: Nick Vaccaro <nvaccaro@google.com>
Gerrit-Reviewer: Tim Wawrzynczak <inforichland@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Jakub Czapiga <jacz@semihalf.com>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Lance Zhao <lance.zhao@gmail.com>
Gerrit-Attention: Bora Guvendik <bora.guvendik@intel.com>
Gerrit-Attention: Hannah Williams <hannah.williams@intel.com>
Gerrit-Attention: Jakub Czapiga <jacz@semihalf.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Attention: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Attention: Tim Wawrzynczak <inforichland@gmail.com>
Gerrit-Attention: Nick Vaccaro <nvaccaro@google.com>
Gerrit-MessageType: newpatchset