aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-09-18 14:33:54 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-09-18 14:33:54 +0000
commit4c52ed50d73492f1e4a1443a9479abe5c938a552 (patch)
tree9bcad32299a04dd4463e0ee1f9cc8cc9309dde72 /target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch
parente75ff873bedc7103c0317d25d8dcbc988af8c3d5 (diff)
downloadupstream-4c52ed50d73492f1e4a1443a9479abe5c938a552.tar.gz
upstream-4c52ed50d73492f1e4a1443a9479abe5c938a552.tar.bz2
upstream-4c52ed50d73492f1e4a1443a9479abe5c938a552.zip
brcm47xx: update board detection patches
This is now the version which was send for mainline Linux kernel inclusion. The data needed to detection a board is now stored in init data. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38036
Diffstat (limited to 'target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch')
-rw-r--r--target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch b/target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch
index abfa4004f2..63874552d6 100644
--- a/target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch
+++ b/target/linux/brcm47xx/patches-3.10/261-MIPS-BCM47XX-print-board-name-in-proc-cpuinfo.patch
@@ -25,7 +25,7 @@
const char *get_system_type(void)
{
- return "Broadcom BCM47XX";
-+ static char buf[128];
++ static char buf[50];
+ u16 chip_id = get_chip_id();
+
+ snprintf(buf, sizeof(buf),