Re: [U-Boot] [PATCH v2 02/19] dm: timer: uclass: add timer init to add timer device

2015-12-24 Thread Bin Meng
Hi Mugunthan, On Thu, Dec 24, 2015 at 6:38 PM, Mugunthan V N wrote: > Adding timer_init function to create and initialize the timer > device on platforms where u-boot,dm-pre-reloc is not used. Since > there will be multiple timer devices in the system, adding a > tick-timer

Re: [U-Boot] [PATCH v2 02/19] dm: timer: uclass: add timer init to add timer device

2015-12-24 Thread Mugunthan V N
On Friday 25 December 2015 07:40 AM, Bin Meng wrote: >> + /* Check for a chosen timer to be used for tick */ >> > + node = fdtdec_get_chosen_node(blob, "tick-timer"); >> > + if (node < 0) >> > + return -ENODEV; > This changes now require every device tree provide a

[U-Boot] [PATCH v2 02/19] dm: timer: uclass: add timer init to add timer device

2015-12-24 Thread Mugunthan V N
Adding timer_init function to create and initialize the timer device on platforms where u-boot,dm-pre-reloc is not used. Since there will be multiple timer devices in the system, adding a tick-timer node in chosen node to know which timer device to be used as tick timer in u-boot. Signed-off-by: