microblaze: Kconfig: introduce XILINX_MICROBLAZE0_FPGA_FAMILY option
Provide a static Kconfig value for the target FPGA archtitecture, as it is done in Linux. The cpu-uclass driver will cross-check it with the value read from PVR10 register. Signed-off-by: Ovidiu Panait <ovpanait@gmail.com> Link: https://lore.kernel.org/r/20220531181435.3473549-12-ovpanait@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
		
							parent
							
								
									10f6508c07
								
							
						
					
					
						commit
						064057fdbe
					
				|  | @ -38,6 +38,14 @@ config XILINX_MICROBLAZE0_HW_VER | ||||||
| 	string "Core version number" | 	string "Core version number" | ||||||
| 	default "7.10.d" | 	default "7.10.d" | ||||||
| 
 | 
 | ||||||
|  | config XILINX_MICROBLAZE0_FPGA_FAMILY | ||||||
|  | 	string "Targeted FPGA family" | ||||||
|  | 	default "virtex5" | ||||||
|  | 	help | ||||||
|  | 	  This option contains info about the target FPGA architecture | ||||||
|  | 	  (Zynq-7000, UltraScale+ Kintex, etc) that the MicroBlaze soft core is | ||||||
|  | 	  implemented on. It corresponds to the C_FAMILY hdl parameter. | ||||||
|  | 
 | ||||||
| config XILINX_MICROBLAZE0_USR_EXCEP | config XILINX_MICROBLAZE0_USR_EXCEP | ||||||
| 	bool "MicroBlaze user exception support" | 	bool "MicroBlaze user exception support" | ||||||
| 	default y | 	default y | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue