From 9df731a176aab8e03b984b681b1bea01ccff6644 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Mon, 06 Nov 2023 07:23:06 +0000
Subject: [PATCH] rk3568 rt uboot init

---
 u-boot/drivers/video/Kconfig |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/u-boot/drivers/video/Kconfig b/u-boot/drivers/video/Kconfig
index 27cb8ef..55a27e6 100644
--- a/u-boot/drivers/video/Kconfig
+++ b/u-boot/drivers/video/Kconfig
@@ -14,6 +14,21 @@
 	  option compiles in the video uclass and routes all LCD/video access
 	  through this.
 
+config SPL_DM_VIDEO
+	bool "Enable driver model support for LCD/video in SPL"
+	depends on DM_VIDEO && SPL
+	help
+	  This enables driver model for LCD and video devices in SPL. These support
+	  a bitmap display of various sizes and depths which can be drawn on
+	  to display a command-line console or splash screen. Enabling this
+	  option compiles in the video uclass and routes all LCD/video access
+	  through this.
+
+config SPL_VIDEO_BUF
+	hex "SPL video memory buffer for any use"
+	depends on SPL_DM_VIDEO
+	default 0xa200000
+
 config BACKLIGHT_PWM
 	bool "Generic PWM based Backlight Driver"
 	depends on DM_VIDEO && DM_PWM
@@ -390,6 +405,12 @@
 	help
 	   This enables library for accessing EDID data from an LCD panel.
 
+config SPL_I2C_EDID
+	bool "Enable EDID library in SPL"
+	depends on DM_I2C && SPL_DM_VIDEO
+	help
+	  This enables library in SPL for accessing EDID data from an LCD panel.
+
 config DISPLAY
 	bool "Enable Display support"
 	depends on DM

--
Gitblit v1.6.2