rpi: Simplify dtb file tests

Now that we no longer support armv[45] devices, these tests can be
simplified. While here, update the comment to reflect which rpi devices
we support. It's been way more thant he Pi-B for a long time.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-07-05 10:33:17 -06:00
parent 0bc26e3254
commit efbfa74caf

View File

@ -1,10 +1,10 @@
# $FreeBSD$
# DTS files for the Raspberry Pi-B
.if ${MACHINE_ARCH:Marmv[67]*} != ""
# DTS files for the 32-bit and 64-bit arm-based Raspberry Pi family of devices
.if ${MACHINE_CPUARCH} == "arm"
DTSO= \
spigen-rpi-b.dtso \
spigen-rpi2.dtso
.elif ${MACHINE_ARCH} == "aarch64"
.elif ${MACHINE_CPUARCH} == "aarch64"
DTSO= \
spigen-rpi3.dtso \
spigen-rpi4.dtso