All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH] cmd: mem: Remove CONFIG_SYS_MEMTEST_SCRATCH mapping
Date: Thu, 7 May 2020 11:48:20 +0200	[thread overview]
Message-ID: <7536840e-feb2-07d1-0a48-e7d8771f4e3e@denx.de> (raw)
In-Reply-To: <637580f3-0042-ded2-173b-c9bddd92c588@xilinx.com>

Hello Michal,

Am 07.05.2020 um 08:39 schrieb Michal Simek:
> On 07. 05. 20 5:33, Heiko Schocher wrote:
>> Hello Michal,
>>
>> Am 04.05.2020 um 13:54 schrieb Michal Simek:
>>> There is no real need to exactly define space for saving patterns for
>>> alternate memory test. It is much easier to allocate space on the
>>> stack and
>>> use it instead of trying to find out space where pattern should be saved.
>>>
>>> For example if you want to test the whole DDR memory you can't save
>>> patter
>>> to DDR and you need to find it out. On Xilinx devices DDR or OCM
>>> addresses
>>> were chosen but that means that OCM needs to be mapped and U-Boot has
>>> access permission there.
>>>
>>> It is easier to remove this limitation and simply save it on stack
>>> because
>>> it is very clear that memory test can't rewrite U-Boot and U-Boot has
>>> also
>>> full access to memory where runs from.
>>>
>>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>>> ---
>>>
>>>  ? README?????????????????????????????? | 4 ----
>>>  ? cmd/mem.c??????????????????????????? | 9 ++-------
>>>  ? include/configs/MigoR.h????????????? | 1 -
>>>  ? include/configs/advantech_dms-ba16.h | 1 -
>>>  ? include/configs/apalis_imx6.h??????? | 1 -
>>>  ? include/configs/aristainetos2.h????? | 1 -
>>>  ? include/configs/armadillo-800eva.h?? | 1 -
>>>  ? include/configs/blanche.h??????????? | 1 -
>>>  ? include/configs/cgtqmx6eval.h??????? | 1 -
>>>  ? include/configs/colibri_imx6.h?????? | 1 -
>>>  ? include/configs/dh_imx6.h??????????? | 1 -
>>>  ? include/configs/el6x_common.h??????? | 1 -
>>>  ? include/configs/embestmx6boards.h??? | 1 -
>>>  ? include/configs/ge_bx50v3.h????????? | 1 -
>>>  ? include/configs/gw_ventana.h???????? | 1 -
>>>  ? include/configs/imx6_logic.h???????? | 1 -
>>>  ? include/configs/kzm9g.h????????????? | 1 -
>>>  ? include/configs/mx6sabre_common.h??? | 1 -
>>>  ? include/configs/nitrogen6x.h???????? | 1 -
>>>  ? include/configs/presidio_asic.h????? | 1 -
>>>  ? include/configs/sh7752evb.h????????? | 1 -
>>>  ? include/configs/sh7753evb.h????????? | 1 -
>>>  ? include/configs/sh7757lcr.h????????? | 1 -
>>>  ? include/configs/stm32mp1.h?????????? | 1 -
>>>  ? include/configs/tao3530.h??????????? | 1 -
>>>  ? include/configs/tricorder.h????????? | 1 -
>>>  ? include/configs/xilinx_versal.h????? | 1 -
>>>  ? include/configs/xilinx_versal_mini.h | 1 -
>>>  ? include/configs/xilinx_zynqmp.h????? | 4 ----
>>>  ? include/configs/xilinx_zynqmp_mini.h | 1 -
>>>  ? include/configs/xilinx_zynqmp_r5.h?? | 1 -
>>>  ? scripts/config_whitelist.txt???????? | 1 -
>>>  ? 32 files changed, 2 insertions(+), 44 deletions(-)
>>
>> Hmm.. I think this is from old powerpc times, but I do not see a
>> powerpc board in the list, so this makes sense.
> 
> And was there any reason to setup specific address on PPC for saving
> test pattern?

Not that I am aware of anymore...

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

  reply	other threads:[~2020-05-07  9:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 11:54 [PATCH] cmd: mem: Remove CONFIG_SYS_MEMTEST_SCRATCH mapping Michal Simek
2020-05-04 14:17 ` Simon Glass
2020-05-04 14:59 ` Stefan Roese
2020-05-07  3:33 ` Heiko Schocher
2020-05-07  6:39   ` Michal Simek
2020-05-07  9:48     ` Heiko Schocher [this message]
2020-05-08 17:49 ` Tom Rini
     [not found]   ` <4626EF5E-7ED1-4DA6-B265-75C3E7C5A97D@cortina-access.com>
2020-05-22  2:35     ` Cortina Package 2 driver split up Simon Glass

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=7536840e-feb2-07d1-0a48-e7d8771f4e3e@denx.de \
    --to=hs@denx.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.