]> git.sur5r.net Git - u-boot/commit
x86: ivybridge: Only run the Video BIOS when video is enabled
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:18:02 +0000 (16:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:24:59 +0000 (07:24 -0800)
commitd19ee5c27ec0c144bae294b4317e03738616a593
tree83f825a6494455f6ff7f47ab8f4e0640530a5a4a
parentfba7eac1c84aa674696fea55ac3a37f1e7156181
x86: ivybridge: Only run the Video BIOS when video is enabled

This takes about about 700ms on link when running natively and 900ms when
running using the emulator. It is a waste of time if video is not enabled,
so don't bother running the video BIOS in that case.

We could add a command to run the video BIOS later when needed, but this is
not considered at present.

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