soc/intel/alderlake: Implement report_cache_info() function
commit55f5410fcd78a1dc4a78984149a676b10cf29ca8
authorSubrata Banik <subrata.banik@intel.com>
Fri, 23 Jul 2021 15:34:41 +0000 (23 21:04 +0530)
committerSubrata Banik <subrata.banik@intel.com>
Wed, 11 Aug 2021 19:12:18 +0000 (11 19:12 +0000)
tree1ab7c6130729477b76dec8b8fe1e6ee0dd07d5eb
parente2b5fee3b006f574ef27ee1e7b63735fb71858ae
soc/intel/alderlake: Implement report_cache_info() function

Make use of deterministic cache helper functions from Alder Lake
SoC code to print useful information during boot as below:

Cache: Level 3: Associativity = 12 Partitions = 1 Line Size=64 Sets=16384
Cache size = 12 MiB

Change-Id: I30a56266015d69abccb885b3f230689488ee0360
Signed-off-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55654
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
src/soc/intel/alderlake/bootblock/report_platform.c