Add PLL and clock init code, frequency meter and APIs for raising little CPU/CCI frequency. TEST=build pass BUG=b:202871018 Signed-off-by: Chun-Jie Chen <chun-jie.chen@mediatek.com> Change-Id: Id46d0708e7ba0c1a4043a5dce33ef69421cb59c5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58936 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
14 lines
234 B
C
14 lines
234 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#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();
|
|
}
|