From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Mon, 11 Jan 2021 10:48:06 +0100 Subject: [PATCH] sunxi: display: introduce "sunxi-video" environment variable In-Reply-To: <20210111091332.103330-1-giulio.benetti@benettiengineering.com> References: <20210111091332.103330-1-giulio.benetti@benettiengineering.com> Message-ID: <20210111094806.pewxtvya3pta7bye@gilmour> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Mon, Jan 11, 2021 at 10:13:32AM +0100, Giulio Benetti wrote: > From: Giulio Benetti > > 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 What's different from the video= parameter that already exists (and should work like you suggest)? Maxime -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: