
Dear York Sun,
In message 1280351179.8571.63.camel@oslab-l1 you wrote:
We already have too many different implementations of a memory test in U-Boot, and I will not accept adding yet another one.
I can reuse your testing code but have to move the desired code out of memory.c file to avoid the need for CONFIG_POST and CONFIG_SYS_POST_MEMORY. I also add a progress indicator. My testing
NAK, and NAK.
Please integrate your code into the existing POST framework instead, as a number of other boards already did.
A progress indicator may be a nice little toy, but how does it integrate into the POST framework?
target is 2GB at a time, up to physically memory size which is easily over 8GB. Without progress indicator, it feels hung when it is actually running.
Yes, memory testing takes time. In the context of a power-on self test (and this is what you are doing, right?) we should take care to fit it into the existing framework, though.
Please take a look at the patch below.
Instead of integrating your needs into an existing framework you invent yet another one. I don't want to have this, sorry.
Best regards,
Wolfgang Denk