]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: legacy: Fix referencing _image_binary_end
authorSean Anderson <seanga2@gmail.com>
Sat, 14 Oct 2023 20:47:37 +0000 (16:47 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 18 Oct 2023 00:50:52 +0000 (20:50 -0400)
commit301ae618424f48daba766cb0164a752623f8dbec
tree1ca28ec0981c6fbde8eee376b623210015cbb260
parentbfcf7521eb73a0a38412307f6a398a0ae0d1b10d
spl: legacy: Fix referencing _image_binary_end

On non-arm architectures, _image_binary_end is defined as a ulong and not a
char[]. Take the address of it when accessing it, which is correct for
both.

Fixes: 1b8a1be1a1f ("spl: spl_legacy: Fix spl_end address")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/spl/spl_legacy.c