summaryrefslogtreecommitdiff
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
commitd374e28a2b44735bcc933f0d7804a56ec9ef16cc (patch)
treee1e1ea263a2dc43a87fca25a7bdd38abf6d7d186 /package/mtd/src
parent413b45df8562e1cbcd6df9dc6eb18a6347d6b363 (diff)
downloadmtk-20170518-d374e28a2b44735bcc933f0d7804a56ec9ef16cc.zip
mtk-20170518-d374e28a2b44735bcc933f0d7804a56ec9ef16cc.tar.gz
mtk-20170518-d374e28a2b44735bcc933f0d7804a56ec9ef16cc.tar.bz2
mtd: use broadcom specific code on linux 2.6 as well
SVN-Revision: 12651
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 027c859..18a73a0 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