mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-03 21:48:15 +00:00 
			
		
		
		
	There is only one public release of the Nomadik chip, so the ifdef in reset code as well as a define in the config file are not needed Signed-off-by: Alessandro Rubini <rubini@unipv.it> Acked-by: Andrea Gallo <andrea.gallo@stericsson.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			226 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			226 B
		
	
	
	
		
			ArmAsm
		
	
	
	
	
	
#include <config.h>
 | 
						|
/*
 | 
						|
 * Processor reset for Nomadik
 | 
						|
 */
 | 
						|
 | 
						|
	.align 5
 | 
						|
.globl reset_cpu
 | 
						|
reset_cpu:
 | 
						|
	ldr	r0, =NOMADIK_SRC_BASE	/* System and Reset Controller */
 | 
						|
	ldr	r1, =0x1
 | 
						|
	str	r1, [r0, #0x18]
 | 
						|
 | 
						|
_loop_forever:
 | 
						|
	b	_loop_forever
 |