summaryrefslogtreecommitdiffstats
path: root/package/boot/yamonenv/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/yamonenv/patches')
-rw-r--r--package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch b/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch
new file mode 100644
index 0000000000..e1def28af5
--- /dev/null
+++ b/package/boot/yamonenv/patches/001-yamonenv_mtd_partition.patch
@@ -0,0 +1,11 @@
+--- a/src/yamonenv.c
++++ b/src/yamonenv.c
+@@ -12,7 +12,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+
+-#define DEFAULT_YAMON_ENV_FILE "/dev/mtd/3"
++#define DEFAULT_YAMON_ENV_FILE "/dev/mtd3"
+
+
+ // control byte definitions: