]> git.sur5r.net Git - u-boot/blobdiff - drivers/pci/pci_rom.c
pci: video: Only print out when everything is OK
[u-boot] / drivers / pci / pci_rom.c
index 46fe5e62471207e9099526413a6e9aa032923dfa..7f461943f88adfcf86812232514b29d8c22f38c3 100644 (file)
@@ -355,8 +355,6 @@ int vbe_setup_video(struct udevice *dev, int (*int15_handler)(void))
        struct video_priv *uc_priv = dev_get_uclass_priv(dev);
        int ret;
 
-       printf("Video: ");
-
        /* If we are running from EFI or coreboot, this can't work */
        if (!ll_boot_init()) {
                printf("Not available (previous bootloader prevents it)\n");
@@ -377,7 +375,7 @@ int vbe_setup_video(struct udevice *dev, int (*int15_handler)(void))
                return ret;
        }
 
-       printf("%dx%dx%d\n", uc_priv->xsize, uc_priv->ysize,
+       printf("Video: %dx%dx%d\n", uc_priv->xsize, uc_priv->ysize,
               mode_info.vesa.bits_per_pixel);
 
        return 0;