]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: video: Only print out when everything is OK
authorBin Meng <bmeng.cn@gmail.com>
Thu, 12 Apr 2018 05:02:18 +0000 (22:02 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 16 Apr 2018 14:38:52 +0000 (22:38 +0800)
commit611309383d19ec806bdf38bea70fc2d7636ae64f
tree92275e34ae8ea7ec71df93f091db54e385e4cbfb
parent55b4e1b7d9990f0f539e189ccaad7224513f86b4
pci: video: Only print out when everything is OK

If video initialization fails, the "Video:" output message will be
mixed with the next console log. Change to print out such message
only when everything is OK, which improves the boot log readability.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci_rom.c