]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/cmd/mem_copy.c: Use CONFIG_SYS_LOAD_ADDR for base
authorTom Rini <trini@konsulko.com>
Wed, 30 Oct 2024 00:36:49 +0000 (18:36 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 1 Nov 2024 19:37:25 +0000 (13:37 -0600)
commit15a55dbff6d9b64178ccb7d12c0e0d24fa79f37a
tree7db913aacbf7f861deee3254fd75fb4613723233
parent57ea496c3801b4a604e6d9cb8885544c84635f0b
test/cmd/mem_copy.c: Use CONFIG_SYS_LOAD_ADDR for base

When reading/writing to memory we cannot assume that a base address of
0x0 is correct and functional. So use CONFIG_SYS_LOAD_ADDR as the base
from which we add a bit more padding and being our tests.

Signed-off-by: Tom Rini <trini@konsulko.com>
test/cmd/mem_copy.c