mirror of
				https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
				synced 2025-10-31 16:18:51 +01:00 
			
		
		
		
	Fixed MTP to work with TWRP
This commit is contained in:
		
						commit
						f6dfaef42e
					
				
					 50820 changed files with 20846062 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								arch/sh/include/mach-kfr2r09/mach/romimage.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								arch/sh/include/mach-kfr2r09/mach/romimage.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| #ifdef __ASSEMBLY__ | ||||
| 
 | ||||
| /* kfr2r09 board specific boot code:
 | ||||
|  * converts the "partner-jet-script.txt" script into assembly | ||||
|  * the assembly code is the first code to be executed in the romImage | ||||
|  */ | ||||
| 
 | ||||
| #include <asm/romimage-macros.h> | ||||
| #include <mach/partner-jet-setup.txt> | ||||
| 
 | ||||
| 	/* execute icbi after enabling cache */ | ||||
| 	mov.l	1f, r0 | ||||
| 	icbi	@r0 | ||||
| 
 | ||||
| 	/* jump to cached area */ | ||||
| 	mova	2f, r0 | ||||
| 	jmp	@r0 | ||||
| 	 nop | ||||
| 
 | ||||
| 	.align 2 | ||||
| 1:	.long 0xa8000000 | ||||
| 2: | ||||
| 
 | ||||
| #else /* __ASSEMBLY__ */ | ||||
| 
 | ||||
| static inline void mmcif_update_progress(int nr) | ||||
| { | ||||
| } | ||||
| 
 | ||||
| #endif /* __ASSEMBLY__ */ | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 awab228
						awab228