]> git.sur5r.net Git - u-boot/commitdiff
ppc4xx: remove invalid access to PCI_BRDGOPT2 register
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Thu, 13 Oct 2011 13:12:23 +0000 (15:12 +0200)
committerStefan Roese <sr@denx.de>
Thu, 1 Dec 2011 08:10:34 +0000 (09:10 +0100)
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>
board/esd/pmc440/pmc440.c

index 0d560649eadcd7215f0636059e99b0f5aaa8f38a..3713e374b08e9781944db97412f0161fbb60b40c 100644 (file)
@@ -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,