Skip to content
Snippets Groups Projects
Commit c78fce69 authored by Michal Simek's avatar Michal Simek Committed by Wolfgang Denk
Browse files

FIS: repare incorrect return value with ramdisk handling


Microblaze and PowerPC use boot_get_ramdisk for loading
ramdisk to memory with checking return value.
Return 0 means success. Return 1 means failed.
Here is correspond part of code from bootm.c which check
return code.

ret = boot_get_ramdisk (argc, argv, images, IH_ARCH_PPC,
		&rd_data_start, &rd_data_end);
if (ret)
	goto error;

Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 84a2c64a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment