diff options
author | Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> | 2020-05-04 15:26:21 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-08 12:02:56 -0400 |
commit | 702de89cc6a34c1c23dd3d987b0472b2cecdb63c (patch) | |
tree | e72e4ac835a56441cc6a698342717bcf690ea69a /board | |
parent | a389c9cd9363fb31007bcf76a889f2a42c510b7f (diff) | |
download | u-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 'board')
-rw-r--r-- | board/keymile/km83xx/km83xx.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx/km83xx.c index 23bbdcccac..8f7e7f05d8 100644 --- a/board/keymile/km83xx/km83xx.c +++ b/board/keymile/km83xx/km83xx.c @@ -330,8 +330,12 @@ void post_word_store(ulong value) int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) { - *vstart = CONFIG_SYS_MEMTEST_START; - *size = CONFIG_SYS_MEMTEST_END - CONFIG_SYS_MEMTEST_START; + /* + * These match CONFIG_SYS_MEMTEST_START and + * (CONFIG_SYS_MEMTEST_END - CONFIG_SYS_MEMTEST_START) + */ + *vstart = 0x00100000; + *size = 0xe00000; debug("arch_memory_test_prepare 0x%08X 0x%08X\n", *vstart, *size); return 0; |