Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-07-11 Thread Graeme Russ
Hi Wolfgang, On 12/07/11 08:05, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message <1309261269-4363-9-git-send-email-graeme.r...@gmail.com> you wrote: >> >> Signed-off-by: Graeme Russ > > Please define "userland" in U-Boot context ? Used outside of /arch (i.e. in board or driver code). An

Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-07-11 Thread Wolfgang Denk
Dear Graeme Russ, In message <1309261269-4363-9-git-send-email-graeme.r...@gmail.com> you wrote: > > Signed-off-by: Graeme Russ Please define "userland" in U-Boot context ? > +u32 time_now_ms(void); > +u32 time_since_ms(u32 from, u32 to); > +u32 time_max_since_ms(u32 from, u32 to); > +u32 time

Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Simon Glass
Hi Graeme, On Tue, Jun 28, 2011 at 9:36 PM, Graeme Russ wrote: > Hi Simon, >> Can you please explain what I am missing? > > The fact I haven't tried to build it yet ;) Oh, OK. That explains the mystery :-) I haven't built it yet either but it certainly looks good. Regards, Simon > > I'll add t

Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Graeme Russ
Hi Simon, On Wed, Jun 29, 2011 at 2:31 PM, Simon Glass wrote: > Hi Graeme, > > What a mammoth effort and what a fantastic clean up. > > I'm a bit unsure of this patch which seems to have two prototypes for > the since functions: > [snip] >> +u32 time_now_ms(void); >> +u32 time_since_ms(u32 from

Re: [U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Simon Glass
Hi Graeme, What a mammoth effort and what a fantastic clean up. I'm a bit unsure of this patch which seems to have two prototypes for the since functions: On Tue, Jun 28, 2011 at 4:41 AM, Graeme Russ wrote: > > Signed-off-by: Graeme Russ > --- >  include/common.h |   36 ---

[U-Boot] [PATCH v1 (WIP) 08/16] [Timer]Create new userland timer API

2011-06-28 Thread Graeme Russ
Signed-off-by: Graeme Russ --- include/common.h | 36 lib/time.c | 26 ++ 2 files changed, 46 insertions(+), 16 deletions(-) diff --git a/include/common.h b/include/common.h index 340e585..9735d47 100644 --- a/include/common