summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-03-12 10:14:38 +0100
committerMarian Balakowicz <m8@semihalf.com>2008-03-12 10:14:38 +0100
commitd985c8498c4e47095820da97aa722381d39172c5 (patch)
tree213d5b778f1a1a66aa296d90513089759120fe56 /include
parentc87796483bc7c2900470dc747c367f602577608d (diff)
downloadu-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 'include')
-rw-r--r--include/image.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/image.h b/include/image.h
index 681c753..6fca6f4 100644
--- a/include/image.h
+++ b/include/image.h
@@ -250,9 +250,8 @@ int genimg_get_comp_id (const char *name);
int genimg_get_format (void *img_addr);
ulong genimg_get_image (ulong img_addr);
-int boot_get_ramdisk (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[],
- bootm_headers_t *images, uint8_t arch,
- ulong *rd_start, ulong *rd_end);
+int boot_get_ramdisk (int argc, char *argv[], bootm_headers_t *images,
+ uint8_t arch, ulong *rd_start, ulong *rd_end);
#if defined(CONFIG_PPC) || defined(CONFIG_M68K)
int boot_ramdisk_high (struct lmb *lmb, ulong rd_data, ulong rd_len,