From 18465a98c5c94c3100cba3f596ce384970f966d0 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 6 Mar 2017 18:07:20 -0800 Subject: use OCRAM But remove EPD OCRAM, since this is not clocked during suspend. Use TCM instead. --- examples/imx7_colibri_m4/low_power_demo/hardware_init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/imx7_colibri_m4/low_power_demo/hardware_init.c') 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 ce23c34..a721220 100644 --- a/examples/imx7_colibri_m4/low_power_demo/hardware_init.c +++ b/examples/imx7_colibri_m4/low_power_demo/hardware_init.c @@ -42,6 +42,10 @@ void hardware_init(void) /* Enable clock gate for wakeup mix*/ CCM_ControlGate(CCM, BOARD_SIM_WAKEUP_CCGR, ccmClockNeededAll); + + /* Enable clock gate for OCRAM */ + CCM_ControlGate(CCM, ccmCcgrGateOcram, ccmClockNeededAll); + /* In this demo, we need to share board GPIO without RDC SEMAPHORE */ RDC_SetPdapAccess(RDC, rdcPdapGpio1, 0xFF, false, false); RDC_SetPdapAccess(RDC, rdcPdapGpio4, 0xFF, false, false); -- cgit v1.2.3