kirkwood: use the generic board detect

Drop the target specific detection function in favour of the generic
one provided by base-files.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin
2017-12-28 10:18:48 +01:00
parent aa6f5f1787
commit c9e2c35f46
10 changed files with 49 additions and 119 deletions

View File

@@ -13,15 +13,15 @@ touch /etc/config/ubootenv
board=$(board_name)
case "$board" in
dockstar|\
ib62x0|\
linksys-viper|\
nsa310b|\
nsa325|\
pogo_e02)
seagate,dockstar|\
raidsonic,ib-nas62x0|\
linksys,viper|\
zyxel,nsa310b|\
zyxel,nsa325|\
cloudengines,pogoe02)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x20000" "0x20000"
;;
linksys-audi)
linksys,audi)
ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x4000" "0x4000"
;;
esac