diff options
author | John Crispin <john@openwrt.org> | 2015-03-16 07:41:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-16 07:41:19 +0000 |
commit | eb396d656911024685f1f514036aec091669211f (patch) | |
tree | e4dff014a9a7369de044b1afbb7d3b4886f9b585 /target/linux/adm5120/files-3.14/arch/mips/adm5120/common/early-printk.c | |
parent | 46f01fec7f851474ffd2604749b80403ec93d4b6 (diff) | |
download | upstream-eb396d656911024685f1f514036aec091669211f.tar.gz upstream-eb396d656911024685f1f514036aec091669211f.tar.bz2 upstream-eb396d656911024685f1f514036aec091669211f.zip |
adm5120: drop 3.8 and 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44823
Diffstat (limited to 'target/linux/adm5120/files-3.14/arch/mips/adm5120/common/early-printk.c')
-rw-r--r-- | target/linux/adm5120/files-3.14/arch/mips/adm5120/common/early-printk.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/target/linux/adm5120/files-3.14/arch/mips/adm5120/common/early-printk.c b/target/linux/adm5120/files-3.14/arch/mips/adm5120/common/early-printk.c deleted file mode 100644 index d900712639..0000000000 --- a/target/linux/adm5120/files-3.14/arch/mips/adm5120/common/early-printk.c +++ /dev/null @@ -1,31 +0,0 @@ -/* - * ADM5120 specific early printk support - * - * Copyright (C) 2007-2008 Gabor Juhos <juhosg@openwrt.org> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. - * - */ - -#include <linux/init.h> -#include <linux/io.h> - -#include <asm/addrspace.h> -#include <asm/mach-adm5120/adm5120_defs.h> -#include <asm/mach-adm5120/adm5120_uart.h> - -#define UART_READ(r) \ - __raw_readl((void __iomem *)(KSEG1ADDR(ADM5120_UART0_BASE)+(r))) -#define UART_WRITE(r, v) \ - __raw_writel((v), (void __iomem *)(KSEG1ADDR(ADM5120_UART0_BASE)+(r))) - -void __init prom_putchar(char ch) -{ - while ((UART_READ(UART_REG_FLAG) & UART_FLAG_TXFE) == 0) - ; - UART_WRITE(UART_REG_DATA, ch); - while ((UART_READ(UART_REG_FLAG) & UART_FLAG_TXFE) == 0) - ; -} |