
11 Jan
2021
11 Jan
'21
10:48 a.m.
Hi,
On Mon, Jan 11, 2021 at 10:13:32AM +0100, Giulio Benetti wrote:
From: Giulio Benetti giulio.benetti@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@micronovasrl.com
What's different from the video= parameter that already exists (and should work like you suggest)?
Maxime