baseport/syborg/bootstrap/syborg.s
branchgraphics-phase-3
changeset 114 19c4533e1567
parent 98 23e14cbcf117
parent 104 fba9a3afb710
equal deleted inserted replaced
113:b842c0cb760e 114:19c4533e1567
     8 ;*
     8 ;*
     9 ;* Initial Contributors:
     9 ;* Initial Contributors:
    10 ;* Nokia Corporation - initial contribution.
    10 ;* Nokia Corporation - initial contribution.
    11 ;*
    11 ;*
    12 ;* Contributors:
    12 ;* Contributors:
       
    13 ;* NTT DOCOMO, INC - Fix for bug 1291 "E32test t_tock.exe failed to load Logical Device"
    13 ;*
    14 ;*
    14 ;* Description:
    15 ;* Description:
    15 ;*
    16 ;*
    16 ;*/
    17 ;*/
    17 		
    18 		
   183 		HW_MAPPING		KHwBaseNand,    		1,	HW_MULT_4K
   184 		HW_MAPPING		KHwBaseNand,    		1,	HW_MULT_4K
   184 		HW_MAPPING		KHwBaseAudio,    		1,	HW_MULT_4K
   185 		HW_MAPPING		KHwBaseAudio,    		1,	HW_MULT_4K
   185 		HW_MAPPING		KHwBaseWebcamera,    		1,	HW_MULT_4K
   186 		HW_MAPPING		KHwBaseWebcamera,    		1,	HW_MULT_4K
   186 		HW_MAPPING		KHwNVMemoryDevice,		1,	HW_MULT_4K
   187 		HW_MAPPING		KHwNVMemoryDevice,		1,	HW_MULT_4K
   187                 HW_MAPPING              KHwGraphicsRegBase,             1,      HW_MULT_4K
   188                 HW_MAPPING              KHwGraphicsRegBase,             1,      HW_MULT_4K
       
   189 		HW_MAPPING		KHwBaseTimer2,			1,	HW_MULT_4K
       
   190 ; NTT Docomo - Defect 1291 fix - E32test t_tock.exe failed to load Logical Device - end
   188 		HW_MAPPING		KHwBasePlatform,    		8,	HW_MULT_4K
   191 		HW_MAPPING		KHwBasePlatform,    		8,	HW_MULT_4K
   189 	
   192 	
   190 		DCD     0   ; terminator
   193 		DCD     0   ; terminator
   191 
   194 
   192 ;*******************************************************************************
   195 ;*******************************************************************************
   482 ;		No other registers modified
   485 ;		No other registers modified
   483 ;*******************************************************************************
   486 ;*******************************************************************************
   484 GetDebugPortBase	ROUT
   487 GetDebugPortBase	ROUT
   485 		ldr		r1, [r12, #TRomHeader_iDebugPort]
   488 		ldr		r1, [r12, #TRomHeader_iDebugPort]
   486 		cmp		r1, #42							; JTAG?
   489 		cmp		r1, #42							; JTAG?
   487 		movseq	r1, #0
   490 		moveqs	r1, #0
   488 		bxeq	lr							    ; yes - return 0 and set Z
   491 		bxeq	lr							    ; yes - return 0 and set Z
   489 		cmp		r1, #1
   492 		cmp		r1, #1
   490         blo     GetUartPort0          
   493         blo     GetUartPort0          
   491         beq     GetUartPort1
   494         beq     GetUartPort1
   492 		cmp		r1, #3
   495 		cmp		r1, #3