diff options
author | John Crispin <john@openwrt.org> | 2013-04-12 18:56:53 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-04-12 18:56:53 +0000 |
commit | 92259c480340026bb4bb06a17a7ab72c54e0348e (patch) | |
tree | 3cab0ab90f41809bc45e427df4b4d578edcbe100 /target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch | |
parent | a6424245e65f06be225386b0eb2b8fca0be4b31f (diff) | |
download | upstream-92259c480340026bb4bb06a17a7ab72c54e0348e.tar.gz upstream-92259c480340026bb4bb06a17a7ab72c54e0348e.tar.bz2 upstream-92259c480340026bb4bb06a17a7ab72c54e0348e.zip |
fix up the rt2880 patches
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36326
Diffstat (limited to 'target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch')
-rw-r--r-- | target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch b/target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch new file mode 100644 index 0000000000..0f6e099cb9 --- /dev/null +++ b/target/linux/ramips/patches-3.8/0133-MIPS-ralink-make-early_printk-work-on-RT2880.patch @@ -0,0 +1,31 @@ +From 3f32be8f012fb5476ea916e583e584cccc632a84 Mon Sep 17 00:00:00 2001 +From: John Crispin <blogic@openwrt.org> +Date: Tue, 9 Apr 2013 18:31:15 +0200 +Subject: [PATCH V2 08/16] MIPS: ralink: make early_printk work on RT2880 + +RT2880 has a different location for the early serial port. + +Signed-off-by: John Crispin <blogic@openwrt.org> +--- + arch/mips/ralink/early_printk.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/arch/mips/ralink/early_printk.c b/arch/mips/ralink/early_printk.c +index c4ae47e..b46d041 100644 +--- a/arch/mips/ralink/early_printk.c ++++ b/arch/mips/ralink/early_printk.c +@@ -11,7 +11,11 @@ + + #include <asm/addrspace.h> + ++#ifdef CONFIG_SOC_RT288X ++#define EARLY_UART_BASE 0x300c00 ++#else + #define EARLY_UART_BASE 0x10000c00 ++#endif + + #define UART_REG_RX 0x00 + #define UART_REG_TX 0x04 +-- +1.7.10.4 + |