x86: fsp: graphics: Add some notes about the graphics info hob
authorBin Meng <bmeng.cn@gmail.com>
Thu, 19 Oct 2017 01:20:59 +0000 (18:20 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 27 Oct 2017 07:13:47 +0000 (15:13 +0800)
On some platforms (eg: Braswell), the FSP will not produce the
graphics info HOB unless you plug some cables to the display
interface (eg: HDMI) on the board. Add such notes in the FSP
video driver.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/fsp/fsp_graphics.c

index a19b067..af71276 100644 (file)
@@ -37,6 +37,10 @@ static int save_vesa_mode(struct vesa_mode_info *vesa)
        /*
         * If there is no graphics info structure, bail out and keep
         * running on the serial console.
+        *
+        * Note: on some platforms (eg: Braswell), the FSP will not produce
+        * the graphics info HOB unless you plug some cables to the display
+        * interface (eg: HDMI) on the board.
         */
        if (!ginfo) {
                debug("FSP graphics hand-off block not found\n");