summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-02-27 21:51:43 -0600
committerMarian Balakowicz <m8@semihalf.com>2008-02-29 12:27:21 +0100
commita6612bdfe7ef37b9787b66800cf02aaded05fbeb (patch)
tree14c9e241c6c8964a31b6e1d824cadbc1457c3e3b /include
parent4efbe9dbb129f857f27856936112c8c02f016be6 (diff)
downloadu-boot-imx-a6612bdfe7ef37b9787b66800cf02aaded05fbeb.zip
u-boot-imx-a6612bdfe7ef37b9787b66800cf02aaded05fbeb.tar.gz
u-boot-imx-a6612bdfe7ef37b9787b66800cf02aaded05fbeb.tar.bz2
[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 'include')
-rw-r--r--include/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 08566ea..1cec1db 100644
--- a/include/image.h
+++ b/include/image.h
@@ -388,7 +388,7 @@ void get_ramdisk (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
ulong ramdisk_high (ulong alloc_current, ulong rd_data, ulong rd_len,
- bd_t *kbd, ulong sp_limit, ulong sp,
+ ulong sp_limit, ulong sp,
ulong *initrd_start, ulong *initrd_end);
ulong get_boot_sp_limit (ulong sp);