diff options
author | Luka Perkov <luka@openwrt.org> | 2013-08-29 23:06:29 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-08-29 23:06:29 +0000 |
commit | 8901997bbca7da712299a4f642727e4d3006f824 (patch) | |
tree | 1bc094e82e49d658d45e762e8977ae541f5fdb2f /package/boot/uboot-envtools/patches/0001-fw_env-add-redundant-env-support-for-MTD_ABSENT.patch | |
parent | 91ad2566f05532f7165b28ee8d48efd15d084b4f (diff) | |
download | master-187ad058-8901997bbca7da712299a4f642727e4d3006f824.tar.gz master-187ad058-8901997bbca7da712299a4f642727e4d3006f824.tar.bz2 master-187ad058-8901997bbca7da712299a4f642727e4d3006f824.zip |
[package] uboot-envtools: update to v2013.07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37857 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-envtools/patches/0001-fw_env-add-redundant-env-support-for-MTD_ABSENT.patch')
-rw-r--r-- | package/boot/uboot-envtools/patches/0001-fw_env-add-redundant-env-support-for-MTD_ABSENT.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/patches/0001-fw_env-add-redundant-env-support-for-MTD_ABSENT.patch b/package/boot/uboot-envtools/patches/0001-fw_env-add-redundant-env-support-for-MTD_ABSENT.patch new file mode 100644 index 0000000000..d373e13424 --- /dev/null +++ b/package/boot/uboot-envtools/patches/0001-fw_env-add-redundant-env-support-for-MTD_ABSENT.patch @@ -0,0 +1,28 @@ +From: Oliver Metz <oliver@freetz.org> +Subject: [PATCH v2 1/2] fw_env: add redundant env support for MTD_ABSENT + +Signed-off-by: Oliver Metz <oliver@freetz.org> +Tested-by: Luka Perkov <luka@openwrt.org> +--- + +v1 -> v2: + * correct spelling of redundant + +http://lists.denx.de/pipermail/u-boot/2013-August/161694.html +http://patchwork.ozlabs.org/patch/270993/ + + tools/env/fw_env.c | 3 +++ + 1 file changed, 3 insertions(+) + +--- a/tools/env/fw_env.c ++++ b/tools/env/fw_env.c +@@ -1152,6 +1152,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; |