arm: bootm: unify kernel load address calculation
Instead of having the same logic for uImage and zImage types duplicated
in the code, split it out into a separate function. This does not change
the behavior of the calculation.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d7d0c7a commit a324fb5acec8a6889b7ca5f08e796eab17ea5f54
@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