
In message 20080411090749.7630.39554.stgit@hekate.izotz.org you wrote:
Before new uImage code was merged, bootm code allowed for the kernel image to get overwritten during decompresion. new uImage introduced a check for image overwrites and refused to boot the image that got overwritten. This patch restores the old behavior. It also adds a warning when the image overwriten is a multi-image file, because in such case accessing componentes other than the first one will fail.
Signed-off-by: Marian Balakowicz m8@semihalf.com
common/cmd_bootm.c | 37 ++++++++++++++++++++++++++----------- common/image.c | 2 +- include/image.h | 3 ++- lib_arm/bootm.c | 2 +- lib_avr32/bootm.c | 2 +- lib_blackfin/bootm.c | 2 +- lib_m68k/bootm.c | 2 +- lib_microblaze/bootm.c | 2 +- lib_mips/bootm.c | 2 +- lib_nios2/bootm.c | 2 +- lib_ppc/bootm.c | 4 ++-- lib_sh/bootm.c | 2 +- 12 files changed, 39 insertions(+), 23 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk