coreboot-kgpe-d16/src/soc/mediatek/mt8192
Yu-Ping Wu 71c5ca764f soc/mediatek: Use MRC cache API for asurada
Use the MRC cache API for asurada, and sync dramc_param.h with dram
blob (CL:*3674585). With this change, the checksum, originally stored in
flash, is replaced with a hash in TPM. In addition, in recovery boot,
full calibration will always ne performed, and the cached calibration
data will be cleared from flash.

This change increases ROMSTAGE size from 236K to 264K. Most of the
increase is caused by TPM-related functions.

Add new API mtk_dram_init() to emi.h, so that 'dramc_parameter' can be
moved to soc folder.

With this CL, there is no significant change in boot time. Normal AP
reboot time (fast calibration) is consistently 0.98s as before, so
this change should not affect the result of platform_BootPerf.

BUG=b:170687062
TEST=emerge-asurada coreboot
TEST=Hayato boots with both full and fast calibration
BRANCH=none

Cq-Depend: chrome-internal:3674585, chrome-internal:3704751
Change-Id: Ief942048ce530433a57e8205d3a68ad56235b427
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51620
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2021-03-24 05:43:50 +00:00
..
include/soc soc/mediatek/mt8192: Enlarge ROMSTAGE to 272K 2021-03-24 05:43:05 +00:00
bootblock.c mb/google/asurada: revise PMIC and RTC initialization 2021-03-15 02:27:57 +00:00
clkbuf.c soc/mediatek/mt8192: add clkbuf and srclken_rc MT6359P driver 2021-01-19 04:02:07 +00:00
ddp.c soc/mediatek/mt8192: Add ddp driver 2020-12-14 04:02:52 +00:00
devapc.c soc/mediatek/mt8192: devapc: Add SCP domain setting 2021-03-22 01:51:37 +00:00
eint_event.c soc/mediatek/mt8192: eint: unmask eint event mask register 2020-12-30 06:04:10 +00:00
gpio.c
i2c.c soc/mediatek/mt8192: adjust i2c "tLOW" and "tSU,STO" 2021-03-16 11:19:24 +00:00
Kconfig soc/mediatek: Use MRC cache API for asurada 2021-03-24 05:43:50 +00:00
Makefile.inc mb/google/asurada: revise PMIC and RTC initialization 2021-03-15 02:27:57 +00:00
mcupm.c
mmu_operations.c
mt6315.c mb/google/asurada: revise PMIC and RTC initialization 2021-03-15 02:27:57 +00:00
mt6359p.c mb/google/asurada: revise PMIC and RTC initialization 2021-03-15 02:27:57 +00:00
mtcmos.c
pll.c soc/mediatek/mt8192: Add function to raise the CCI frequency 2021-01-28 09:21:39 +00:00
pmif.c soc/mediatek: Remove unused <string.h> 2021-02-16 17:26:16 +00:00
pmif_clk.c
pmif_spi.c
pmif_spmi.c soc/mediatek/mt8192: mt6315: update initial flow 2021-03-10 01:29:07 +00:00
rtc.c soc/mediatek/mt8192: add clkbuf and srclken_rc MT6359P driver 2021-01-19 04:02:07 +00:00
soc.c soc/mediatek/mt8192: devapc: add basic devapc drivers 2020-12-28 13:38:38 +00:00
spi.c soc/mediatek/mt8192: Move flash_controller.c to common/ 2020-12-31 03:09:19 +00:00
spm.c soc/mediatek/mt8192/spm.c: Add missing <string.h> 2021-02-04 09:50:28 +00:00
srclken_rc.c soc/mediatek/mt8192: add clkbuf and srclken_rc MT6359P driver 2021-01-19 04:02:07 +00:00
sspm.c soc/mediatek: Remove unused <console/console.h> 2021-02-15 10:50:23 +00:00
ufs.c soc/mediatek/mt8192: ufs: Disable reference clock 2020-12-16 06:27:12 +00:00
usb.c