Xi Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/48869 )
Change subject: TEST-ONLY: src/mediatek/mt8192: force full calibration for blob ......................................................................
TEST-ONLY: src/mediatek/mt8192: force full calibration for blob
Signed-off-by: Xi Chen xixi.chen@mediatek.com Change-Id: I8cab81af29aaa9b2b56ff9f655bb9580f2abee19 --- M src/soc/mediatek/mt8192/memory.c 1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/69/48869/1
diff --git a/src/soc/mediatek/mt8192/memory.c b/src/soc/mediatek/mt8192/memory.c index 07c4b9f..ad84ad7 100644 --- a/src/soc/mediatek/mt8192/memory.c +++ b/src/soc/mediatek/mt8192/memory.c @@ -10,6 +10,8 @@ #include <symbols.h> #include <timer.h>
+#define FORCE_FULL_K + static int mt_mem_test(const struct dramc_data *dparam) { if (CONFIG(MEMORY_TEST)) { @@ -148,7 +150,11 @@
/* Load calibration params from flash and run fast calibration */ mem_init_set_default_config(dparam, dram_info); +#ifdef FORCE_FULL_K + if (0) { +#else if (dparam_ops->read_from_flash(dparam)) { +#endif printk(BIOS_INFO, "DRAM-K: Running fast calibration\n"); stopwatch_init(&sw);