History log of /openwrt/target/linux/generic/files/drivers/mtd/myloader.c
Revision Date Author Comments
# 3a2eca53 08-May-2014 Hauke Mehrtens <hauke@openwrt.org>

kernel/generic: modify mtd related patches for 3.14

Function register_mtd_parser always returned 0 (at least since v3.3)
before being changed to return void in v3.14-rc1~65^2~93 (mtd: make
register_mtd_parser return void), so it's not needed to check the
return value of this function. Also add __init flag to caller.

This fix compile errors in 3.14 kernel like:
drivers/mtd/mtdsplit_seama.c: In function 'mtdsplit_seama_init':
drivers/mtd/mtdsplit_seama.c:99:2: error: void value not ignored as it ought to be
return register_mtd_parser(&mtdsplit_seama_parser);
^

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40731 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 4d7fd74a 24-Jan-2014 Gabor Juhos <juhosg@openwrt.org>

Revert "kernel: create firmware partition from MyLoader partition parser"

This reverts r38197.

The automatically created firmware partition includes
the partition_table partition. Apart from the partition
table, this partition contains sensitive data on some
Compex devices which data can be destroyed when the
firmware partition gets modified. Revert the change to
prevent that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39382 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 63d8d864 25-Sep-2013 Gabor Juhos <juhosg@openwrt.org>

kernel: create firmware partition from MyLoader partition parser

This is in preparation for sysupgrade support for Compex devices.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38197 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 9b82f8e7 02-Sep-2013 Gabor Juhos <juhosg@openwrt.org>

generic: remove linux version checks from myloader.c

The myloader partition parser code uses ifdef wrappers
to make the code usable on kernels below version 3.2.
All targets are using kernel 3.3 at least so the wraper
is not needed. Remove that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37880 3c298f89-4303-0410-b956-a3cf2f4a3e73


# d88a6ff0 27-Oct-2012 Gabor Juhos <juhosg@openwrt.org>

generic: use mtd_read in myloader parser

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33952 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 16b4bf4b 22-Jan-2012 Gabor Juhos <juhosg@openwrt.org>

generic: allow to build myloader mtd parser for 3.2+

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29858 3c298f89-4303-0410-b956-a3cf2f4a3e73


# a082943b 26-Jun-2010 Felix Fietkau <nbd@openwrt.org>

rename target/linux/generic-2.6 to generic

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21952 3c298f89-4303-0410-b956-a3cf2f4a3e73