diff options
-rw-r--r-- | cmd/Kconfig | 1 | ||||
-rw-r--r-- | cmd/ubi.c | 5 |
2 files changed, 0 insertions, 6 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 9310a8bdb2..ad14c9ce71 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1856,7 +1856,6 @@ endmenu config CMD_UBI tristate "Enable UBI - Unsorted block images commands" - select CMD_MTDPARTS select CRC32 select MTD_UBI help @@ -417,11 +417,6 @@ static int ubi_dev_scan(struct mtd_info *info, const char *vid_header_offset) int ubi_detach(void) { - if (mtdparts_init() != 0) { - printf("Error initializing mtdparts!\n"); - return 1; - } - #ifdef CONFIG_CMD_UBIFS /* * Automatically unmount UBIFS partition when user |