]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: ten64: strip extra u-boot compatibles from FDT
authorMathew McBride <matt@traverse.com.au>
Fri, 21 Jul 2023 04:39:31 +0000 (04:39 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 13:40:50 +0000 (09:40 -0400)
commit1c35cc85ad9ab434b21be968989aba091f718fcb
treeb0bc5c9971dd1697ca286cee9493f0a9bc34ef18
parent67de5966e6ba0ff27b9388b9600366dbcdc66223
board: ten64: strip extra u-boot compatibles from FDT

The u-boot version of the LS1088A device tree has
an extra compatible (simple-mfd) added to &fsl_mc
to facilitate usage with U-Boot's device model.

Unfortunately FreeBSD will only match the single
"fsl,qoriq-mc" exactly when the node is a "bus"
object, so we need to strip out the extra compatible
before presenting it to the operating system.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
board/traverse/ten64/ten64.c