brcm63xx: add device tree based board detection
authorJonas Gorski <jogo@openwrt.org>
Mon, 16 Mar 2015 11:52:26 +0000 (11:52 +0000)
committerJonas Gorski <jogo@openwrt.org>
Mon, 16 Mar 2015 11:52:26 +0000 (11:52 +0000)
commit2540aee55be9834c631db87bdbf95ab1b2a1af6f
tree72d02a9d3174e217b447d3197311a640a7c56054
parent3f64e1384f559a9cc932907defb11a394a17e5cc
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