summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorAshok Reddy Soma <ashok.reddy.soma@xilinx.com>2020-05-04 15:26:21 +0200
committerTom Rini <trini@konsulko.com>2020-05-08 12:02:56 -0400
commit702de89cc6a34c1c23dd3d987b0472b2cecdb63c (patch)
treee72e4ac835a56441cc6a698342717bcf690ea69a /cmd
parenta389c9cd9363fb31007bcf76a889f2a42c510b7f (diff)
downloadu-boot-702de89cc6a34c1c23dd3d987b0472b2cecdb63c.tar.gz
u-boot-702de89cc6a34c1c23dd3d987b0472b2cecdb63c.tar.bz2
u-boot-702de89cc6a34c1c23dd3d987b0472b2cecdb63c.zip
treewide: mem: Move mtest related defines to Kconfig
Move below defines which are used by mtest utility to Kconfig. CONFIG_SYS_MEMTEST_START CONFIG_SYS_MEMTEST_END Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> [trini: Fix kmcoge5ne board, re-run migration as well] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 157a33081f..f9be1988f6 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -750,6 +750,22 @@ config SYS_ALT_MEMTEST
help
Use a more complete alternative memory test.
+config SYS_MEMTEST_START
+ hex "default start address for mtest"
+ default 0
+ help
+ This is the default start address for mtest for simple read/write
+ test. If no arguments are given to mtest, default address is used
+ as start address.
+
+config SYS_MEMTEST_END
+ hex "default end address for mtest"
+ default 0x1000
+ help
+ This is the default end address for mtest for simple read/write
+ test. If no arguments are given to mtest, default address is used
+ as end address.
+
endif
config CMD_SHA1SUM