summaryrefslogtreecommitdiff
path: root/include/sm501.h
diff options
context:
space:
mode:
authorMatthias Fuchs <matthias.fuchs@esd.eu>2009-07-03 16:06:06 +0200
committerStefan Roese <sr@denx.de>2009-07-08 10:59:07 +0200
commitd0a1364f91c80d29daff6b27a7904a50cdc00b35 (patch)
tree52c77185fd5fe9baa8a55d2f0012e1964fb998a2 /include/sm501.h
parent04ddae915f295dee301f15c32100533a48e3b433 (diff)
downloadu-boot-imx-d0a1364f91c80d29daff6b27a7904a50cdc00b35.zip
u-boot-imx-d0a1364f91c80d29daff6b27a7904a50cdc00b35.tar.gz
u-boot-imx-d0a1364f91c80d29daff6b27a7904a50cdc00b35.tar.bz2
ppc4xx: Implement is_pci_host() for 405 CPUs
This patch implements the is_pci_host() function in a similiar way as it is used on 440 targets. The former path with CONFIG_PCI_HOST == PCI_HOST_AUTO does not build on 405EP targets because checking the PCI arbiter is different. So putting the fixed code into a separate function makes the code more readable. Also using is_pci_host() on 405 brings 405 and 440 PCI code a little bit closer. In preparation for an upcoming 405EP based PMC module I made this function weak so that it can be overwritten from board specific code. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/sm501.h')
0 files changed, 0 insertions, 0 deletions