[U-Boot] [PATCH] mtest: Fix end address of increment/decrement test

Wolfgang Denk wd at denx.de
Fri May 21 00:07:28 CEST 2010


Dear Peter Tyser,

In message <1274392850.18152.253.camel at petert> you wrote:
> 
> I didn't express it well, but what I was getting at was that the
> "Testing X .. Y" would ideally state exactly what is being tested.

We have full agreement here.

> Unaligned addresses would still be allowed.  I think right now the end
> address is always automatically aligned to the same alignment as the
> start address though, so the current output is very misleading.

Agreed, too.

> You can see the starting alignment was respected, but the ending
> alignment was truncated to be 32-bit aligned to the starting address.
> In the above example, I think it would be nice to see "Testing
> 00001003 ... 00001ffe".  Or some other way such that the user knows that
> their input wasn't executed to a T; their end address was truncated.

Yep. We are in sync.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Who alone has reason to *lie  himself  out*  of  actuality?  He  who
*suffers* from it."                             - Friedrich Nietzsche


More information about the U-Boot mailing list