nb/via/cn700: Guard VGA_BIOS_ID appropriately
This was the single spot where VGA_BIOS_ID wasn't guarded by anything. It resulted in the wrong default id if we didn't chose to add a VGA BIOS at first but added one later (e.g. a board provided default guarded by VGA_BIOS wasn't applied then, because the Via/CN700 value was already set). Change-Id: Ia16a5e6d194191d8da8c551d6eb3849bc65864a9 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/20101 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
ac3e48257e
commit
e8f6569ab3
|
@ -27,6 +27,8 @@ config CN700_VIDEO_MB_128MB
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
if NORTHBRIDGE_VIA_CN700
|
||||||
|
|
||||||
config VIDEO_MB
|
config VIDEO_MB
|
||||||
int
|
int
|
||||||
default 0 if CN700_VIDEO_MB_OFF
|
default 0 if CN700_VIDEO_MB_OFF
|
||||||
|
@ -35,8 +37,10 @@ config VIDEO_MB
|
||||||
default 32 if CN700_VIDEO_MB_32MB
|
default 32 if CN700_VIDEO_MB_32MB
|
||||||
default 64 if CN700_VIDEO_MB_64MB
|
default 64 if CN700_VIDEO_MB_64MB
|
||||||
default 128 if CN700_VIDEO_MB_128MB
|
default 128 if CN700_VIDEO_MB_128MB
|
||||||
depends on NORTHBRIDGE_VIA_CN700
|
|
||||||
|
|
||||||
config VGA_BIOS_ID
|
config VGA_BIOS_ID
|
||||||
string
|
string
|
||||||
|
depends on VGA_BIOS
|
||||||
default "1106,3344"
|
default "1106,3344"
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue