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] !CFG_MEMTEST_SCRATCH - do not dereference NULL
Date: Mon, 29 Nov 2004 15:33:16 +0100	[thread overview]
Message-ID: <fc.004c4e48002b832d3b9aca00a5363478.2b835f@rea.de> (raw)
In-Reply-To: <065ACD8E84315E4394C835E398C8D5EBB1B8B0@COSSMGMBX02.email.corp.tld>

"VanBaren, Gerald (AGRE)" <Gerald.VanBaren@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

  reply	other threads:[~2004-11-29 14:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-29 14:15 [U-Boot-Users] Re: [PATCH] !CFG_MEMTEST_SCRATCH - do not dereference NULL ptr VanBaren, Gerald
2004-11-29 14:33 ` Anders Larsen [this message]
2004-11-29 15:19   ` [U-Boot-Users] Re: [PATCH] !CFG_MEMTEST_SCRATCH - do not dereference NULL Ladislav Michl
2004-11-29 15:35 ` [U-Boot-Users] Re: [PATCH] !CFG_MEMTEST_SCRATCH - do not dereference NULL ptr Ladislav Michl
2005-05-30 12:44   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2004-11-29 14:39 [U-Boot-Users] [PATCH] !CFG_MEMTEST_SCRATCH - do not dereference NULL VanBaren, Gerald
2004-11-29 14:44 ` Anders Larsen

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.004c4e48002b832d3b9aca00a5363478.2b835f@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