mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 14:00:19 +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
 | 
			
		||||
	bool "Enable block device access to MTD devices"
 | 
			
		||||
	depends on BLK
 | 
			
		||||
	select BLK
 | 
			
		||||
	help
 | 
			
		||||
	  Enable support for block device access to MTD devices
 | 
			
		||||
	  using blk_ops abstraction.
 | 
			
		||||
 | 
			
		||||
@ -116,7 +116,7 @@ config MTD_UBI_FM_DEBUG
 | 
			
		||||
 | 
			
		||||
config UBI_BLOCK
 | 
			
		||||
	bool "Enable UBI block device support"
 | 
			
		||||
	depends on BLK
 | 
			
		||||
	select BLK
 | 
			
		||||
	help
 | 
			
		||||
	  Enable UBI block device support using blk_ops abstraction.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user