Attention is currently required from: Yidi Lin. Hello Yidi Lin,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/52849
to review the following change.
Change subject: mb/google/cherry: add pmif/spmi/pmic init in romstage ......................................................................
mb/google/cherry: add pmif/spmi/pmic init in romstage
Signed-off-by: Henry Chen henryc.chen@mediatek.com Signed-off-by: Yidi Lin yidi.lin@mediatek.com Change-Id: I2eeddb44b5495d05602c995a6103a56b09cf126a --- M src/mainboard/google/cherry/Makefile.inc A src/mainboard/google/cherry/romstage.c 2 files changed, 14 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/49/52849/1
diff --git a/src/mainboard/google/cherry/Makefile.inc b/src/mainboard/google/cherry/Makefile.inc index ada29aa..4831a39 100644 --- a/src/mainboard/google/cherry/Makefile.inc +++ b/src/mainboard/google/cherry/Makefile.inc @@ -7,6 +7,7 @@
romstage-y += memlayout.ld romstage-y += chromeos.c +romstage-y += romstage.c
ramstage-y += memlayout.ld ramstage-y += chromeos.c diff --git a/src/mainboard/google/cherry/romstage.c b/src/mainboard/google/cherry/romstage.c new file mode 100644 index 0000000..cba5995 --- /dev/null +++ b/src/mainboard/google/cherry/romstage.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(); +}