aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2018-09-30 19:21:39 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-10-07 02:12:06 +0200
commit43e71e04167db90c5ff7cf0b5ffdb2388217cbf3 (patch)
tree450542c1cea8c05562d906e2b013d10595cba653 /package/boot
parent53be2d2a4eaba78c1f2053589f16cf95ae9c5dd1 (diff)
downloadupstream-43e71e04167db90c5ff7cf0b5ffdb2388217cbf3.tar.gz
upstream-43e71e04167db90c5ff7cf0b5ffdb2388217cbf3.tar.bz2
upstream-43e71e04167db90c5ff7cf0b5ffdb2388217cbf3.zip
uboot-envtools: adds r7800 uboot env support
This fix and adds support for r7800 uboot env Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-envtools/Makefile2
-rw-r--r--package/boot/uboot-envtools/files/ipq806x3
2 files changed, 4 insertions, 1 deletions
diff --git a/package/boot/uboot-envtools/Makefile b/package/boot/uboot-envtools/Makefile
index 2f8dd0ae64..7cd9e9fb63 100644
--- a/package/boot/uboot-envtools/Makefile
+++ b/package/boot/uboot-envtools/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=uboot-envtools
PKG_DISTNAME:=u-boot
PKG_VERSION:=2018.03
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.xz
diff --git a/package/boot/uboot-envtools/files/ipq806x b/package/boot/uboot-envtools/files/ipq806x
index 4618aac892..c27bea71c1 100644
--- a/package/boot/uboot-envtools/files/ipq806x
+++ b/package/boot/uboot-envtools/files/ipq806x
@@ -34,6 +34,9 @@ case "$board" in
linksys,ea8500)
ubootenv_add_uci_config "/dev/mtd10" "0x0" "0x20000" "0x20000"
;;
+netgear,r7800)
+ ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x040000" "0x20000"
+ ;;
qcom,ipq8064-ap148 |\
qcom,ipq8064-db149)
ubootenv_add_uci_config $(ubootenv_mtdinfo)