x86: Correct a few progress message nits

We should use puts() instead of printf() where possible. Also clarify
the setup.bin message.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2014-10-10 08:21:59 -06:00
parent 61643ae61a
commit 2c363cb003
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ static int boot_prep_linux(bootm_headers_t *images)
} else if (images->ep) { } else if (images->ep) {
cmd_line_dest = (void *)images->ep + COMMAND_LINE_OFFSET; cmd_line_dest = (void *)images->ep + COMMAND_LINE_OFFSET;
} else { } else {
printf("## Kernel loading failed (no setup) ...\n"); printf("## Kernel loading failed (missing x86 kernel setup) ...\n");
goto error; goto error;
} }

View File

@ -307,12 +307,12 @@ int do_zboot(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
base_ptr = load_zimage(bzImage_addr, bzImage_size, &load_address); base_ptr = load_zimage(bzImage_addr, bzImage_size, &load_address);
if (!base_ptr) { if (!base_ptr) {
printf("## Kernel loading failed ...\n"); puts("## Kernel loading failed ...\n");
return -1; return -1;
} }
if (setup_zimage(base_ptr, (char *)base_ptr + COMMAND_LINE_OFFSET, if (setup_zimage(base_ptr, (char *)base_ptr + COMMAND_LINE_OFFSET,
0, initrd_addr, initrd_size)) { 0, initrd_addr, initrd_size)) {
printf("Setting up boot parameters failed ...\n"); puts("Setting up boot parameters failed ...\n");
return -1; return -1;
} }