aboutsummaryrefslogtreecommitdiff
path: root/common/cmd_elf.c
diff options
context:
space:
mode:
authorTimur Tabi2011-03-21 16:38:49 -0500
committerAnatolij Gustschin2011-04-28 21:31:02 +0200
commita5dbdc81ea70daa04e49eb0004a0441131a029c6 (patch)
tree82c8239819c405c007953a3b8d3353d4115f6496 /common/cmd_elf.c
parent74446b63dd4ec386fc5de554d5c4a3536096072f (diff)
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/cmd_elf.c')
0 files changed, 0 insertions, 0 deletions