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/board_r.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/u-boot/common/board_r.c b/u-boot/common/board_r.c
index 74fee37..c3d7d9c 100644
--- a/u-boot/common/board_r.c
+++ b/u-boot/common/board_r.c
@@ -481,21 +481,6 @@
 }
 #endif
 
-#ifdef CONFIG_MTD_BLK
-static int initr_mtd_blk(void)
-{
-#ifndef CONFIG_USING_KERNEL_DTB
-	struct blk_desc *dev_desc;
-
-	puts("mtd_blk:   ");
-	dev_desc = rockchip_get_bootdev();
-	if (dev_desc)
-		mtd_blk_map_partitions(dev_desc);
-#endif
-	return 0;
-}
-#endif
-
 #if !defined(CONFIG_USING_KERNEL_DTB) || !defined(CONFIG_ENV_IS_NOWHERE)
 /*
  * Tell if it's OK to load the environment early in boot.
@@ -966,9 +951,6 @@
 #endif
 #ifdef CONFIG_CMD_ONENAND
 	initr_onenand,
-#endif
-#ifdef CONFIG_MTD_BLK
-	initr_mtd_blk,
 #endif
 #ifdef CONFIG_MMC
 	initr_mmc,

--
Gitblit v1.6.2