video: Fix video on coreboot with the copy buffer
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:26 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:30 +0000 (15:04 +1300)
commitbcac36185b49eaaab437a8db196d804380872c5c
treef3b674abc129b4f41c24017e0cb11a85e74db9d0
parent907bcd3a33253515cb1bdc01077e127c6735f74b
video: Fix video on coreboot with the copy buffer

The copy buffer, if enabled, prevents booting from coreboot correctly,
since no memory is allocated for it. Allow it to fall back to disabled
in this situation. This ensures that a console is displayed, even if
it is slow.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci_rom.c