summaryrefslogtreecommitdiff
path: root/board/keymile/km83xx/km83xx.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-05-08 13:48:37 -0400
committerTom Rini <trini@konsulko.com>2020-05-08 13:48:37 -0400
commitea02cfb6495eb5f54bf239405316746a19d303b2 (patch)
treee72e4ac835a56441cc6a698342717bcf690ea69a /board/keymile/km83xx/km83xx.c
parent67887903afc3615070dd878f6e0420d34b30274c (diff)
parent702de89cc6a34c1c23dd3d987b0472b2cecdb63c (diff)
Merge branch '2020-05-07-more-kconfig-migrations'
- Migrate CONFIG_SET_DFU_ALT_INFO, CONFIG_SYS_MTDPARTS_RUNTIME and finish the rest of the memtest related options.
Diffstat (limited to 'board/keymile/km83xx/km83xx.c')
-rw-r--r--board/keymile/km83xx/km83xx.c8
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;