summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2011-03-21 16:38:49 -0500
committerAnatolij Gustschin <agust@denx.de>2011-04-28 21:31:02 +0200
commita5dbdc81ea70daa04e49eb0004a0441131a029c6 (patch)
tree82c8239819c405c007953a3b8d3353d4115f6496 /common
parent74446b63dd4ec386fc5de554d5c4a3536096072f (diff)
downloadu-boot-imx-a5dbdc81ea70daa04e49eb0004a0441131a029c6.zip
u-boot-imx-a5dbdc81ea70daa04e49eb0004a0441131a029c6.tar.gz
u-boot-imx-a5dbdc81ea70daa04e49eb0004a0441131a029c6.tar.bz2
video: parse the video-mode environment variable
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@freescale.com>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions