]> git.sur5r.net Git - u-boot/commitdiff
x86: Correct a few progress message nits
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 14:21:59 +0000 (08:21 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Oct 2014 02:44:27 +0000 (20:44 -0600)
We should use puts() instead of printf() where possible. Also clarify
the setup.bin message.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/bootm.c
arch/x86/lib/zimage.c

index 46a1d967e461cc8a1e6f2a1fa471f091144a67a2..86030cf52aab1c3994d805d47d16c17e27178f05 100644 (file)
@@ -121,7 +121,7 @@ static int boot_prep_linux(bootm_headers_t *images)
        } else if (images->ep) {
                cmd_line_dest = (void *)images->ep + COMMAND_LINE_OFFSET;
        } else {
-               printf("## Kernel loading failed (no setup) ...\n");
+               printf("## Kernel loading failed (missing x86 kernel setup) ...\n");
                goto error;
        }
 
index aa5597c94d68d5acddd5f00908e552855f01175d..566b048c88f73c71e9b0ac83fd4ea9028aefb72c 100644 (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);
 
        if (!base_ptr) {
-               printf("## Kernel loading failed ...\n");
+               puts("## Kernel loading failed ...\n");
                return -1;
        }
        if (setup_zimage(base_ptr, (char *)base_ptr + COMMAND_LINE_OFFSET,
                        0, initrd_addr, initrd_size)) {
-               printf("Setting up boot parameters failed ...\n");
+               puts("Setting up boot parameters failed ...\n");
                return -1;
        }