u-boot: align cache flushes in load_elf_image_shdr to line boundaries
authorNeil Stainton <nstainton@asl-control.co.uk>
Wed, 19 Sep 2018 09:38:07 +0000 (10:38 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 30 Sep 2018 17:00:34 +0000 (13:00 -0400)
commit18f201ea207a28aa79d7a485a2dc7b643ec36a31
treedc621dc8a62b3cb60300c8378f92191d71819c4e
parent0c544115379ed77c1843a194e26960e5b8f3d369
u-boot: align cache flushes in load_elf_image_shdr to line boundaries

Prevent cache warning messages when using the 'bootelf' command on an
Arm target. Round down each section start address and round up the
respective section end to the nearest cache line.

Signed-off-by: Neil Stainton <nstainton@asl-control.co.uk>
[trini: Manually apply, rework whitespace]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/elf.c