]> git.sur5r.net Git - u-boot/blobdiff - drivers/video/videomodes.h
sandbox: Move CONFIG_VIDEO_SANDBOX_SDL to Kconfig
[u-boot] / drivers / video / videomodes.h
index 02419cdeacc6574b76fed30ecb166ee085ad63fb..82190a2aecf7c6f7db378bef113f3eb0fe2aad5f 100644 (file)
@@ -5,6 +5,7 @@
  * SPDX-License-Identifier:    GPL-2.0+
  */
 
+#include <edid.h>
 
 #ifndef CONFIG_SYS_DEFAULT_VIDEO_MODE
 #define CONFIG_SYS_DEFAULT_VIDEO_MODE  0x301
@@ -84,3 +85,11 @@ void video_get_ctfb_res_modes(int default_mode, unsigned int default_depth,
                              const struct ctfb_res_modes **mode_ret,
                              unsigned int *depth_ret,
                              const char **options);
+
+void video_get_option_string(const char *options, const char *name,
+                            char *dest, int dest_len, const char *def);
+
+int video_get_option_int(const char *options, const char *name, int def);
+
+int video_edid_dtd_to_ctfb_res_modes(struct edid_detailed_timing *t,
+                                    struct ctfb_res_modes *mode);