aboutsummaryrefslogtreecommitdiffstats
path: root/package/mtd/src
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-22 17:06:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-22 17:06:03 +0000
commit5e59709c038055c37955877ddb8271c8ed2153fd (patch)
tree4a6561841277a324c63099aab0e85460d9d1e337 /package/mtd/src
parentd66671abc463474185837617389a3ae2b91d9fc4 (diff)
downloadupstream-5e59709c038055c37955877ddb8271c8ed2153fd.tar.gz
upstream-5e59709c038055c37955877ddb8271c8ed2153fd.tar.bz2
upstream-5e59709c038055c37955877ddb8271c8ed2153fd.zip
mtd: use broadcom specific code on linux 2.6 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12651 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mtd/src')
-rw-r--r--package/mtd/src/mtd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/mtd/src/mtd.c b/package/mtd/src/mtd.c
index 027c859df3..18a73a0a38 100644
--- a/package/mtd/src/mtd.c
+++ b/package/mtd/src/mtd.c
@@ -46,6 +46,10 @@
#include "mtd-api.h"
#include "mtd.h"
+#ifdef target_brcm47xx
+#define target_brcm 1
+#endif
+
#define TRX_MAGIC 0x30524448 /* "HDR0" */
#define MAX_ARGS 8