diff options
author | John Crispin <blogic@openwrt.org> | 2014-03-30 09:16:35 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-03-30 09:16:35 +0000 |
commit | cd9f4bad16c6e5f6f94218ff17ba5d1a71cef2f7 (patch) | |
tree | 18bbf57e5dc3485d2cc50b6ed3f1d89668e8ccfc /target/linux/lantiq/Makefile | |
parent | 10b47b6cc60d0cbe75d5a05f58ba3706d5673009 (diff) | |
download | upstream-cd9f4bad16c6e5f6f94218ff17ba5d1a71cef2f7.tar.gz upstream-cd9f4bad16c6e5f6f94218ff17ba5d1a71cef2f7.tar.bz2 upstream-cd9f4bad16c6e5f6f94218ff17ba5d1a71cef2f7.zip |
lantiq: fix mtd_split for brnboot firmware images
The existing code only tries to split a parition with name "rootfs"
while actually looking for kernel+rootfs, where usually "firmware" is
used as a partition name. This doesn't make sense, as even if there
was a partition 'rootfs' given by mtdparts or via device-tree, this
code would lead to another partition called 'rootfs' being created
which would not be properly distinguished in the current user-space
code.
While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make
that configurable, the lack of users of brnboot and the fact that we
can freely decide the partition name made me simply change the
hard-coded string constant from "rootfs" to "firmware".
(I'm going to add support for ARV7506PW which run brnboot and needs
this change)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40324 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/Makefile')
0 files changed, 0 insertions, 0 deletions