ARM: bootm: fix default uImage placement
For small systems we would put the zImage at 32KiB after
the start of memory, and put the DT a bit after the uImage.
The kernel will always try to relocate itself and overwrite
the DT.

Try to be more clever at uImage placement to avoid
triggering the kernel relocation.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent d79618a commit 0839e3f402ffc74202a1ca4fbeaffcadb4336ce1
@Lucas Stach Lucas Stach authored on 1 May 2014
Sascha Hauer committed on 5 May 2014
Showing 1 changed file
View
arch/arm/lib/bootm.c