aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-04-08 11:16:21 +0200
committerMathias Kresin <dev@kresin.me>2017-12-16 23:33:56 +0100
commit63d7f7fc925ebfa3aba7e65837676d2ba85c1c69 (patch)
tree233ee515f7bdbcb0492945a744550f8bf97731ed /package/boot
parentaba421432f261ee4c9dd1fb4c82d08115596fb83 (diff)
downloadupstream-63d7f7fc925ebfa3aba7e65837676d2ba85c1c69.tar.gz
upstream-63d7f7fc925ebfa3aba7e65837676d2ba85c1c69.tar.bz2
upstream-63d7f7fc925ebfa3aba7e65837676d2ba85c1c69.zip
lantiq: use the compatible string as board name
Use the first compatible string as board name in userspace. Add the new board name as well as the former used board name to the image metadata to keep compatibilty with already deployed installations. Don't add the former used boardname for boards which exists only in master or evaluation boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-envtools/files/lantiq10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/boot/uboot-envtools/files/lantiq b/package/boot/uboot-envtools/files/lantiq
index d1a6668e84..f4541a559b 100644
--- a/package/boot/uboot-envtools/files/lantiq
+++ b/package/boot/uboot-envtools/files/lantiq
@@ -13,19 +13,19 @@ touch /etc/config/ubootenv
board=$(board_name)
case "$board" in
-BTHOMEHUBV2B)
+bt,homehub-v2b)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
;;
-BTHOMEHUBV3A)
+bt,homehub-v3a)
ubootenv_add_uci_config "/dev/mtd2" "0x0" "0x4000" "0x4000" "1"
;;
-GIGASX76X)
+siemens,gigaset-sx76x)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x10000" "1"
;;
-P2812HNUF1)
+zyxel,p-2812hnu-f1)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
;;
-WBMR300)
+buffalo,wbmr-300hpd)
idx="$(find_mtd_index ubootconfig)"
[ -n "$idx" ] && \
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"