From 244b2c5ca8b14627e4a17755e5922221e121c771 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Wed, 09 Oct 2024 06:15:07 +0000
Subject: [PATCH] change system file
---
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