x86: video: Add debug option to time the BIOS copy
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:18:01 +0000 (16:18 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:24:59 +0000 (07:24 -0800)
commitfba7eac1c84aa674696fea55ac3a37f1e7156181
treee82349763dfc4754ed822f4061b0287f67d78337
parent23609c71dc0c4a433b7189308cda25d1b9e70c43
x86: video: Add debug option to time the BIOS copy

This can be very slow - typically 80ms even on a fast machine since it uses
the SPI flash to read the data. Add an option to display the time taken.

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