summaryrefslogtreecommitdiff
path: root/package/system/mtd
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2015-11-10 00:16:37 +0000
committerLuka Perkov <luka@openwrt.org>2015-11-10 00:16:37 +0000
commitea8ac0999cb78399acf3af6d8eb6fe5b92d06f53 (patch)
treee5f48e5b8ab38ffdbf44a9ed815eecac909774dd /package/system/mtd
parent6acb552eeeb5f8917dfc4b7fe599fe9136cf2118 (diff)
downloadmtk-20170518-ea8ac0999cb78399acf3af6d8eb6fe5b92d06f53.zip
mtk-20170518-ea8ac0999cb78399acf3af6d8eb6fe5b92d06f53.tar.gz
mtk-20170518-ea8ac0999cb78399acf3af6d8eb6fe5b92d06f53.tar.bz2
kirkwood: support Linksys boot counter on EA[34]500
This is done with existing code from the WRT1900AC port. It makes sure the "auto_recovery" bootloader option is set, and resets the s_env boot counter after a successful boot. This gives users without a serial console connection some measure of safety. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 47433
Diffstat (limited to 'package/system/mtd')
-rw-r--r--package/system/mtd/src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile
index 40a165e..1e02ce9 100644
--- a/package/system/mtd/src/Makefile
+++ b/package/system/mtd/src/Makefile
@@ -11,6 +11,7 @@ obj.bcm53xx = $(obj.brcm)
obj.brcm63xx = imagetag.o
obj.ramips = $(obj.seama)
obj.mvebu = linksys_bootcount.o
+obj.kirkwood = linksys_bootcount.o
ifdef FIS_SUPPORT
obj += fis.o