• Felipe Balbi's avatar
    arm: omap2: timer: add a gptimer argument to sync32k_timer_init() · f5409092
    Felipe Balbi authored
    as it turns out, __omap_gptimer_init() and
    __omap_sync32k_timer_init() are essentially
    the same thing, but __omap_gptimer_init() wants
    to always use gptimer.
    
    Instead of forcing all those devices to pass
    a use_gptimer cmdline argument, we add a new
    function argument to __omap_sync32k_timer_init()
    in preparation to deleting __omap_gptimer_init().
    
    On a follow-up patch, we will remove uses of
    __omap_gptimer_init() and replace them with
    __omap_sync32k_timer_init() and pass the last
    argument as true.
    Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
    f5409092
timer.c 20.6 KB