aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.18/101-early-printk-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/atheros/patches-3.18/101-early-printk-support.patch')
-rw-r--r--target/linux/atheros/patches-3.18/101-early-printk-support.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-3.18/101-early-printk-support.patch b/target/linux/atheros/patches-3.18/101-early-printk-support.patch
index 5fb510d3ce..766c903552 100644
--- a/target/linux/atheros/patches-3.18/101-early-printk-support.patch
+++ b/target/linux/atheros/patches-3.18/101-early-printk-support.patch
@@ -35,9 +35,9 @@
+
+ if (unlikely(base == NULL)) {
+ if (is_ar2315())
-+ base = (void __iomem *)(KSEG1ADDR(AR2315_UART0));
++ base = (void __iomem *)(KSEG1ADDR(AR2315_UART0_BASE));
+ else
-+ base = (void __iomem *)(KSEG1ADDR(AR5312_UART0));
++ base = (void __iomem *)(KSEG1ADDR(AR5312_UART0_BASE));
+ }
+
+ while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0)