Browse Source

uboot-envtools: add config for WBMR300 (lantiq)

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 years ago
parent
commit
704965d93f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      package/boot/uboot-envtools/files/lantiq

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

@@ -26,6 +26,11 @@ BTHOMEHUBV3A)
 P2812HNUF1)
 P2812HNUF1)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x2000" "0x20000" "1"
 	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
 esac
 
 
 config_load ubootenv
 config_load ubootenv