diff options
author | Matthias Fuchs <matthias.fuchs@esd.eu> | 2011-10-13 15:12:23 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2011-12-01 09:10:34 +0100 |
commit | baa3713fe258b7a970602438916fed9b5b267f82 (patch) | |
tree | 7bb3b8755c6dad93c724045bf97369ed239c2b39 /board | |
parent | 2fe6b7f70f423b66e23ad6fb0848b71252b2b2cd (diff) | |
download | u-boot-imx-baa3713fe258b7a970602438916fed9b5b267f82.zip u-boot-imx-baa3713fe258b7a970602438916fed9b5b267f82.tar.gz u-boot-imx-baa3713fe258b7a970602438916fed9b5b267f82.tar.bz2 |
ppc4xx: remove invalid access to PCI_BRDGOPT2 register
This patch removes an invalid call to pci_write_config_dword to
PCI_BRDGOPT2 register. This function must not be used from pci_target_init
and is also at the wrong place. The correct call is done later in
pci_target_init via pci_hose_write_config_dword.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board')
-rw-r--r-- | board/esd/pmc440/pmc440.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c index 0d56064..3713e37 100644 --- a/board/esd/pmc440/pmc440.c +++ b/board/esd/pmc440/pmc440.c @@ -574,8 +574,6 @@ void pci_target_init(struct pci_controller *hose) /* No error reporting */ pci_hose_write_config_word(hose, 0, PCI_ERREN, 0); - pci_write_config_dword(0, PCI_BRDGOPT2, 0x00000101); - if (!is_monarch()) { /* Program the board's subsystem id/classcode */ pci_hose_write_config_word(hose, 0, PCI_SUBSYSTEM_ID, |