I am trying to enable FRAMEBUFFER_SET_VESA_MODE for G505S at its'
Kconfig ( ./src/mainboard/lenovo/g505s/Kconfig ) and also set the VESA
mode to 0x118 instead of default 0x117 setting, by inserting the
following lines to G505S Kconfig:
config FRAMEBUFFER_SET_VESA_MODE
bool
default y
config FRAMEBUFFER_VESA_MODE_118
bool
default y
config FRAMEBUFFER_VESA_MODE
hex
default 0x118
However, when I'm trying to run "make menuconfig" it complains with
"Kconfig:[line_number]:warning: defaults for choice values not
supported" message and I could see that the default setting is still
0x117.
Could you please advise the working way of changing this "choice"
setting by default?
I thought of something like
choice
prompt "framebuffer graphics resolution"
default FRAMEBUFFER_VESA_MODE_117 if !BOARD_LENOVO_G505S
default FRAMEBUFFER_VESA_MODE_118 if BOARD_LENOVO_G505S
help
This option sets the resolution used for the coreboot framebuffer (and
bootsplash screen).
at ./coreboot/src/device/Kconfig, and it should work, however this
isn't pretty (and also I prefer that board-specific options stay at
board's Kconfig and don't spread across the tree) so it would be
really helpful if you know a good alternative workaround
Best regards,
Mike Banon
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]