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>
This commit is contained in:
committed by
Tom Rini
parent
a389c9cd93
commit
702de89cc6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user