ARM: footbridge: fix debug macros
0ea1293 (arm: return both physical and virtual addresses from addruart)
changed the way the 'addruart' worked, making it return both the virt
and phys addresses.  Unfortunately, for footbridge, these were reversed.
Fix that.  Tested on Netwinder.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>This commit is contained in:
		
					parent
					
						
							
								613b152c63
							
						
					
				
			
			
				commit
				
					
						5f2c1b30c7
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -17,8 +17,8 @@ | |||
| 	/* For NetWinder debugging */ | ||||
| 		.macro	addruart, rp, rv | ||||
| 		mov	\rp, #0x000003f8 | ||||
| 		orr	\rv, \rp, #0x7c000000	@ physical
 | ||||
| 		orr	\rp, \rp, #0xff000000	@ virtual
 | ||||
| 		orr	\rv, \rp, #0xff000000	@ virtual
 | ||||
| 		orr	\rp, \rp, #0x7c000000	@ physical
 | ||||
| 		.endm | ||||
| 
 | ||||
| #define UART_SHIFT	0 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Russell King
				Russell King