comparison chipsetsw/layer1/tpu_drivers/source/tpudrv.c @ 188:81064b792cc8

tpudrv.c: passes compilation, started disasm diffing
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 08 Jun 2016 03:05:09 +0000
parents 7b2986d6f272
children 8ab19f00e40d
comparison
equal deleted inserted replaced
187:7b2986d6f272 188:81064b792cc8
309 wait_ARM_cycles(convert_nanosec_to_cycles(3000)); // wait 3us 309 wait_ARM_cycles(convert_nanosec_to_cycles(3000)); // wait 3us
310 } 310 }
311 } 311 }
312 312
313 313
314 #if 0 /* FreeCalypso: function not present in TCS211 */
314 /*-----------------------------------------------------------------------*/ 315 /*-----------------------------------------------------------------------*/
315 /* Function name: TPU_wait_idle */ 316 /* Function name: TPU_wait_idle */
316 /*-----------------------------------------------------------------------*/ 317 /*-----------------------------------------------------------------------*/
317 /* */ 318 /* */
318 /* Parameters: None */ 319 /* Parameters: None */
328 while( ((*(volatile SYS_UWORD16 *) (TPU_CTRL)) & TPU_CTRL_TPU_IDLE) == TPU_CTRL_TPU_IDLE) 329 while( ((*(volatile SYS_UWORD16 *) (TPU_CTRL)) & TPU_CTRL_TPU_IDLE) == TPU_CTRL_TPU_IDLE)
329 { 330 {
330 wait_ARM_cycles(convert_nanosec_to_cycles(3000)); 331 wait_ARM_cycles(convert_nanosec_to_cycles(3000));
331 } 332 }
332 } 333 }
334 #endif
333 335
334 336
335 /* 337 /*
336 * l1dmacro_idle 338 * l1dmacro_idle
337 * 339 *