mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	arm/kirkwood: protect the ENV_SPI #defines
So that they can be redefined by some boards specific values. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
This commit is contained in:
		
							parent
							
								
									c59c085731
								
							
						
					
					
						commit
						dacc8c6f79
					
				@ -82,9 +82,15 @@
 | 
			
		||||
#ifdef CONFIG_CMD_SF
 | 
			
		||||
#define CONFIG_HARD_SPI			1
 | 
			
		||||
#define CONFIG_KIRKWOOD_SPI		1
 | 
			
		||||
#define CONFIG_ENV_SPI_BUS		0
 | 
			
		||||
#define CONFIG_ENV_SPI_CS		0
 | 
			
		||||
#define CONFIG_ENV_SPI_MAX_HZ		50000000	/*50Mhz */
 | 
			
		||||
#ifndef CONFIG_ENV_SPI_BUS
 | 
			
		||||
# define CONFIG_ENV_SPI_BUS		0
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef CONFIG_ENV_SPI_CS
 | 
			
		||||
# define CONFIG_ENV_SPI_CS		0
 | 
			
		||||
#endif
 | 
			
		||||
#ifndef CONFIG_ENV_SPI_MAX_HZ
 | 
			
		||||
# define CONFIG_ENV_SPI_MAX_HZ		50000000
 | 
			
		||||
#endif
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user