soc/mediatek/mt8192: Init PLL in bootblock
Signed-off-by: CK Hu <ck.hu@mediatek.com> Change-Id: If16d244e07d9f369efd991132587a92e38200b45 Reviewed-on: https://review.coreboot.org/c/coreboot/+/45395 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
This commit is contained in:
parent
fd3c727ed9
commit
804b3bd10f
2 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,7 @@ bootblock-y += bootblock.c
|
|||
bootblock-y += flash_controller.c
|
||||
bootblock-y += ../common/gpio.c gpio.c
|
||||
bootblock-y += ../common/mmu_operations.c
|
||||
bootblock-y += ../common/pll.c pll.c
|
||||
bootblock-$(CONFIG_SPI_FLASH) += ../common/spi.c spi.c
|
||||
bootblock-y += ../common/timer.c
|
||||
bootblock-y += ../common/uart.c
|
||||
|
|
|
@ -2,10 +2,12 @@
|
|||
|
||||
#include <bootblock_common.h>
|
||||
#include <soc/mmu_operations.h>
|
||||
#include <soc/pll.h>
|
||||
#include <soc/wdt.h>
|
||||
|
||||
void bootblock_soc_init(void)
|
||||
{
|
||||
mtk_mmu_init();
|
||||
mtk_wdt_init();
|
||||
mt_pll_init();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue