videomodes: Add helper functions to parse video-mode env-var extra options
authorHans de Goede <hdegoede@redhat.com>
Fri, 19 Dec 2014 13:27:46 +0000 (14:27 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:38 +0000 (14:56 +0100)
commiteb3c0cf8069a004512aac23d85c87c2ee348f8cd
treeb73c86b484deb7302d3c37badc51b511dc4bf4f3
parente976b868f2f77eddf7f61d52dfe2a23075ae272d
videomodes: Add helper functions to parse video-mode env-var extra options

Add 2 helper functions to get strings, respectively integers from the options
value returned by video_get_video_mode() / video_get_ctfb_res_modes().

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
drivers/video/videomodes.c
drivers/video/videomodes.h