public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anders Larsen <alarsen@rea.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] allow CFG_ALT_MEMTEST to be used on ARM
Date: Wed, 17 Sep 2003 16:34:31 +0200	[thread overview]
Message-ID: <fc.004c4e48001cb9e4004c4e48001cb9e4.1cba6f@rea.de> (raw)

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 

             reply	other threads:[~2003-09-17 14:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-17 14:34 Anders Larsen [this message]
2003-09-18  8:53 ` [U-Boot-Users] [PATCH] allow CFG_ALT_MEMTEST to be used on ARM Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fc.004c4e48001cb9e4004c4e48001cb9e4.1cba6f@rea.de \
    --to=alarsen@rea.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox