diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:14:38 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-03-12 10:14:38 +0100 |
commit | d985c8498c4e47095820da97aa722381d39172c5 (patch) | |
tree | 213d5b778f1a1a66aa296d90513089759120fe56 /lib_ppc/bootm.c | |
parent | c87796483bc7c2900470dc747c367f602577608d (diff) | |
download | u-boot-imx-d985c8498c4e47095820da97aa722381d39172c5.zip u-boot-imx-d985c8498c4e47095820da97aa722381d39172c5.tar.gz u-boot-imx-d985c8498c4e47095820da97aa722381d39172c5.tar.bz2 |
[new uImage] Remove unnecessary arguments passed to ramdisk routines
boot_get_ramdisk() and image_get_ramdisk() do not need all
cmdtp, flag, argc and argv arguments. Simplify routines definition.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_ppc/bootm.c')
-rw-r--r-- | lib_ppc/bootm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c index 7977157..ac06b26 100644 --- a/lib_ppc/bootm.c +++ b/lib_ppc/bootm.c @@ -160,9 +160,8 @@ do_bootm_linux(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[], kernel = (void (*)(bd_t *, ulong, ulong, ulong, ulong))ep; /* find ramdisk */ - ret = boot_get_ramdisk (cmdtp, flag, argc, argv, images, - IH_ARCH_PPC, &rd_data_start, &rd_data_end); - + ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC, + &rd_data_start, &rd_data_end); if (ret) goto error; |