diff options
author | Luka Perkov <luka@openwrt.org> | 2013-07-02 23:08:17 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-07-02 23:08:17 +0000 |
commit | d352ff6cac7230b9279e011fe00e2ff482733576 (patch) | |
tree | 2ba233527d52e83426f0739e577ecdcaeaf303df /package/boot/uboot-envtools/patches/110-add-support-for-MTD_ABSENT.patch | |
parent | 62cb88f5028f6bd1b88dfda636e1e912d635d763 (diff) | |
download | upstream-d352ff6cac7230b9279e011fe00e2ff482733576.tar.gz upstream-d352ff6cac7230b9279e011fe00e2ff482733576.tar.bz2 upstream-d352ff6cac7230b9279e011fe00e2ff482733576.zip |
uboot-envtools: upgrade to 2013.07-rc1
Support for writing on MMC devices has been added.
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 37135
Diffstat (limited to 'package/boot/uboot-envtools/patches/110-add-support-for-MTD_ABSENT.patch')
-rw-r--r-- | package/boot/uboot-envtools/patches/110-add-support-for-MTD_ABSENT.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/patches/110-add-support-for-MTD_ABSENT.patch b/package/boot/uboot-envtools/patches/110-add-support-for-MTD_ABSENT.patch new file mode 100644 index 0000000000..dd98b45d8f --- /dev/null +++ b/package/boot/uboot-envtools/patches/110-add-support-for-MTD_ABSENT.patch @@ -0,0 +1,19 @@ +tools/fw_env: add redundant env support for MTD_ABSENT + +Signed-off-by: Oliver Metz <oliver@freetz.org> +--- + tools/env/fw_env.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/tools/env/fw_env.c ++++ b/tools/env/fw_env.c +@@ -1164,6 +1164,9 @@ int fw_env_open(void) + } else if (DEVTYPE(dev_current) == MTD_UBIVOLUME && + DEVTYPE(!dev_current) == MTD_UBIVOLUME) { + environment.flag_scheme = FLAG_INCREMENTAL; ++ } else if (DEVTYPE(dev_current) == MTD_ABSENT && ++ DEVTYPE(!dev_current) == MTD_ABSENT) { ++ environment.flag_scheme = FLAG_INCREMENTAL; + } else { + fprintf (stderr, "Incompatible flash types!\n"); + return -1; |