Re: [U-Boot] [PATCH] ppc: Increase precision of ticks2usec

2009-03-10 Thread Benoit Monin
> De : "Wolfgang Denk" > > Dear Benoit Monin, > > In message <9454366.19868.1236182927234.javamail@wwinf8202> you wrote: > > > > The tick of some PowerPC cpu is running at high frequency and > > it can be used to get microsecond precisi

Re: [U-Boot] [PATCH] Add the "mfill" and "mcheck" memory commands.

2009-03-06 Thread Benoit Monin
> De : "Wolfgang Denk" > > Dear Benoit Monin, > > In message <28907262.11403.1236090567026.javamail@wwinf8303> you wrote: > > > > The mfill command writes the value of a counter to a memory area. > > The mcheck command verifies the memory a

Re: [U-Boot] [PATCH] CONFIG_PRINT_TIME: Measuring boot time.

2009-03-06 Thread Benoit Monin
> De : "Wolfgang Denk" > > Dear Benoit Monin, > > In message <13935170.21001.1236183410521.javamail@wwinf8202> you wrote: > > > > This option prefixes every console line with the time in seconds since > > power-up. It is inspired by the Linu

Re: [U-Boot] [PATCH] CONFIG_PRINT_TIME: Measuring boot time.

2009-03-05 Thread Benoit Monin
De : "Jean-Christophe PLAGNIOL-VILLARD" Hi Jean-Christophe, Thanks for your answer. > On 17:16 Wed 04 Mar , Benoit Monin wrote: > > [..SNIP..] > > - if (gd->flags & GD_FLG_DEVINIT) { > > - /* Send to the standard output */ > >

[U-Boot] [PATCH] CONFIG_PRINT_TIME: Measuring boot time.

2009-03-04 Thread Benoit Monin
This option prefixes every console line with the time in seconds since power-up. It is inspired by the Linux kernel option PRINTK_TIME and uses the same output format. It can be used to measure the time taken by U-Boot to boot the kernel or application. For example: [0.003532] U-Boot 2009.03

[U-Boot] [PATCH] ppc: Increase precision of ticks2usec

2009-03-04 Thread Benoit Monin
The tick of some PowerPC cpu is running at high frequency and it can be used to get microsecond precision from it. Make use of div64 to achieve this precision in ticks2usec. Signed-off-by: BenoƮt Monin --- lib_ppc/time.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-)

[U-Boot] [PATCH] Add the "mfill" and "mcheck" memory commands.

2009-03-03 Thread Benoit Monin
The mfill command writes the value of a counter to a memory area. The mcheck command verifies the memory area against the counter value. Those commands are useful for debugging memory/framebuffer controller. The configuration option is CONFIG_MFILL and this only takes effect if the memory commands