[U-Boot] [PATCH 1/2] video: parse the video-mode environment variable
Anatolij Gustschin
agust at denx.de
Thu Apr 28 22:09:57 CEST 2011
On Mon, 21 Mar 2011 16:38:49 -0500
Timur Tabi <timur at freescale.com> 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=<driver>:<xres>x<yres>-<depth>@<freq><,option=string>
>
> <driver> The video driver, ignored by U-Boot
> <xres> The X resolution (in pixels) to use.
> <yres> The Y resolution (in pixels) to use.
> <depth> The color depth (in bits) to use.
> <freq> The frequency (in Hz) to use.
> <options> A comma-separated list of device-specific options
>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
> 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
More information about the U-Boot
mailing list