mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	Add Microchip PIC32MZ[DA] SoC family support. Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
		
			
				
	
	
		
			28 lines
		
	
	
		
			408 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			408 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
/*
 | 
						|
 * (c) 2015 Purna Chandra Mandal <purna.mandal@microchip.com>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier:	GPL-2.0+
 | 
						|
 *
 | 
						|
*/
 | 
						|
 | 
						|
#include <config.h>
 | 
						|
#include <asm/regdef.h>
 | 
						|
#include <asm/mipsregs.h>
 | 
						|
#include <asm/asm.h>
 | 
						|
 | 
						|
LEAF(lowlevel_init)
 | 
						|
	/*
 | 
						|
	 * Establish Cause
 | 
						|
	 * (set IV bit)
 | 
						|
	 */
 | 
						|
	li	t1, 0x00800000
 | 
						|
	mtc0	t1, CP0_CAUSE
 | 
						|
 | 
						|
	/* Establish Wired (and Random) */
 | 
						|
	mtc0	zero, CP0_WIRED
 | 
						|
	 nop
 | 
						|
 | 
						|
	jr	ra
 | 
						|
	 nop
 | 
						|
	END(lowlevel_init)
 |