Re: [U-Boot] [PATCH v8 1/3] dm: implement a Timer uclass

2015-10-19 Thread Thomas Chou
Hi Simon, On 10/19/2015 09:53 AM, Simon Glass wrote: Please do create a test for this uclass using a fake sandbox timer. Note also time_ut.c which might have some ideas. I am learning sandbox and working on a sandbox timer now. Best regards, Thomas

Re: [U-Boot] [PATCH v8 1/3] dm: implement a Timer uclass

2015-10-18 Thread Simon Glass
Hi Thomas, On 13 October 2015 at 07:17, Thomas Chou wrote: > > > On 10/10/2015 03:16 PM, Thomas Chou wrote: >> >> Implement a Timer uclass to work with lib/time.c. >> >> Signed-off-by: Thomas Chou >> Acked-by: Simon Glass >> --- >>

Re: [U-Boot] [PATCH v8 1/3] dm: implement a Timer uclass

2015-10-13 Thread Thomas Chou
On 10/10/2015 03:16 PM, Thomas Chou wrote: Implement a Timer uclass to work with lib/time.c. Signed-off-by: Thomas Chou Acked-by: Simon Glass --- v2 fix coding style. v3 add description to Kconfig as Simon suggested. move timer.c code to

[U-Boot] [PATCH v8 1/3] dm: implement a Timer uclass

2015-10-10 Thread Thomas Chou
Implement a Timer uclass to work with lib/time.c. Signed-off-by: Thomas Chou Acked-by: Simon Glass --- v2 fix coding style. v3 add description to Kconfig as Simon suggested. move timer.c code to lib/time.c. add dm_timer dev to global data.