summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/low_power_demo/hardware_init.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-03-06 18:03:07 -0800
committerStefan Agner <stefan.agner@toradex.com>2017-03-06 18:03:07 -0800
commit64164f0de9eb54c016e5caccc9f5ec3a90d30a01 (patch)
tree852e3350b60c1a134c95dc836381b6283c52361e /examples/imx7_colibri_m4/low_power_demo/hardware_init.c
parentba2d7f9f1cbc230b354fddab1dc444d82ec44cee (diff)
do not reconfigure high bus, Linux can figure it out on its own now
Diffstat (limited to 'examples/imx7_colibri_m4/low_power_demo/hardware_init.c')
-rw-r--r--examples/imx7_colibri_m4/low_power_demo/hardware_init.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/examples/imx7_colibri_m4/low_power_demo/hardware_init.c b/examples/imx7_colibri_m4/low_power_demo/hardware_init.c
index a15b4e2..ce23c34 100644
--- a/examples/imx7_colibri_m4/low_power_demo/hardware_init.c
+++ b/examples/imx7_colibri_m4/low_power_demo/hardware_init.c
@@ -33,8 +33,6 @@
void hardware_init(void)
{
- int i;
-
/* Board specific RDC settings */
BOARD_RdcInit();
/* Board specific clock settings */
@@ -42,22 +40,6 @@ void hardware_init(void)
/* initialize debug uart */
dbg_uart_init();
- /*
- * In order to wakeup M4 from LPM, some PLLCTRLs need to be set to "NeededRun"
- *//*
- CCM_BASE_PTR->PLL_CTRL[0].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[6].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[7].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[8].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[9].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[10].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[11].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[12].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[13].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[14].PLL_CTRL = ccmClockNeededRun;
- CCM_BASE_PTR->PLL_CTRL[15].PLL_CTRL = ccmClockNeededRun;
-*/
-
/* Enable clock gate for wakeup mix*/
CCM_ControlGate(CCM, BOARD_SIM_WAKEUP_CCGR, ccmClockNeededAll);
/* In this demo, we need to share board GPIO without RDC SEMAPHORE */