aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.10/101-early-printk-support.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-07-17 16:36:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-07-17 16:36:55 +0000
commit5e0bd41bbe339cbd64948b72a2ccbdfa611a3f66 (patch)
treed86a0bceacb99a71c949e84ae7a328207d2e296a /target/linux/atheros/patches-3.10/101-early-printk-support.patch
parent04f3012fba2a05cac457315371adbcb59cfbafe8 (diff)
downloadupstream-5e0bd41bbe339cbd64948b72a2ccbdfa611a3f66.tar.gz
upstream-5e0bd41bbe339cbd64948b72a2ccbdfa611a3f66.tar.bz2
upstream-5e0bd41bbe339cbd64948b72a2ccbdfa611a3f66.zip
atheros: update macroses names
Use AR2315_ prefix for macroses specific to AR2315/AR2316/AR2317 chips, use AR5312_ prefix for macroses specific to AR5312/AR2312/AR2313 chips, and use AR231X_ prefix for common macroses. This patch should not cause any functional changes, only make clear which macros is common and which macros is specific. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 41701
Diffstat (limited to 'target/linux/atheros/patches-3.10/101-early-printk-support.patch')
-rw-r--r--target/linux/atheros/patches-3.10/101-early-printk-support.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/atheros/patches-3.10/101-early-printk-support.patch b/target/linux/atheros/patches-3.10/101-early-printk-support.patch
index be68025a5c..b34736772b 100644
--- a/target/linux/atheros/patches-3.10/101-early-printk-support.patch
+++ b/target/linux/atheros/patches-3.10/101-early-printk-support.patch
@@ -37,7 +37,7 @@
+ if (is_2315())
+ base = (void __iomem *)(KSEG1ADDR(AR2315_UART0));
+ else
-+ base = (void __iomem *)(KSEG1ADDR(AR531X_UART0));
++ base = (void __iomem *)(KSEG1ADDR(AR5312_UART0));
+ }
+
+ while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0)