]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8239d22de8fb5696acc0cec575ef771d3ba21ab7
tree261ffcfab2c9e657909d9ac8f3f462df514bbe39
parent249d4e4fbccc2dc236b280ef9a4916d14952df0f
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