ppc/85xx: Move to using fsl_setup_hose on P2020 DS
authorKumar Gala <galak@kernel.crashing.org>
Wed, 4 Nov 2009 19:01:51 +0000 (13:01 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 5 Jan 2010 19:49:07 +0000 (13:49 -0600)
commit9263e829f025661cbd3a80675285b42c14350ea4
treee571272200e1dfabad1750eae7866b58c45beb3f
parent1e21ba8f6d0708fe7f44066059927cfa6bfedf7a
ppc/85xx: Move to using fsl_setup_hose on P2020 DS

We can use fsl_setup_hose to determine if we are a agent/end-point or
a host.  Rather than using some SoC specific register we can just look
at the PCI cfg space of the host controller to determine this.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/p2020ds/p2020ds.c