Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b1c43bd in mainline


Ignore:
Timestamp:
2012-03-15T20:55:45Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
43cd499
Parents:
41552913
Message:

beagleboardxm: Allow gpt1 interrupt. Ack timer interrupt on the handler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c

    r41552913 rb1c43bd  
    8888         * Release the lock, call clock() and reacquire the lock again.
    8989         */
     90        amdm37x_gpt_irq_ack(&beagleboard.timer);
    9091        spinlock_unlock(&irq->lock);
    9192        clock();
     
    100101            PAGE_NOT_CACHEABLE);
    101102        amdm37x_irc_init(beagleboard.irc_addr);
     103
    102104
    103105        /* Initialize timer, pick timer1, because it is in always-power domain
     
    117119        timer_irq.handler = bb_timer_irq_handler;
    118120        irq_register(&timer_irq);
     121
     122        /* Enable timer interrupt */
     123        amdm37x_irc_enable(beagleboard.irc_addr, AMDM37x_GPT1_IRQ);
    119124
    120125        /* Start timer here */
Note: See TracChangeset for help on using the changeset viewer.