summaryrefslogtreecommitdiff
path: root/target/linux/mediatek/base-files/lib/mediatek.sh
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-04-27 08:58:15 +0000
committerJo-Philipp Wich <jo@mein.io>2016-04-28 11:48:51 +0200
commit090b134786a009427442aee7e2ea48e47be5e60f (patch)
tree221955b231c89be46130cd388aa2435e4247aa5c /target/linux/mediatek/base-files/lib/mediatek.sh
parent9e4d671f75cf02264711fa27c91215038f2a03f8 (diff)
downloadmtk-20170518-090b134786a009427442aee7e2ea48e47be5e60f.zip
mtk-20170518-090b134786a009427442aee7e2ea48e47be5e60f.tar.gz
mtk-20170518-090b134786a009427442aee7e2ea48e47be5e60f.tar.bz2
mediatek: sync and patches add support for several boards
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49263
Diffstat (limited to 'target/linux/mediatek/base-files/lib/mediatek.sh')
-rw-r--r--target/linux/mediatek/base-files/lib/mediatek.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/mediatek/base-files/lib/mediatek.sh b/target/linux/mediatek/base-files/lib/mediatek.sh
index 0954032..d352ebb 100644
--- a/target/linux/mediatek/base-files/lib/mediatek.sh
+++ b/target/linux/mediatek/base-files/lib/mediatek.sh
@@ -10,8 +10,11 @@ mediatek_board_detect() {
machine=$(cat /proc/device-tree/model)
case "$machine" in
- "MediaTek MT7623 evaluation board")
- name="mt7623_evb"
+ "MediaTek MT7623 eMMC evaluation board")
+ name="eMMC"
+ ;;
+ "MediaTek MT7623 NAND evaluation board")
+ name="NAND"
;;
esac