Fix initrd length corruption in bootm command.
authorWolfgang Denk <wd@denx.de>
Fri, 4 May 2007 08:02:33 +0000 (10:02 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 4 May 2007 08:02:33 +0000 (10:02 +0200)
commit9877d7dcd1eebe61aa5d8b8ffe9c048ea426e6f6
treeaa4ed05fb32d63f8e75174aebd607ea83ca39e32
parentc64a89d6ce8584b9fc64f4e85da9ecac3cfc2c2a
Fix initrd length corruption in bootm command.

When using FDT Images, the length of an inital ramdisk was
overwritten (bug introduced by commit 87a449c8, 22 Aug 2006).

Patches by Timur Tabi & Johns Daniel.

Signed-off-by: Wolfgang Denk <wd@denx.de>
common/cmd_bootm.c