diff options
Diffstat (limited to 'src/soc/amd/cezanne/fch.c')
-rw-r--r-- | src/soc/amd/cezanne/fch.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/soc/amd/cezanne/fch.c b/src/soc/amd/cezanne/fch.c index 81fb5d2f01..f39eeb6f28 100644 --- a/src/soc/amd/cezanne/fch.c +++ b/src/soc/amd/cezanne/fch.c @@ -73,6 +73,14 @@ const struct irq_idx_name *sb_get_apic_reg_association(size_t *size) return irq_association; } +static void fch_clk_output_48Mhz(void) +{ + uint32_t ctrl = misc_read32(MISC_CLK_CNTL0); + /* Enable BP_X48M0 Clock Output */ + ctrl |= BP_X48M0_OUTPUT_EN; + misc_write32(MISC_CLK_CNTL0, ctrl); +} + static void fch_init_acpi_ports(void) { u32 reg; @@ -172,6 +180,7 @@ void fch_init(void *chip_info) acpi_clear_pm_gpe_status(); gpp_clk_setup(); + fch_clk_output_48Mhz(); } void fch_final(void *chip_info) |