soc/intel/cmn/pmc: Retrieve SoC QDF information via PMC IPC
commit4b574281f09df6f112a5c302ec3ec9592e6a7e8d
authorSubrata Banik <subratabanik@google.com>
Tue, 3 Dec 2024 18:18:15 +0000 (3 23:48 +0530)
committerSubrata Banik <subratabanik@google.com>
Fri, 6 Dec 2024 00:22:51 +0000 (6 00:22 +0000)
treefc61bc43d8938e03bad41163eb393931ef506822
parent4ce53048797a77911d5de0e2be7cc0136d481a67
soc/intel/cmn/pmc: Retrieve SoC QDF information via PMC IPC

This commit introduces a new function,
`retrieve_soc_qdf_info_via_pmc_ipc()`, to retrieve the SoC QDF
information string using the PMC IPC mechanism.

This function allows for more flexible use of the SoC QDF information,
enabling its use in various data structures like the SMBIOS Type 4
table.

The existing `pmc_dump_soc_qdf_info()` function is updated to use this
new function to retrieve the QDF information before printing it.

TEST=Able to build and boot google/fatcat.

Change-Id: I91ccf8aae4be9e9bbcad8ef2f422b88edef66376
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85455
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
src/soc/intel/common/block/include/intelblocks/pmclib.h
src/soc/intel/common/block/pmc/pmclib.c