From 23fa18eaa71266feff7ba8d83022d9e1cc83c65a Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 10 May 2024 07:42:03 +0000 Subject: [PATCH] disable pwm7 --- 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