mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	This converts the following to Kconfig: CONFIG_ENV_SPI_BUS CONFIG_ENV_SPI_CS CONFIG_ENV_SPI_MAX_HZ CONFIG_ENV_SPI_MODE As part of this, we use Kconfig to provide the defaults now that were done in include/spi_flash.h. We also in some cases change from using CONFIG_ENV_SPI_FOO to CONFIG_SF_DEFAULT_FOO as those were the values in use anyhow as ENV was not enabled. Signed-off-by: Tom Rini <trini@konsulko.com>
		
			
				
	
	
		
			29 lines
		
	
	
		
			638 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			638 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| menuconfig FSL_PFE
 | |
| 	bool "NXP PFE Ethernet driver"
 | |
| 	help
 | |
| 	  This driver provides support for NXP's Packet Forwarding Engine.
 | |
| 
 | |
| if FSL_PFE
 | |
| 
 | |
| config SYS_FSL_PFE_ADDR
 | |
| 	hex "PFE base address"
 | |
| 	default 0x04000000
 | |
| 
 | |
| config SYS_FSL_PFE_SPI_BUS
 | |
| 	int "Value of SPI flash bus for PFE firmware"
 | |
| 	default SF_DEFAULT_BUS
 | |
| 
 | |
| config SYS_FSL_PFE_SPI_CS
 | |
| 	int "Value of SPI flash chip select for PFE firmware"
 | |
| 	default SF_DEFAULT_CS
 | |
| 
 | |
| config SYS_FSL_PFE_SPI_MAX_HZ
 | |
| 	int "Value of SPI flash max frequency for PFE firmware"
 | |
| 	default SF_DEFAULT_SPEED
 | |
| 
 | |
| config SYS_FSL_PFE_SPI_MODE
 | |
| 	hex "Value of SPI flash work mode for PFE firmware"
 | |
| 	default SF_DEFAULT_MODE
 | |
| 
 | |
| endif
 |