From 8e738da02c77b69d2fa8c1ef52faf2af6388b916 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 7 Dec 2014 15:34:28 +0000 Subject: brcm47xx: remove kernel 3.10 Signed-off-by: Hauke Mehrtens SVN-Revision: 43535 --- ...IPS-BCM47XX-add-EARLY_PRINTK_8250-support.patch | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 target/linux/brcm47xx/patches-3.10/082-MIPS-BCM47XX-add-EARLY_PRINTK_8250-support.patch (limited to 'target/linux/brcm47xx/patches-3.10/082-MIPS-BCM47XX-add-EARLY_PRINTK_8250-support.patch') diff --git a/target/linux/brcm47xx/patches-3.10/082-MIPS-BCM47XX-add-EARLY_PRINTK_8250-support.patch b/target/linux/brcm47xx/patches-3.10/082-MIPS-BCM47XX-add-EARLY_PRINTK_8250-support.patch deleted file mode 100644 index 744e35985e..0000000000 --- a/target/linux/brcm47xx/patches-3.10/082-MIPS-BCM47XX-add-EARLY_PRINTK_8250-support.patch +++ /dev/null @@ -1,53 +0,0 @@ -commit 22250a38f970c173acb1b3fb30e6dce1430f697b -Author: Hauke Mehrtens -Date: Thu Sep 19 22:48:35 2013 +0200 - - MIPS: BCM47XX: add EARLY_PRINTK_8250 support - - The BCM47xx SoCs have a 8250 serial compatible console at address - 0x18000300 and an other at 0x18000400. On most devices 0x18000300 is - wired to some pins on the board, we should use that. - This is the smae for the AI (bcma) and the SB (ssb) bus, this is some - offset on the chip common core. - - Signed-off-by: Hauke Mehrtens - ---- a/arch/mips/Kconfig -+++ b/arch/mips/Kconfig -@@ -117,6 +117,8 @@ config BCM47XX - select NO_EXCEPT_FILL - select SYS_SUPPORTS_32BIT_KERNEL - select SYS_SUPPORTS_LITTLE_ENDIAN -+ select SYS_HAS_EARLY_PRINTK -+ select EARLY_PRINTK_8250 if EARLY_PRINTK - help - Support for BCM47XX based boards - ---- a/arch/mips/bcm47xx/prom.c -+++ b/arch/mips/bcm47xx/prom.c -@@ -28,6 +28,8 @@ - #include - #include - #include -+#include -+#include - #include - #include - #include -@@ -94,9 +96,16 @@ static __init void prom_init_mem(void) - add_memory_region(0, mem, BOOT_MEM_RAM); - } - -+/* -+ * This is the first serial on the chip common core, it is at this position -+ * for sb (ssb) and ai (bcma) bus. -+ */ -+#define BCM47XX_SERIAL_ADDR (SSB_ENUM_BASE + SSB_CHIPCO_UART0_DATA) -+ - void __init prom_init(void) - { - prom_init_mem(); -+ setup_8250_early_printk_port(CKSEG1ADDR(BCM47XX_SERIAL_ADDR), 0, 0); - } - - void __init prom_free_prom_memory(void) -- cgit v1.2.3