mtd: add linksys_bootcount for ramips
authorDavide Fioravanti <pantanastyle@gmail.com>
Mon, 11 May 2020 23:20:47 +0000 (01:20 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 17 May 2020 16:43:19 +0000 (18:43 +0200)
commitc33ad81373a2c18a4e6ff9a7026e0343f5bb9fc7
tree79a1862f6f65fd442b68fb38f07e01690e575e07
parenta4e9c8f14b63cd44300ed452312c03a69aae9ca1
mtd: add linksys_bootcount for ramips

Reset bc is needed for Linksys EA7500 v2's dual boot.

Size impact (tested with Linksys EA7500 v2 @ mt7621):

mtd_25_mipsel_24kc.ipk: 13174 -> 13628 (454 bytes)
initramfs: 3660350 -> 3660688 (338 bytes)

Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
[add size impact information]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/system/mtd/src/Makefile