diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-02-28 06:51:43 +0300 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-02-29 14:27:21 +0300 |
commit | a6612bdfe7ef37b9787b66800cf02aaded05fbeb (patch) | |
tree | 14c9e241c6c8964a31b6e1d824cadbc1457c3e3b /lib_ppc | |
parent | 4efbe9dbb129f857f27856936112c8c02f016be6 (diff) | |
download | u-boot-a6612bdfe7ef37b9787b66800cf02aaded05fbeb.tar.xz |
[new uImage] Don't pass kdb to ramdisk_high since we may not have one
We don't actually need the kdb param as we are just using it to get
bd->bi_memsize which we can get from gd->bd->bi_memsize. Also, if we
boot via OF we might not actually fill out a kdb.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_ppc')
-rw-r--r-- | lib_ppc/bootm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index d80d69ab2e..fa28b4314e 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -120,8 +120,7 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], rd_len = rd_data_end - rd_data_start; alloc_current = ramdisk_high (alloc_current, rd_data_start, rd_len, - kbd, sp_limit, get_sp (), - &initrd_start, &initrd_end); + sp_limit, get_sp (), &initrd_start, &initrd_end); #if defined(CONFIG_OF_LIBFDT) /* find flattened device tree */ |