soc/qualcomm/x1p42100: Add placeholder for early clock initialization

This commit adds the `clock_init()` function for the Qualcomm x1p42100
SoC. This function is now called at the beginning of
`bootblock_soc_init()` to enable SoC-specific clock setup early in the
boot process.

The `clock_init()` function definition is currently a placeholder
and will be populated with the required clock configurations in
subsequent changes.

BUG=b:404985109
TEST=Able to build google/bluey

Change-Id: Ifb856ea4132def9cd3a36b081d24037a1a4efaba
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87850
Reviewed-by: Pranava Y N <pranavayn@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2025-05-27 03:47:13 +00:00
commit 481001e13b
3 changed files with 7 additions and 0 deletions

View file

@ -9,6 +9,7 @@
void bootblock_soc_init(void)
{
clock_init();
if (!CONFIG(COMPRESS_BOOTBLOCK))
soc_mmu_init();

View file

@ -16,3 +16,8 @@ void clock_configure_dfsr(int qup)
{
/* placeholder */
}
void clock_init(void)
{
/* placeholder */
}

View file

@ -37,6 +37,7 @@ enum clk_qup {
};
/* TODO: update as per datasheet */
void clock_init(void);
void clock_configure_qspi(uint32_t hz);
void clock_enable_qup(int qup);
void clock_configure_dfsr(int qup);