mb/google/rauru: Deassert PCIe PERST# earlier in romstage
Reorder the PCIe reset before mtk_dram_init to overlap the de-assert time with the DRAM initialization process. This change helps to optimize the initialization sequence and reduce overall boot time. BRANCH=rauru TEST=Build pass BUG=b:391333055 Change-Id: I24b254ff3a3cbe6d9a60a8e6afea2c621e0a07e2 Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86311 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
bbe8a63e34
commit
259306a296
1 changed files with 2 additions and 3 deletions
|
|
@ -47,11 +47,10 @@ void platform_romstage_main(void)
|
|||
clk_buf_init();
|
||||
if (CONFIG(RTC))
|
||||
rtc_boot();
|
||||
if (CONFIG(PCI))
|
||||
mtk_pcie_deassert_perst();
|
||||
mtk_dram_init();
|
||||
modem_power_down();
|
||||
dvfs_init();
|
||||
thermal_init();
|
||||
|
||||
if (CONFIG(PCI))
|
||||
mtk_pcie_deassert_perst();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue