brcm63xx: add device tree based board detection
authorjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Mar 2015 11:52:26 +0000 (11:52 +0000)
committerjogo <jogo@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 16 Mar 2015 11:52:26 +0000 (11:52 +0000)
commit2109864e1fdc395d44975d04dddd90930572f0f0
tree72d02a9d3174e217b447d3197311a640a7c56054
parentb09f6704afe836238e7cd0f9c7b398e5cbee279e
brcm63xx: add device tree based board detection

Use the device tree model property for detecting the board instead
of board id from nvram if present.

Since we can now directly detect the DVA-G3810BN, we can remove the
extra check for it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44834 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm63xx/base-files/lib/brcm63xx.sh