ARM: imx8m: Do not define do_reset() if sysreset is enabled
[oweals/u-boot.git] / include / vbe.h
index 1a86db886adc7a0aed887017ba174cf70dbf3df7..f420f493ee1b05ce2bae5d8c39068832ec23daac 100644 (file)
@@ -1,10 +1,9 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
 /******************************************************************************
  * Copyright (c) 2004, 2008 IBM Corporation
  * Copyright (c) 2009 Pattrick Hueper <phueper@hueper.net>
  * All rights reserved.
  *
- * SPDX-License-Identifier:    BSD-2-Clause
- *
  * Contributors:
  *     IBM Corporation - initial implementation
  *****************************************************************************/
@@ -102,7 +101,13 @@ struct vbe_ddc_info {
 #define VESA_SET_MODE          0x4f02
 #define VESA_GET_CUR_MODE      0x4f03
 
-struct graphic_device;
-int vbe_get_video_info(struct graphic_device *gdev);
+extern struct vbe_mode_info mode_info;
+
+struct video_priv;
+struct video_uc_platdata;
+int vbe_setup_video_priv(struct vesa_mode_info *vesa,
+                        struct video_priv *uc_priv,
+                        struct video_uc_platdata *plat);
+int vbe_setup_video(struct udevice *dev, int (*int15_handler)(void));
 
 #endif