intel: mma: Use new CBFS API
This patch changes the Intel MMA driver to use the new CBFS API. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: Icc11d0c2a9ec1bd7a1d6af362f849dac16375433 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52282 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
@@ -176,14 +176,10 @@ void soc_update_memory_params_for_mma(FSP_M_CONFIG *memory_cfg,
|
||||
/* Boot media is memory mapped for Skylake and Kabylake (SPI). */
|
||||
assert(CONFIG(BOOT_DEVICE_MEMORY_MAPPED));
|
||||
|
||||
memory_cfg->MmaTestContentPtr =
|
||||
(uintptr_t) rdev_mmap_full(&mma_cfg->test_content);
|
||||
memory_cfg->MmaTestContentSize =
|
||||
region_device_sz(&mma_cfg->test_content);
|
||||
memory_cfg->MmaTestConfigPtr =
|
||||
(uintptr_t) rdev_mmap_full(&mma_cfg->test_param);
|
||||
memory_cfg->MmaTestConfigSize =
|
||||
region_device_sz(&mma_cfg->test_param);
|
||||
memory_cfg->MmaTestContentPtr = (uintptr_t)mma_cfg->test_content;
|
||||
memory_cfg->MmaTestContentSize = mma_cfg->test_content_size;
|
||||
memory_cfg->MmaTestConfigPtr = (uintptr_t)mma_cfg->test_param;
|
||||
memory_cfg->MmaTestConfigSize = mma_cfg->test_param_size;
|
||||
memory_cfg->MrcFastBoot = 0x00;
|
||||
memory_cfg->SaGv = 0x02;
|
||||
}
|
||||
|
Reference in New Issue
Block a user