public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] allow CFG_ALT_MEMTEST to be used on ARM
@ 2003-09-17 14:34 Anders Larsen
  2003-09-18  8:53 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Anders Larsen @ 2003-09-17 14:34 UTC (permalink / raw)
  To: u-boot

Hi,

here's a patch against 0.4.8 that allows CFG_ALT_MEMTEST to be used on
systems where writing to address zero crashes the system.

On ARM (well, at least on my PXA255) writing to address zero causes a
"data abort" (which, IMHO, is a Good Thing(tm)).

This patch allows the board-specific config to define an alternative
scratch-address (CFG_MEMTEST_SCRATCH) to be used by the extensive
memory test.
CFG_MEMTEST_SCRATCH does not have to point to physical RAM, it only
has to point to a writeable (not necessarily readable) address.

CHANGELOG:
   Allow CFG_ALT_MEMTEST on systems where address zero isn't writeable

Cheers
 Anders

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.alt-memtest.patch.gz
Type: application/x-gzip
Size: 514 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030917/29b470f7/attachment.bin 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-18  8:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-17 14:34 [U-Boot-Users] [PATCH] allow CFG_ALT_MEMTEST to be used on ARM Anders Larsen
2003-09-18  8:53 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox