diff options
author | Matthias Fuchs <matthias.fuchs@esd.eu> | 2009-07-08 13:43:55 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-07-10 08:26:03 +0200 |
commit | 123f102ec093fba6967066acdf9beb637df2e2d1 (patch) | |
tree | 3e5fcb229d85ccf40b66b1686242d7721195b655 /board/freescale/m5282evb/Makefile | |
parent | c71103f9dc66dfcce8ad6df942364043bf27ade8 (diff) | |
download | u-boot-imx-123f102ec093fba6967066acdf9beb637df2e2d1.zip u-boot-imx-123f102ec093fba6967066acdf9beb637df2e2d1.tar.gz u-boot-imx-123f102ec093fba6967066acdf9beb637df2e2d1.tar.bz2 |
ppc4xx: Move 405EP pci code from cpu_init_f() to __pci_pre_init()
This patch moves some basic PCI initialisation from the 4xx cpu_init_f()
to cpu/ppc4xx/4xx_pci.c.
The original cpu_init_f() function enabled the 405EP's internal arbiter
in all situations. Also the HCE bit in cpc0_pci is always set.
The first is not really wanted for PCI adapter designs and the latter
is a general bug for PCI adapter U-Boots. Because it enables
PCI configuration by the system CPU even when the PCI configuration has
not been setup by the 405EP. The one and only correct place is
in pci_405gp_init() (see "Set HCE bit" comment).
So for compatibility reasons the arbiter is still enabled in any case,
but from weak pci_pre_init() so that it can be replaced by board specific
code.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/freescale/m5282evb/Makefile')
0 files changed, 0 insertions, 0 deletions