From: Anatolij Gustschin Date: Thu, 28 Apr 2011 22:09:57 +0200 Subject: [U-Boot] [PATCH 1/2] video: parse the video-mode environment variable In-Reply-To: <1300743530-6829-1-git-send-email-timur@freescale.com> References: <1300743530-6829-1-git-send-email-timur@freescale.com> Message-ID: <20110428220957.114d35c3@wker> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 21 Mar 2011 16:38:49 -0500 Timur Tabi wrote: > Add function video_get_video_mode(), which parses the "video-mode" environment > variable and returns each of its components. The format matches the video= > command-line option used for Linux: > > video-mode=:x-@<,option=string> > > The video driver, ignored by U-Boot > The X resolution (in pixels) to use. > The Y resolution (in pixels) to use. > The color depth (in bits) to use. > The frequency (in Hz) to use. > A comma-separated list of device-specific options > > Signed-off-by: Timur Tabi > --- > doc/README.video | 19 +++++++++++++ > drivers/video/videomodes.c | 64 ++++++++++++++++++++++++++++++++++++++++++++ > drivers/video/videomodes.h | 3 ++ > 3 files changed, 86 insertions(+), 0 deletions(-) appied to u-boot-video/master. Thanks! Anatolij