Changeset 81b1db8 in mainline for uspace/drv/platform/amdm37x/amdm37x.c
- Timestamp:
- 2018-03-26T15:26:27Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 41bbab6
- Parents:
- fd57745c
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-26 15:21:43)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-26 15:26:27)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/platform/amdm37x/amdm37x.c
rfd57745c r81b1db8 45 45 46 46 static void 47 log (const volatile void *place, uint64_t val, volatile void *base, size_t size,47 log_message(const volatile void *place, uint64_t val, volatile void *base, size_t size, 48 48 void *data, bool write) 49 49 { … … 104 104 105 105 if (trace) { 106 pio_trace_enable(device->tll, AMDM37x_USBTLL_SIZE, log , (void*)AMDM37x_USBTLL_BASE_ADDRESS);107 pio_trace_enable(device->cm.clocks, CLOCK_CONTROL_CM_SIZE, log , (void*)CLOCK_CONTROL_CM_BASE_ADDRESS);108 pio_trace_enable(device->cm.core, CORE_CM_SIZE, log , (void*)CORE_CM_BASE_ADDRESS);109 pio_trace_enable(device->cm.mpu, MPU_CM_SIZE, log , (void*)MPU_CM_BASE_ADDRESS);110 pio_trace_enable(device->cm.iva2, IVA2_CM_SIZE, log , (void*)IVA2_CM_BASE_ADDRESS);111 pio_trace_enable(device->cm.usbhost, USBHOST_CM_SIZE, log , (void*)USBHOST_CM_BASE_ADDRESS);112 pio_trace_enable(device->uhh, AMDM37x_UHH_SIZE, log , (void*)AMDM37x_UHH_BASE_ADDRESS);113 pio_trace_enable(device->prm.clocks, CLOCK_CONTROL_PRM_SIZE, log , (void*)CLOCK_CONTROL_PRM_BASE_ADDRESS);114 pio_trace_enable(device->prm.global, GLOBAL_REG_PRM_SIZE, log , (void*)GLOBAL_REG_PRM_BASE_ADDRESS);106 pio_trace_enable(device->tll, AMDM37x_USBTLL_SIZE, log_message, (void*)AMDM37x_USBTLL_BASE_ADDRESS); 107 pio_trace_enable(device->cm.clocks, CLOCK_CONTROL_CM_SIZE, log_message, (void*)CLOCK_CONTROL_CM_BASE_ADDRESS); 108 pio_trace_enable(device->cm.core, CORE_CM_SIZE, log_message, (void*)CORE_CM_BASE_ADDRESS); 109 pio_trace_enable(device->cm.mpu, MPU_CM_SIZE, log_message, (void*)MPU_CM_BASE_ADDRESS); 110 pio_trace_enable(device->cm.iva2, IVA2_CM_SIZE, log_message, (void*)IVA2_CM_BASE_ADDRESS); 111 pio_trace_enable(device->cm.usbhost, USBHOST_CM_SIZE, log_message, (void*)USBHOST_CM_BASE_ADDRESS); 112 pio_trace_enable(device->uhh, AMDM37x_UHH_SIZE, log_message, (void*)AMDM37x_UHH_BASE_ADDRESS); 113 pio_trace_enable(device->prm.clocks, CLOCK_CONTROL_PRM_SIZE, log_message, (void*)CLOCK_CONTROL_PRM_BASE_ADDRESS); 114 pio_trace_enable(device->prm.global, GLOBAL_REG_PRM_SIZE, log_message, (void*)GLOBAL_REG_PRM_BASE_ADDRESS); 115 115 } 116 116 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.