ipq806x: convert to dt-based board-detection
authorLuis Araneda <luaraneda@gmail.com>
Fri, 5 Jan 2018 13:00:11 +0000 (10:00 -0300)
committerMathias Kresin <dev@kresin.me>
Sat, 13 Jan 2018 06:33:03 +0000 (07:33 +0100)
commit33f09cf15178cf7e05cbe816e1cb492bcae89836
tree0352a8efc7c27647d3856f46fec2b9b1b6f79df2
parent3cbdae242161db64ffe039a042afb7e0349cb2e3
ipq806x: convert to dt-based board-detection

Use the generic board detection method:
- Board name: First compatible string from the device tree
- Board model: Model property from the device tree

Change occurrences of board name in userspace by the compatible
string, and removed target specific board detection script

Replace the definition of SUPPORTED_DEVICES in Device/Default
to extract the dt compatible string from each device definition.
Additionally, for devices supported by lede-17.01, append
the value of BOARD_NAME to SUPPORTED_DEVICES in the device
definition.

Signed-off-by: Luis Araneda <luaraneda@gmail.com>
package/boot/uboot-envtools/files/ipq
target/linux/ipq806x/base-files/etc/board.d/01_leds
target/linux/ipq806x/base-files/etc/board.d/02_network
target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac
target/linux/ipq806x/base-files/etc/init.d/linksys_recovery
target/linux/ipq806x/base-files/lib/ipq806x.sh [deleted file]
target/linux/ipq806x/base-files/lib/preinit/01_preinit_do_ipq806x.sh [deleted file]
target/linux/ipq806x/base-files/lib/upgrade/platform.sh
target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh
target/linux/ipq806x/image/Makefile