mtd: add linksys_bootcount to the ipq40xx target
authorOever González <notengobattery@gmail.com>
Thu, 24 Jan 2019 03:20:55 +0000 (21:20 -0600)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 26 Jan 2019 20:43:06 +0000 (21:43 +0100)
commitc43acdf34201c33a6139eca7d3e9e3913e841b59
tree4c95fa83611ec487c52604650510feccd4f693f0
parentad3e66753947672fd3ac06bbbb152bc5e700ee28
mtd: add linksys_bootcount to the ipq40xx target

This commit adds the object 'linksys_bootcount_fix.o' to the ipq40xx
target.

This is needed for the Linksys EA6350v3 device. Without this patch, the
device will switch-back between the current and the last flashed firmware
every 3 (three) reboots. With this patch, the device works as expected.

Signed-off-by: Ryan Pannell <ryan@osukl.com>
Signed-off-by: Oever González <notengobattery@gmail.com>
package/system/mtd/src/Makefile
package/system/mtd/src/linksys_bootcount_fix.c [new file with mode: 0644]