mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
c852ac8044
Since the iop32x code isn't iop321-specific, and the iop33x code isn't iop331-specfic, do a s/iop321/iop32x/ and s/iop331/iop33x/, and tidy up the code to conform to the coding style guidelines somewhat better. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
21 lines
573 B
ArmAsm
21 lines
573 B
ArmAsm
/*
|
|
* include/asm-arm/arch-iop32x/debug-macro.S
|
|
*
|
|
* Debugging macro include header
|
|
*
|
|
* Copyright (C) 1994-1999 Russell King
|
|
* Moved from linux/arch/arm/kernel/debug.S by Ben Dooks
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
.macro addruart, rx
|
|
mov \rx, #0xfe000000 @ physical as well as virtual
|
|
orr \rx, \rx, #0x00800000 @ location of the UART
|
|
.endm
|
|
|
|
#define UART_SHIFT 0
|
|
#include <asm/hardware/debug-8250.S>
|