Changeset 33406


Ignore:
Timestamp:
2012-09-14T17:37:12+02:00 (4 years ago)
Author:
florian
Message:

[leon] refresh patches so they apply cleanly

Location:
trunk/target/linux/leon/patches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/leon/patches/001-find_irq_and_timer_via_of.patch

    r25139 r33406  
    4646                LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].val, 0); 
    4747                LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].rld, 
    48                                       (((1000000 / 100) - 1))); 
     48                                      (((1000000 / HZ) - 1))); 
  • trunk/target/linux/leon/patches/007-amp_timer.patch

    r25139 r33406  
    6767-               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].val, 0); 
    6868-               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].rld, 
     69-                                     (((1000000 / HZ) - 1))); 
     70-               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].ctrl, 0); 
    6971+               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val, 0); 
    7072+               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].rld, 
    71                                       (((1000000 / 100) - 1))); 
    72 -               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[0].ctrl, 0); 
     73+                                     (((1000000 / 100) - 1))); 
    7374+               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, 0); 
    7475  
     
    8586  
    8687-               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[1].val, 0); 
    87 -               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[1].rld, (((1000000/100) - 1))); 
     88-               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[1].rld, (((1000000/HZ) - 1))); 
    8889-               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[1].ctrl, 0); 
    8990+               LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx+1].val, 0); 
Note: See TracChangeset for help on using the changeset viewer.