aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/tigerlake/finalize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/tigerlake/finalize.c')
-rw-r--r--src/soc/intel/tigerlake/finalize.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/soc/intel/tigerlake/finalize.c b/src/soc/intel/tigerlake/finalize.c
index 7de64a3a50..a402625799 100644
--- a/src/soc/intel/tigerlake/finalize.c
+++ b/src/soc/intel/tigerlake/finalize.c
@@ -27,24 +27,6 @@
#include <soc/soc_chip.h>
#include <soc/systemagent.h>
-#define CAMERA1_CLK 0x8000 /* Camera 1 Clock */
-#define CAMERA2_CLK 0x8080 /* Camera 2 Clock */
-#define CAM_CLK_EN (1 << 1)
-#define MIPI_CLK (1 << 0)
-#define HDPLL_CLK (0 << 0)
-
-static void pch_enable_isclk(void)
-{
- pcr_or32(PID_ISCLK, CAMERA1_CLK, CAM_CLK_EN | MIPI_CLK);
- pcr_or32(PID_ISCLK, CAMERA2_CLK, CAM_CLK_EN | MIPI_CLK);
-}
-
-static void pch_handle_sideband(config_t *config)
-{
- if (config->pch_isclk)
- pch_enable_isclk();
-}
-
static void pch_finalize(void)
{
uint32_t reg32;
@@ -83,8 +65,6 @@ static void pch_finalize(void)
write32(pmcbase + CPPMVRIC, reg32);
}
- pch_handle_sideband(config);
-
pmc_clear_pmcon_sts();
}