mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	Allow L1 Icache & L1 Dcache line size to be specified separately, since there's no architectural mandate that they be the same. The [id]cache_line_size functions are tidied up to take advantage of the fact that the Kconfig entries are always present to simply check them for zero rather than needing to #ifdef on their presence. Signed-off-by: Paul Burton <paul.burton@imgtec.com> [removed CONFIG_SYS_CACHELINE_SIZE in include/configs/pic32mzdask.h] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			400 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			400 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| if TARGET_QEMU_MIPS
 | |
| 
 | |
| config SYS_BOARD
 | |
| 	default "qemu-mips"
 | |
| 
 | |
| config SYS_CONFIG_NAME
 | |
| 	default "qemu-mips" if 32BIT
 | |
| 	default "qemu-mips64" if 64BIT
 | |
| 
 | |
| config SYS_TEXT_BASE
 | |
| 	default 0xbfc00000 if 32BIT
 | |
| 	default 0xffffffffbfc00000 if 64BIT
 | |
| 
 | |
| config SYS_DCACHE_SIZE
 | |
| 	default 16384
 | |
| 
 | |
| config SYS_DCACHE_LINE_SIZE
 | |
| 	default 32
 | |
| 
 | |
| config SYS_ICACHE_SIZE
 | |
| 	default 16384
 | |
| 
 | |
| config SYS_ICACHE_LINE_SIZE
 | |
| 	default 32
 | |
| 
 | |
| endif
 |