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

Thomas Chou thomas at wytron.com.tw
Fri Oct 9 15:18:28 CEST 2015


Hi Bin,

On 10/09/2015 06:46 PM, Bin Meng wrote:
> But in v7, it is gd->dm_timer. I think it should be gd->timer?

I think it is only CONFIG_DM_TIMER, that Simon suggested to change.

In the gd structure, I keep it neighbor to dm_root. In the initr_dm(), 
they are set to NULL similarly. So I would keep dm_ prefix.

I also spelled the macro in include/timer.h as
+#ifndef _DM_TIMER_H_
+#define _DM_TIMER_H_
because some archs have their timer.h.

Best regards,
Thomas


More information about the U-Boot mailing list