imx6: use device-tree compatible for board name
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 18 Jul 2020 12:59:48 +0000 (14:59 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 27 Jul 2020 10:10:45 +0000 (12:10 +0200)
commit8126e572dd4f531c5f105b7197bc119b2b1ebb07
treed60027268c4c4f15cf52ad97f5993e81d0848454
parent0f3c3a5fb2738b25c62eb0ff8ef7d0654c0b9300
imx6: use device-tree compatible for board name

In imx6, we currently use the model from DTS to derive a board name
manually in /lib/imx6.sh.

However, if we have individual DTS files anyway, we can exploit
generic 02_sysinfo and use the compatible as board name directly.

While at it, remove the wildcards from /lib/upgrade/platform.sh as
these might make code shorter, but are quite unpleasant when grepping
for a specific device.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
package/boot/uboot-envtools/files/imx6
target/linux/imx6/base-files/etc/board.d/02_network
target/linux/imx6/base-files/lib/imx6.sh
target/linux/imx6/base-files/lib/preinit/01_sysinfo [deleted file]
target/linux/imx6/base-files/lib/preinit/79_move_config
target/linux/imx6/base-files/lib/upgrade/platform.sh