powerpc/44x: pci: Add a want_sdr flag into ppc4xx_pciex_hwops
authorTony Breeds <tony@bakeyournoodle.com>
Wed, 30 Nov 2011 21:39:18 +0000 (21:39 +0000)
committerJosh Boyer <jwboyer@gmail.com>
Fri, 9 Dec 2011 12:47:48 +0000 (07:47 -0500)
commit8115846e1a6c27714de442669694050f8ee35850
tree261ffcfab2c9e657909d9ac8f3f462df514bbe39
parent9fb552967977289f8c50b597f80583616d1fc994
powerpc/44x: pci: Add a want_sdr flag into ppc4xx_pciex_hwops

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 <tony@bakeyournoodle.com>
Signed-off-by: Josh Boyer <jwboyer@gmail.com>
arch/powerpc/sysdev/ppc4xx_pci.c