From ea08eeccae9297f7aabd2ef7f0c2517ac4549acc Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Tue, 20 Feb 2024 01:18:26 +0000
Subject: [PATCH] write in 30M
---
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