summaryrefslogtreecommitdiffstats
path: root/package/mtd
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-22 17:06:03 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-09-22 17:06:03 +0000
commit093822cb536c139c62f1089f2f8c3ae7b96c810d (patch)
tree4a6561841277a324c63099aab0e85460d9d1e337 /package/mtd
parentc7494fd234a2d7f81005cba0b781062d110e4a4c (diff)
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')
-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 027c859df..18a73a0a3 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