arm: bootm: be more clever about kernel spacing
When the kernel load address is chosen by the user/image we need
to check if the kernel needs to relocate itself before decompression.
If that's the case the spacing behind the kernel must allow for this
relocation without overwriting anything placed behind the kernel.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a324fb5 commit b731a61ab541367848c96e306f7d29e90e53f1d5
@Lucas Stach Lucas Stach authored on 26 Feb 2016
Sascha Hauer committed on 1 Mar 2016
Showing 1 changed file
View
arch/arm/lib/bootm.c