[PATCH] sunxi: display: introduce "sunxi-video" environment variable
Giulio Benetti
giulio.benetti at benettiengineering.com
Mon Jan 11 11:34:41 CET 2021
On 1/11/21 10:48 AM, Maxime Ripard wrote:
> Hi,
>
> 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)?
My bad, don't even know why I haven't noticed it.
So please drop this patch.
Thank you
Best regards
--
Giulio Benetti
Benetti Engineering sas
More information about the U-Boot
mailing list