Gaggery Tsai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/77254?usp=email )
Change subject: src/commonlib: Add ACPI BDAT in cbmem support ......................................................................
src/commonlib: Add ACPI BDAT in cbmem support
This patch adds ACPI BDAT in CBMEM support list. ACPI BDAT implementation will request memory allocation through CBMEM.
BUG=b:293441360 TEST=1. Add -DBDAT_SUPPORT=1 to build FSP packages. 2. Enable SOC_INTEL_RMT_PLUS flag with Brya. 3. Flash the image on Brya and ensure BDAT ACPI table is available under /sys/firmware/acpi/tables/. 4. copy cbmem to the DUT and run 'cbmem --list' to ensure the existence of ACPI BDAT.
Change-Id: Ic4925adfdaff36e28d47829322a8405ed92cad17 Signed-off-by: Gaggery Tsai gaggery.tsai@intel.com --- M src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h 1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/77254/1
diff --git a/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h b/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h index 8e6e6cd..796fc7d 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h +++ b/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h @@ -5,6 +5,7 @@
#define CBMEM_ID_ACPI 0x41435049 #define CBMEM_ID_ACPI_BERT 0x42455254 +#define CBMEM_ID_ACPI_BDAT 0x42444154 #define CBMEM_ID_ACPI_CNVS 0x434e5653 #define CBMEM_ID_ACPI_GNVS 0x474e5653 #define CBMEM_ID_ACPI_HEST 0x48455354 @@ -92,6 +93,7 @@ #define CBMEM_ID_TO_NAME_TABLE \ { CBMEM_ID_ACPI, "ACPI " }, \ { CBMEM_ID_ACPI_BERT, "ACPI BERT " }, \ + { CBMEM_ID_ACPI_BDAT, "ACPI BDAT " }, \ { CBMEM_ID_ACPI_CNVS, "CHROMEOS NVS" }, \ { CBMEM_ID_ACPI_GNVS, "ACPI GNVS " }, \ { CBMEM_ID_ACPI_HEST, "ACPI HEST " }, \