diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-05-04 14:54:40 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-08 16:16:26 +0300 |
commit | e519f03a18464c1fe249bd7fcf7829fad31abc9a (patch) | |
tree | e5ebcba888c223e6a147a7a555b4ae2ef755fd83 /include/configs/xilinx_zynqmp.h | |
parent | c39e19a9b07807936b8df5925757e0a512effb92 (diff) | |
download | u-boot-e519f03a18464c1fe249bd7fcf7829fad31abc9a.tar.xz |
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>
Diffstat (limited to 'include/configs/xilinx_zynqmp.h')
-rw-r--r-- | include/configs/xilinx_zynqmp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index eddc2b4020..01e05200df 100644 --- a/include/configs/xilinx_zynqmp.h +++ b/include/configs/xilinx_zynqmp.h @@ -19,10 +19,6 @@ #define GICD_BASE 0xF9010000 #define GICC_BASE 0xF9020000 -#ifndef CONFIG_SYS_MEMTEST_SCRATCH -# define CONFIG_SYS_MEMTEST_SCRATCH 0x10800000 -#endif - #define CONFIG_SYS_MEMTEST_START 0 #define CONFIG_SYS_MEMTEST_END 1000 |