diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-06 23:51:24 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-06 23:51:24 +0000 |
commit | ebf07787210deee29e3ad4f2308433866a853c20 (patch) | |
tree | 95dbee09e015f09478f9a01a319cb1aed75af16f /target/linux/brcm47xx/patches-3.10/116-MIPS-BCM47xx-Remove-CFE-console.patch | |
parent | 53a2c19c69d03bbdb81f1c27f9bc0b81b8da5ee4 (diff) | |
download | mtk-20170518-ebf07787210deee29e3ad4f2308433866a853c20.zip mtk-20170518-ebf07787210deee29e3ad4f2308433866a853c20.tar.gz mtk-20170518-ebf07787210deee29e3ad4f2308433866a853c20.tar.bz2 |
brcm47xx: update board detection patches
Add patches like they are currently in the mainline mips tree and add
some more pending patches for board detection.
* Now the board name is shown under machine in /proc/cpuinfo.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38308
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/116-MIPS-BCM47xx-Remove-CFE-console.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.10/116-MIPS-BCM47xx-Remove-CFE-console.patch | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/116-MIPS-BCM47xx-Remove-CFE-console.patch b/target/linux/brcm47xx/patches-3.10/116-MIPS-BCM47xx-Remove-CFE-console.patch index 1db01f0..ecccd82 100644 --- a/target/linux/brcm47xx/patches-3.10/116-MIPS-BCM47xx-Remove-CFE-console.patch +++ b/target/linux/brcm47xx/patches-3.10/116-MIPS-BCM47xx-Remove-CFE-console.patch @@ -26,15 +26,17 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- a/arch/mips/bcm47xx/prom.c +++ b/arch/mips/bcm47xx/prom.c -@@ -33,96 +33,28 @@ - #include <asm/fw/cfe/cfe_api.h> - #include <asm/fw/cfe/cfe_error.h> +@@ -35,8 +35,6 @@ + #include <bcm47xx.h> + #include <bcm47xx_board.h> -static int cfe_cons_handle; - + static char bcm47xx_system_type[20] = "Broadcom BCM47XX"; + const char *get_system_type(void) - { - return "Broadcom BCM47XX"; +@@ -52,89 +50,23 @@ __init void bcm47xx_set_system_type(u16 + chip_id); } -void prom_putchar(char c) @@ -130,7 +132,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> } static __init void prom_init_mem(void) -@@ -173,8 +105,6 @@ static __init void prom_init_mem(void) +@@ -185,8 +117,6 @@ static __init void prom_init_mem(void) void __init prom_init(void) { prom_init_cfe(); |