Parcourir la source

uboot-envtools: add config for WBMR300 (lantiq)

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau il y a 9 ans
Parent
commit
704965d93f
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      package/boot/uboot-envtools/files/lantiq

+ 5 - 0
package/boot/uboot-envtools/files/lantiq

@@ -26,6 +26,11 @@ BTHOMEHUBV3A)
 P2812HNUF1)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
 	;;
+WBMR300)
+	idx="$(find_mtd_index ubootconfig)"
+	[ -n "$idx" ] && \
+		ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x2000" "0x1000" "2"
+	;;
 esac
 
 config_load ubootenv