mb/google/rauru: Add pwrsel init in romstage
BUG=b:317009620 TEST=build pass, reg set ok, log show: PWR_SEL = 0x0 PWRSEL_CONFIG = 0x7fff Change-Id: I37c0fb905f99491ca99f04bc5bfa6abfb1c01059 Signed-off-by: Jarried Lin <jarried.lin@mediatek.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85620 Reviewed-by: Yidi Lin <yidilin@google.com> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
c3265da005
commit
ea646c0514
1 changed files with 2 additions and 0 deletions
|
|
@ -3,11 +3,13 @@
|
|||
#include <arch/stages.h>
|
||||
#include <soc/emi.h>
|
||||
#include <soc/irq2axi.h>
|
||||
#include <soc/mtk_pwrsel.h>
|
||||
#include <soc/pcie.h>
|
||||
|
||||
void platform_romstage_main(void)
|
||||
{
|
||||
irq2axi_disable();
|
||||
pwrsel_init();
|
||||
mtk_dram_init();
|
||||
|
||||
if (CONFIG(PCI))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue