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/common/spl/Kconfig |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/u-boot/common/spl/Kconfig b/u-boot/common/spl/Kconfig
index c62938c..dfa3fcd 100644
--- a/u-boot/common/spl/Kconfig
+++ b/u-boot/common/spl/Kconfig
@@ -144,6 +144,17 @@
 	  The SPL code will be relocated to a high memory if you say no here.
 	  Only ARM64 and PowerPC SPL support relocate now.
 
+config SPL_BOOT_IMAGE
+	bool "SPL boot image load support"
+	default n
+	help
+	  This enable SPL boot image load support
+
+config SPL_BOOT_IMAGE_BUF
+	hex "SPL boot image memory buffer"
+	depends on SPL_BOOT_IMAGE
+	default 0x10000000
+
 config SPL_RELOC_TEXT_BASE
 	hex "Address the SPL relocate to"
 	depends on !SPL_SKIP_RELOCATE
@@ -598,6 +609,12 @@
 	  boot. This enables the drivers in drivers/pch as part of an SPL
 	  build.
 
+config SPL_PCIE_EP_SUPPORT
+	bool "Support loading from PCIE EP"
+	help
+	  Enable support for PCIE EP driver in SPL. The RC will download the
+	  image as a RAM partition for firmware.
+
 config SPL_POST_MEM_SUPPORT
 	bool "Support POST drivers"
 	help
@@ -900,6 +917,13 @@
 	help
 	  Enable boot kernel in SPL.
 
+config SPL_KERNEL_BOOT_PREBUILT
+	bool "Enable boot kernel in SPL with prebuilt program"
+	depends on SPL_KERNEL_BOOT
+	default y
+	help
+	  Enable boot kernel in SPL with prebuilt program.
+
 config SPL_KERNEL_BOOT_SECTOR
 	hex "Sector address to load kernel in SPL"
 	depends on SPL_KERNEL_BOOT

--
Gitblit v1.6.2