mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/arch/mips/Kconfig
 | |
| +++ b/arch/mips/Kconfig
 | |
| @@ -51,6 +51,24 @@ choice
 | |
|  	prompt "System type"
 | |
|  	default SGI_IP22
 | |
|  
 | |
| +config ADM5120
 | |
| +	bool "Infineon/ADMtek ADM5120 SoC based machines"
 | |
| +	select BOOT_RAW
 | |
| +	select NO_EXCEPT_FILL
 | |
| +	select CEVT_R4K
 | |
| +	select CSRC_R4K
 | |
| +	select SYS_HAS_CPU_MIPS32_R1
 | |
| +	select SYS_HAS_EARLY_PRINTK
 | |
| +	select DMA_NONCOHERENT
 | |
| +	select IRQ_CPU
 | |
| +	select SYS_SUPPORTS_LITTLE_ENDIAN
 | |
| +	select SYS_SUPPORTS_BIG_ENDIAN
 | |
| +	select SYS_SUPPORTS_32BIT_KERNEL
 | |
| +	select ARCH_REQUIRE_GPIOLIB
 | |
| +	select SWAP_IO_SPACE if CPU_BIG_ENDIAN
 | |
| +	select MIPS_MACHINE
 | |
| +	select HAVE_CLK
 | |
| +
 | |
|  config MIPS_ALCHEMY
 | |
|  	bool "Alchemy processor based machines"
 | |
|  	select 64BIT_PHYS_ADDR
 | |
| @@ -836,6 +854,7 @@ config NLM_XLP_BOARD
 | |
|  
 | |
|  endchoice
 | |
|  
 | |
| +source "arch/mips/adm5120/Kconfig"
 | |
|  source "arch/mips/alchemy/Kconfig"
 | |
|  source "arch/mips/ath79/Kconfig"
 | |
|  source "arch/mips/bcm47xx/Kconfig"
 | |
| --- a/arch/mips/Kbuild.platforms
 | |
| +++ b/arch/mips/Kbuild.platforms
 | |
| @@ -1,5 +1,6 @@
 | |
|  # All platforms listed in alphabetic order
 | |
|  
 | |
| +platforms += adm5120
 | |
|  platforms += alchemy
 | |
|  platforms += ar7
 | |
|  platforms += ath79
 |