[new uImage] Removed dead ramdisk code on microblaze architectures
Microblaze do_bootm_linux() includes ramdisk processing code but the ramdisk does not get used anywhere later on. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
This commit is contained in:
parent
5ad03eb385
commit
68d4f05e6b
|
@ -35,17 +35,12 @@ DECLARE_GLOBAL_DATA_PTR;
|
||||||
void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
|
void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
|
||||||
image_header_t *hdr, int verify)
|
image_header_t *hdr, int verify)
|
||||||
{
|
{
|
||||||
ulong initrd_start, initrd_end;
|
|
||||||
|
|
||||||
/* First parameter is mapped to $r5 for kernel boot args */
|
/* First parameter is mapped to $r5 for kernel boot args */
|
||||||
void (*theKernel) (char *);
|
void (*theKernel) (char *);
|
||||||
char *commandline = getenv ("bootargs");
|
char *commandline = getenv ("bootargs");
|
||||||
|
|
||||||
theKernel = (void (*)(char *))image_get_ep (hdr);
|
theKernel = (void (*)(char *))image_get_ep (hdr);
|
||||||
|
|
||||||
get_ramdisk (cmdtp, flag, argc, argv, hdr, verify,
|
|
||||||
IH_ARCH_MICROBLAZE, &initrd_start, &initrd_end);
|
|
||||||
|
|
||||||
show_boot_progress (15);
|
show_boot_progress (15);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in New Issue