提交 68d4f05e 编写于 作者: M Marian Balakowicz 提交者: Wolfgang Denk

[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: NMarian Balakowicz <m8@semihalf.com>
上级 5ad03eb3
......@@ -35,17 +35,12 @@ DECLARE_GLOBAL_DATA_PTR;
void do_bootm_linux (cmd_tbl_t * cmdtp, int flag, int argc, char *argv[],
image_header_t *hdr, int verify)
{
ulong initrd_start, initrd_end;
/* First parameter is mapped to $r5 for kernel boot args */
void (*theKernel) (char *);
char *commandline = getenv ("bootargs");
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);
#ifdef DEBUG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册