mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	mtd: Correct dependency of BLK
In the case of MTD_BLOCK and UBI_BLOCK they should be select'ing BLK as they provide block device functionality and not depending on some other block device already being enabled too (as is the typical case). Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Reviewed-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		
							parent
							
								
									a72fa7f2fe
								
							
						
					
					
						commit
						09cf580029
					
				@ -34,7 +34,7 @@ config MTD_CONCAT
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
config MTD_BLOCK
 | 
					config MTD_BLOCK
 | 
				
			||||||
	bool "Enable block device access to MTD devices"
 | 
						bool "Enable block device access to MTD devices"
 | 
				
			||||||
	depends on BLK
 | 
						select BLK
 | 
				
			||||||
	help
 | 
						help
 | 
				
			||||||
	  Enable support for block device access to MTD devices
 | 
						  Enable support for block device access to MTD devices
 | 
				
			||||||
	  using blk_ops abstraction.
 | 
						  using blk_ops abstraction.
 | 
				
			||||||
 | 
				
			|||||||
@ -116,7 +116,7 @@ config MTD_UBI_FM_DEBUG
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
config UBI_BLOCK
 | 
					config UBI_BLOCK
 | 
				
			||||||
	bool "Enable UBI block device support"
 | 
						bool "Enable UBI block device support"
 | 
				
			||||||
	depends on BLK
 | 
						select BLK
 | 
				
			||||||
	help
 | 
						help
 | 
				
			||||||
	  Enable UBI block device support using blk_ops abstraction.
 | 
						  Enable UBI block device support using blk_ops abstraction.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user