treewide: use the generic board_name function
[openwrt/openwrt.git] / target / linux / mpc85xx / base-files / etc / board.d / 02_network
index e0a0861f3b023227580b12e4d893b1fa6137fab4..511b56b1cc72ab1405df6950f1623da0c73acd45 100755 (executable)
@@ -2,13 +2,12 @@
 # Copyright (C) 2014-2015 OpenWrt.org
 
 . /lib/functions/uci-defaults.sh
-. /lib/mpc85xx.sh
 . /lib/functions.sh
 . /lib/functions/system.sh
 
 board_config_update
 
-board=$(mpc85xx_board_name)
+board=$(board_name)
 
 case "$board" in
 tl-wdr4900-v1)