[U-Boot-Users] [PATCH] !CFG_MEMTEST_SCRATCH - do not dereference NULL 
    Anders Larsen 
    alarsen at rea.de
       
    Mon Nov 29 15:33:16 CET 2004
    
    
  
"VanBaren, Gerald (AGRE)" <Gerald.VanBaren at smiths-aerospace.com>:
>The proper fix is, for your board, change
>the assignment "vu_long *dummy = 0x00000000;" to point to writable RAM
>on your board.
This is the purpose of CFG_MEMTEST_SCRATCH.
Please, please read the README, which says:
"- CFG_MEMTEST_SCRATCH:
   Scratch address used by the alternate memory test
   You only need to set this if address zero isn't writeable"
The last statement implies that you DO need to set
CFG_MEMTEST_SCRATCH if address zero ISN'T writeable.
No need to change any code at all.
Cheers
 Anders
    
    
More information about the U-Boot
mailing list