On Tue, Feb 19, 2019 at 06:17:58PM +0100, Greg Kurz wrote: > All DRC subtypes have been converted to generate the FDT fragment at > configure connector time instead of attach time. The fdt and fdt_offset > arguments of spapr_drc_attach() aren't needed anymore. Drop them and > make the implementation of the dt_populate() method mandatory. > > Signed-off-by: Greg Kurz <[email protected]>
I've applied the first 5 patches to ppc-for-4.0, but as a followup...
[...]
> @@ -1113,8 +1104,6 @@ static void rtas_ibm_configure_connector(PowerPCCPU
> *cpu,
>
> drck = SPAPR_DR_CONNECTOR_GET_CLASS(drc);
>
> - g_assert(drc->fdt || drck->dt_populate);
> -
> if (!drc->fdt) {
..you can now remove this conditional, since it will always be true.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
