Changeset 7290ca0 in mainline
- Timestamp:
- 2012-10-11T23:45:45Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7eb49f4
- Parents:
- 601fa93
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/infrastructure/rootamdm37x/rootamdm37x.c
r601fa93 r7290ca0 37 37 #define _DDF_DATA_IMPLANT 38 38 39 #define DEBUG_CM 40 39 41 #include <ddf/driver.h> 40 42 #include <ddf/log.h> … … 152 154 153 155 /* Always set DPLL5 to automatic */ 154 uint32_t reg = clock_control_cm->autoidle2_pll 156 uint32_t reg = clock_control_cm->autoidle2_pll; 155 157 reg &= ~(CLOCK_CONTROL_CM_AUTOIDLE2_PLL_AUTO_PERIPH2_DPLL_MASK << 156 158 CLOCK_CONTROL_CM_AUTOIDLE2_PLL_AUTO_PERIPH2_DPLL_SHIFT); … … 159 161 clock_control_cm->autoidle2_pll = reg; 160 162 163 #ifdef DEBUG_CM 164 printf("DPLL5 could be on: %x %x.\n", 165 clock_control_cm->idlest_ckgen, clock_control_cm->idlest2_ckgen); 166 #endif 167 161 168 if (on) { 162 169 /* Enable interface and function clock for USB TLL */ … … 168 175 usb_host_cm->fclken |= USBHOST_CM_FCLKEN_EN_USBHOST1_FLAG; 169 176 usb_host_cm->fclken |= USBHOST_CM_FCLKEN_EN_USBHOST2_FLAG; 177 #ifdef DEBUG_CM 178 printf("DPLL5 (and everything else) should be on: %x %x.\n", 179 clock_control_cm->idlest_ckgen, clock_control_cm->idlest2_ckgen); 180 #endif 170 181 } else { 171 182 /* Disable interface and function clock for USB hosts */
Note:
See TracChangeset
for help on using the changeset viewer.