cmd: mem: Remove CONFIG_SYS_MEMTEST_SCRATCH mapping
authorMichal Simek <michal.simek@xilinx.com>
Mon, 4 May 2020 11:54:40 +0000 (13:54 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 May 2020 13:16:26 +0000 (09:16 -0400)
commite519f03a18464c1fe249bd7fcf7829fad31abc9a
treee5ebcba888c223e6a147a7a555b4ae2ef755fd83
parentc39e19a9b07807936b8df5925757e0a512effb92
cmd: mem: Remove CONFIG_SYS_MEMTEST_SCRATCH mapping

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>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Heiko Schocher <hs@denx.de>
32 files changed:
README
cmd/mem.c
include/configs/MigoR.h
include/configs/advantech_dms-ba16.h
include/configs/apalis_imx6.h
include/configs/aristainetos2.h
include/configs/armadillo-800eva.h
include/configs/blanche.h
include/configs/cgtqmx6eval.h
include/configs/colibri_imx6.h
include/configs/dh_imx6.h
include/configs/el6x_common.h
include/configs/embestmx6boards.h
include/configs/ge_bx50v3.h
include/configs/gw_ventana.h
include/configs/imx6_logic.h
include/configs/kzm9g.h
include/configs/mx6sabre_common.h
include/configs/nitrogen6x.h
include/configs/presidio_asic.h
include/configs/sh7752evb.h
include/configs/sh7753evb.h
include/configs/sh7757lcr.h
include/configs/stm32mp1.h
include/configs/tao3530.h
include/configs/tricorder.h
include/configs/xilinx_versal.h
include/configs/xilinx_versal_mini.h
include/configs/xilinx_zynqmp.h
include/configs/xilinx_zynqmp_mini.h
include/configs/xilinx_zynqmp_r5.h
scripts/config_whitelist.txt