mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 08:44:41 +00:00 
			
		
		
		
	arch: riscv: add config option for building SiFive's SoC resource
Create a config option for building SiFive SoC specific resources e.g. SiFive device tree, platform drivers... Signed-off-by: Loys Ollivier <lollivier@baylibre.com> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Palmer Dabbelt <palmer@sifive.com> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
This commit is contained in:
		
							parent
							
								
									556024d41f
								
							
						
					
					
						commit
						0cbb8a32cb
					
				
					 3 changed files with 11 additions and 1 deletions
				
			
		|  | @ -95,6 +95,8 @@ config PGTABLE_LEVELS | |||
| 	default 3 if 64BIT | ||||
| 	default 2 | ||||
| 
 | ||||
| source "arch/riscv/Kconfig.socs" | ||||
| 
 | ||||
| menu "Platform type" | ||||
| 
 | ||||
| choice | ||||
|  |  | |||
							
								
								
									
										8
									
								
								arch/riscv/Kconfig.socs
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								arch/riscv/Kconfig.socs
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| menu "SoC selection" | ||||
| 
 | ||||
| config SOC_SIFIVE | ||||
|        bool "SiFive SoCs" | ||||
|        help | ||||
|          This enables support for SiFive SoC platform hardware. | ||||
| 
 | ||||
| endmenu | ||||
|  | @ -1,2 +1,2 @@ | |||
| # SPDX-License-Identifier: GPL-2.0
 | ||||
| dtb-y += hifive-unleashed-a00.dtb | ||||
| dtb-$(CONFIG_SOC_SIFIVE) += hifive-unleashed-a00.dtb | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Loys Ollivier
						Loys Ollivier