soc/mediatek/mt8186: Increase CBFS_MCACHE size to 8KiB

The current CBFS mcache size (roughly 7KiB) is insufficient for mt8186,
so we need to increase it by 1KiB (and decrease the stack by 1KiB).

Error logs:
CBFS ERROR: mcache overflow, should increase CBFS_MCACHE size!
CBFS: mcache @0x0010e004 built for 63 files, used 0xde4 of 0xdfc bytes

BUG=b:202871018
TEST=no cbfs error logs.

Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: I1e627ede3774665575006f752f89101e3c5bde9f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60529
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Rex-BC Chen 2021-12-29 13:35:06 +08:00 committed by Hung-Te Lin
parent a8a9552d75
commit c46cadd22b
1 changed files with 7 additions and 7 deletions

View File

@ -23,13 +23,13 @@ SECTIONS
{
SRAM_START(0x00100000)
VBOOT2_WORK(0x00100000, 12K)
STACK(0x00103000, 8K)
TTB(0x00105000, 28K)
DMA_COHERENT(0x0010C000, 4K)
TPM_TCPA_LOG(0x0010D000, 2K)
FMAP_CACHE(0x0010D800, 2K)
WATCHDOG_TOMBSTONE(0x0010E000, 4)
CBFS_MCACHE(0x0010E004, 7K - 4)
TTB(0x00103000, 28K)
DMA_COHERENT(0x0010A000, 4K)
TPM_TCPA_LOG(0x0010B000, 2K)
FMAP_CACHE(0x0010B800, 2K)
WATCHDOG_TOMBSTONE(0x0010C000, 4)
CBFS_MCACHE(0x0010C004, 8K - 4)
STACK(0x0010E000, 7K)
TIMESTAMP(0x0010FC00, 1K)
/* MT8186 has 64KB SRAM. */
SRAM_END(0x00110000)