ramips: mt7621: tidy up names for Ubiquiti devices
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 7 Apr 2020 08:47:18 +0000 (10:47 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 12 Apr 2020 11:25:42 +0000 (13:25 +0200)
commite8931b309f82a44b55e64af3668186cdf7bcde15
tree756df8b4b54a73b2f4acd69ec48df19fe29b5410
parentbebc9809d15b0ddc018d379f5caa3a11c9a06786
ramips: mt7621: tidy up names for Ubiquiti devices

The "proper" vendor prefix for Ubiquiti is "ubnt", this is used in
all targets except ramips and also recommended by the kernel.

This patch adjusts the various board/image/device name variables
accordingly. Since we touch it anyway, this also adds the space
in "EdgeRouter X" as a hyphen to those variables to really make
them consistent with the model name.

While at it, create a real shared definition for the devices in
image/mt7621.mk instead of deriving one device from another.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx-sfp.dts [deleted file]
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dts [deleted file]
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi [deleted file]
target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts [new file with mode: 0644]
target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dts [new file with mode: 0644]
target/linux/ramips/dts/mt7621_ubnt_edgerouter-x.dtsi [new file with mode: 0644]
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/etc/board.d/02_network
target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches
target/linux/ramips/mt7621/base-files/lib/preinit/07_mt7621_bringup_dsa_master
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh