soc/mediatek/mt8183: Get more space for PreRAM memconsole
commite477626d821f76fa846b9b7b99cfbcbf21eefc00
authorHung-Te Lin <hungte@chromium.org>
Wed, 13 Nov 2019 09:37:17 +0000 (13 17:37 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Sat, 16 Nov 2019 20:43:04 +0000 (16 20:43 +0000)
tree6a5f250fa97a2c5d2d92c1614407acd70e2d5d16
parentbcd1d1c32e4648b2878dcc673e558791deb75efe
soc/mediatek/mt8183: Get more space for PreRAM memconsole

Leave more space for PreRAM memconsole especially for seeing complete
logs when doing DRAM full calibration (that outputs in 200+k to UART):
 - Shrink Full-K mem space (the ELF blob today needs ~132K)
 - Move PRERAM_CBFS_CACHE to L2C since it's no used after DRAM is up
 - Shrink TIMESTAMP to 1k (all other non-MTK ARM SOCs use only 1k)
 - Incease PRERAM_CBMEM_CONSOLE to 63k-4
 - Reordered few sections to align at better locations

BUG=b:144542023
TEST=emerge-kukui coreboot chromeos-bootimage; boot and see logs

Change-Id: I8696fb01653c0a581cf62e687dc523cb6fed9a32
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/36859
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
src/soc/mediatek/mt8183/include/soc/memlayout.ld