mb/google/cherry: Initialize pmif/spmi/pmic in romstage
Signed-off-by: Henry Chen <henryc.chen@mediatek.com> Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Change-Id: I2eeddb44b5495d05602c995a6103a56b09cf126a Reviewed-on: https://review.coreboot.org/c/coreboot/+/52849 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
parent
3d6816abcd
commit
0575778667
|
@ -7,6 +7,7 @@ verstage-y += reset.c
|
||||||
|
|
||||||
romstage-y += memlayout.ld
|
romstage-y += memlayout.ld
|
||||||
romstage-y += chromeos.c
|
romstage-y += chromeos.c
|
||||||
|
romstage-y += romstage.c
|
||||||
|
|
||||||
ramstage-y += memlayout.ld
|
ramstage-y += memlayout.ld
|
||||||
ramstage-y += chromeos.c
|
ramstage-y += chromeos.c
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
|
#include <arch/stages.h>
|
||||||
|
#include <soc/mt6315.h>
|
||||||
|
#include <soc/mt6359p.h>
|
||||||
|
#include <soc/pmif.h>
|
||||||
|
|
||||||
|
void platform_romstage_main(void)
|
||||||
|
{
|
||||||
|
mtk_pmif_init();
|
||||||
|
mt6359p_init();
|
||||||
|
mt6315_init();
|
||||||
|
}
|
Loading…
Reference in New Issue