Introduce spi_use_direct_match() which, like its i2c cousin, informs
the driver if a direct config match is in play, allowing the driver
more easily apply direct vs indirect config match logic.
PR bin/59646 option.list wsp consistency
Be consistent with use of tab/space in fields used as
sort keys, so versions of sort which might not behave
exactly as we expect should still produce the same results.
XXX pullup -9 -10 -11
Fix build for gcc_s softfloat (m68k).
Now that almost all of libc/softfloat is not build when setting
LIBCSOFTFLOAT=no for m68k it was necessary to define missing variables.
Adresses PR/59393.
Switch over m68k soffloat build to libc/softfloat.
m68k would previously use softfloat functions contained in libgcc_s.
This change aligns m68k with other platforms built with softfloat.
It is still possible to build the gcc_s softfloat impementation by setting
MKSOFFTFLOAT=yes MKLIBCSOFTFLOAT=no
Addresses PR/59393.
Don't pass a "cookie" in the attach args to SPI devices. Instead,
properly initialize the child device's device handle. G/C unused
fields in spi_attach_args.
Put the task of getting the device array from the FDT onto the
SPI bus attach routine. This is slightly ugly now, but a prettier
solution is on the way, and this at least funnels the ugliness into
a single location.
- Const poison references to spi_controller.
- Don't make a copy of the spi_controller in the SPI bus softc; just take
a reference to the one we got from the back-end driver.