Re: [PATCH 2/8] 44x/pci: Add a want_sdr flag into ppc4xx_pciex_hwops

2011-12-02 Thread Benjamin Herrenschmidt
On Thu, 2011-12-01 at 18:39 +1100, Tony Breeds wrote: + if (ppc4xx_pciex_hwops-want_sdr == true) { if (ppc4xx_pciex_hwops-want_sdr) { Please ! This is a boolean after all :-) Cheers, Ben. ___ Linuxppc-dev mailing list

[PATCH 2/8] 44x/pci: Add a want_sdr flag into ppc4xx_pciex_hwops

2011-11-30 Thread Tony Breeds
Currituck doesn't need nor use SDR so aborting the pci setup if there is no sdr-base would be bad. Add a flag to ppc4xx_pciex_hwops for the backends to state if they need SDR and then only complain and abort if they do and it's not found in the device tree. Signed-off-by: Tony Breeds