summaryrefslogtreecommitdiff
path: root/test/cmd/mem_copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cmd/mem_copy.c')
-rw-r--r--test/cmd/mem_copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmd/mem_copy.c b/test/cmd/mem_copy.c
index 1ba0cebbbe0..67eca328777 100644
--- a/test/cmd/mem_copy.c
+++ b/test/cmd/mem_copy.c
@@ -21,7 +21,7 @@ struct param {
static int do_test(struct unit_test_state *uts,
const char *suffix, int d, int s, int count)
{
- const long addr = 0x1000;
+ const long addr = CONFIG_SYS_LOAD_ADDR + 0x1000;
u8 shadow[BUF_SIZE];
u8 *buf;
int i, w, bytes;