davinci: Add watchdog base address flexibility
The watchdog code currently hardcodes the base address of the timer its using. To support new SoCs, make it support timers at any address. Use the soc_info structure to do this. Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
This commit is contained in:
committed by
Kevin Hilman
parent
f64691b3ab
commit
951d6f6d70
@@ -568,6 +568,7 @@ static struct davinci_soc_info davinci_soc_info_dm646x = {
|
||||
.intc_irq_prios = dm646x_default_priorities,
|
||||
.intc_irq_num = DAVINCI_N_AINTC_IRQ,
|
||||
.timer_info = &dm646x_timer_info,
|
||||
.wdt_base = IO_ADDRESS(DAVINCI_WDOG_BASE),
|
||||
};
|
||||
|
||||
void __init dm646x_init(void)
|
||||
|
Reference in New Issue
Block a user