From 42dd4ac5f0d25d070b888dae143e0987f46826c3 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 15 Nov 2008 11:21:42 +0000 Subject: Delete old brcm63xx files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13210 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../110-bcm963xx_fix_cfe_detection.patch | 41 ---------------------- 1 file changed, 41 deletions(-) delete mode 100644 target/linux/brcm63xx/patches-2.6.25/110-bcm963xx_fix_cfe_detection.patch (limited to 'target/linux/brcm63xx/patches-2.6.25/110-bcm963xx_fix_cfe_detection.patch') diff --git a/target/linux/brcm63xx/patches-2.6.25/110-bcm963xx_fix_cfe_detection.patch b/target/linux/brcm63xx/patches-2.6.25/110-bcm963xx_fix_cfe_detection.patch deleted file mode 100644 index 3cf460266..000000000 --- a/target/linux/brcm63xx/patches-2.6.25/110-bcm963xx_fix_cfe_detection.patch +++ /dev/null @@ -1,41 +0,0 @@ -From f1a605c36cf1659f5f486ae4135de1e285fdf86c Mon Sep 17 00:00:00 2001 -From: Axel Gembe -Date: Sat, 17 May 2008 16:17:22 +0200 -Subject: [PATCH] bcm963xx: fix cfe detection - -The CFE detection failed to account for zero termination. - -Signed-off-by: Axel Gembe ---- - drivers/mtd/maps/bcm963xx-flash.c | 11 ++++++----- - 1 files changed, 6 insertions(+), 5 deletions(-) - ---- a/drivers/mtd/maps/bcm963xx-flash.c -+++ b/drivers/mtd/maps/bcm963xx-flash.c -@@ -1,8 +1,7 @@ - /* -- * $Id$ - * Copyright (C) 2006 Florian Fainelli -- * Mike Albon -- * Copyright (C) $Date$ $Author$ -+ * Mike Albon -+ * Copyright (C) 2008 Axel Gembe - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by -@@ -184,11 +183,13 @@ - static int bcm963xx_detect_cfe(struct mtd_info *master) - { - int idoffset = 0x4e0; -- static char idstring[8] = "CFE1CFE1"; -- char buf[8]; -+ static char idstring[9] = "CFE1CFE1"; -+ char buf[9]; - int ret; - size_t retlen; - -+ memset(buf, 0, sizeof(buf)); -+ - ret = master->read(master, idoffset, 8, &retlen, (void *)buf); - printk("bcm963xx: Read Signature value of %s\n", buf); - return strcmp(idstring,buf); -- cgit v1.2.3