treewide: use the generic board_name function
[openwrt/openwrt.git] / package / boot / uboot-envtools / files / ar71xx
index 503e593089415df08c01cba60e767aca9e6a60b0..5c7b16c40e458dfc8777b31030100e166b7365ec 100644 (file)
@@ -7,11 +7,10 @@
 
 touch /etc/config/ubootenv
 
 
 touch /etc/config/ubootenv
 
-. /lib/ar71xx.sh
 . /lib/uboot-envtools.sh
 . /lib/functions.sh
 
 . /lib/uboot-envtools.sh
 . /lib/functions.sh
 
-board=$(ar71xx_board_name)
+board=$(board_name)
 
 case "$board" in
 a40|\
 
 case "$board" in
 a40|\