diff --git a/repos/os/src/drivers/platform/imx8mq/ccm.cc b/repos/os/src/drivers/platform/imx8mq/ccm.cc index dd40728ec7..881afbeabd 100644 --- a/repos/os/src/drivers/platform/imx8mq/ccm.cc +++ b/repos/os/src/drivers/platform/imx8mq/ccm.cc @@ -297,6 +297,11 @@ void Driver::Ccm::Gate::disable() { write(0x0); } Driver::Ccm::Ccm(Genode::Env & env) : env(env) { + //FIXME: add beyond initialization code, + // when all drivers use the new platform driver + // Until now, the disabling of certain clocks will harm + // drivers not claiming it resources from here +#if 0 video_pll1_clk.enable(); /* set VIDEO PLL */ @@ -417,4 +422,5 @@ Driver::Ccm::Ccm(Genode::Env & env) : env(env) /* increase NOC clock for better DDR performance */ noc_clk_root.set_parent("system_pll1_clk"); noc_clk_root.set_rate(800000000); +#endif } diff --git a/repos/os/src/drivers/platform/imx8mq/gpc.h b/repos/os/src/drivers/platform/imx8mq/gpc.h index 94efecb3b1..cb0ef5ffee 100644 --- a/repos/os/src/drivers/platform/imx8mq/gpc.h +++ b/repos/os/src/drivers/platform/imx8mq/gpc.h @@ -92,6 +92,11 @@ struct Gpc Gpc(Genode::Env & env) : env(env) { + //FIXME: add beyond initialization code, + // when all drivers use the new platform driver + // Until now, the disabling of power domains will harm + // drivers not claiming it resources from here +#if 0 for (unsigned domain = MIPI; domain <= PCIE_2; domain++) { Genode::Pd_session::Managing_system_state state; state.r[0] = SIP_SERVICE_FUNC; @@ -99,5 +104,6 @@ struct Gpc state.r[2] = domain; state.r[3] = OFF; } +#endif }; };