realview: switch from uci-defaults to board.d

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47739
This commit is contained in:
Jo-Philipp Wich 2015-12-03 23:07:30 +00:00
parent 7cf1ff8a75
commit adbe47380e
3 changed files with 20 additions and 6 deletions

View File

@ -0,0 +1,13 @@
#!/bin/sh
# Copyright (C) 2015 OpenWrt.org
. /lib/functions/uci-defaults-new.sh
board_config_update
ucidef_set_board_id "realview-eb-mpcore"
ucidef_set_model_name "ARM Ltd. Realview"
board_config_flush
exit 0

View File

@ -0,0 +1,7 @@
#!/bin/sh
. /lib/functions/uci-defaults-new.sh
board_config_update
ucidef_set_interface_lan "eth0" "dhcp"
board_config_flush

View File

@ -1,6 +0,0 @@
#!/bin/sh
. /lib/functions/uci-defaults.sh
ucidef_set_interface_loopback
ucidef_set_interface_raw "lan" "eth0" "dhcp"