--- /dev/null
+++ b/arch/mips/ath25/early_printk.c
-@@ -0,0 +1,45 @@
+@@ -0,0 +1,44 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ while ((prom_uart_rr(base, UART_LSR) & UART_LSR_THRE) == 0)
+ ;
+}
-+
--- a/arch/mips/ath25/Makefile
+++ b/arch/mips/ath25/Makefile
@@ -9,5 +9,8 @@
select SYS_SUPPORTS_32BIT_KERNEL
+ select SYS_HAS_EARLY_PRINTK
help
- Support for AR231x and AR531x based boards
+ Support for Atheros AR231x and Atheros AR531x based boards