[PATCH] sunxi: display: introduce "sunxi-video" environment variable
maxime at cerno.tech
Mon Jan 11 10:48:06 CET 2021
On Mon, Jan 11, 2021 at 10:13:32AM +0100, Giulio Benetti wrote:
> From: Giulio Benetti <giulio.benetti at micronovasrl.com>
> At the moment you can specify lcd_mode only through hardcoded
> CONFIG_VIDEO_LCD_MODE but this way, if you have a board with multiple lcds
> compatible, you have to rebuild u-boot for every single lcd, so let's add
> sunxi-video environment variable to give the possibility to specify lcd
> settings at runtime. It's mandatory to "saveenv" after setting sunxi-video
> variable and then "reset" since sunxi_display driver apply those settings
> only on startup.
> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
What's different from the video= parameter that already exists (and
should work like you suggest)?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
Desc: not available
More information about the U-Boot