#
# Copyright (C) 2007 OpenWrt.org
#
-# $Id$
#
board_name=""
sys_mtd_part=""
adm5120_detect() {
- board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /system type/ {print $2}' /proc/cpuinfo)
+ board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$board_name" in
"Cellvision"*)
status_led="power"
sys_mtd_part="trx"
;;
+ "EB-214A"*)
+ status_led="power"
+ sys_mtd_part="firmware"
+ ;;
*)
;;
esac