diff options
author | Junzhi Zhao <junzhi.zhao@mediatek.com> | 2018-06-13 16:20:00 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-01-03 22:23:10 +0000 |
commit | 66ee65f0368e095fb305e0e84bf69e4c9aede358 (patch) | |
tree | ad22e1b04a15d8c493a870b0cfd43ca4c26f4743 /src/mainboard/google/kukui/romstage.c | |
parent | 4d15d2fc122a3548099504fc1f49d70087ac45ad (diff) | |
download | coreboot-66ee65f0368e095fb305e0e84bf69e4c9aede358.tar.xz |
google/kukui: Initialize DRAM from romstage
Add DRAM support for google kukui.
BUG=b:80501386
BRANCH=none
TEST=Boots correctly on Kukui
Change-Id: I1ed01404343745c883b22a648966327bdcabc5c2
Signed-off-by: Huayang Duan <huayang.duan@mediatek.com>
Reviewed-on: https://review.coreboot.org/c/28438
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Diffstat (limited to 'src/mainboard/google/kukui/romstage.c')
-rw-r--r-- | src/mainboard/google/kukui/romstage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/romstage.c b/src/mainboard/google/kukui/romstage.c index 4855334149..629692dd72 100644 --- a/src/mainboard/google/kukui/romstage.c +++ b/src/mainboard/google/kukui/romstage.c @@ -14,11 +14,13 @@ */ #include <arch/stages.h> +#include <soc/emi.h> #include <soc/mmu_operations.h> #include <soc/mt6358.h> void platform_romstage_main(void) { mt6358_init(); + mt_mem_init(get_sdram_config()); mtk_mmu_after_dram(); } |