diff options
author | Florian Fainelli <florian@openwrt.org> | 2015-01-10 20:12:02 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2015-01-10 20:12:02 +0000 |
commit | dd4ee63fa43cf13190891a5df62676054942b52e (patch) | |
tree | 961871e70f77414e4bc647923a07119390b4676e /target/linux/mcs814x/files-3.14/arch/arm/mach-mcs814x/include/mach/debug-macro.S | |
parent | 3b523f6780113b0f55a2362ab093145dfa2a7c75 (diff) | |
download | master-31e0f0ae-dd4ee63fa43cf13190891a5df62676054942b52e.tar.gz master-31e0f0ae-dd4ee63fa43cf13190891a5df62676054942b52e.tar.bz2 master-31e0f0ae-dd4ee63fa43cf13190891a5df62676054942b52e.zip |
mcs814x: add 3.14 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 43926
Diffstat (limited to 'target/linux/mcs814x/files-3.14/arch/arm/mach-mcs814x/include/mach/debug-macro.S')
-rw-r--r-- | target/linux/mcs814x/files-3.14/arch/arm/mach-mcs814x/include/mach/debug-macro.S | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/mcs814x/files-3.14/arch/arm/mach-mcs814x/include/mach/debug-macro.S b/target/linux/mcs814x/files-3.14/arch/arm/mach-mcs814x/include/mach/debug-macro.S new file mode 100644 index 0000000000..93ecea4ed2 --- /dev/null +++ b/target/linux/mcs814x/files-3.14/arch/arm/mach-mcs814x/include/mach/debug-macro.S @@ -0,0 +1,11 @@ +#include <mach/mcs814x.h> + + .macro addruart, rp, rv, tmp + ldr \rp, =MCS814X_PHYS_BASE + ldr \rv, =MCS814X_VIRT_BASE + orr \rp, \rp, #MCS814X_UART + orr \rv, \rv, #MCS814X_UART + .endm + +#define UART_SHIFT 2 +#include <asm/hardware/debug-8250.S> |