]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
* PPC405EP: Add support for board configuration of CPC0_PCI register
authorStefan Roese <sr@denx.de>
Thu, 12 Oct 2006 17:50:17 +0000 (19:50 +0200)
committerStefan Roese <sr@denx.de>
Thu, 12 Oct 2006 18:09:31 +0000 (20:09 +0200)
  This is needed to be able to configure PerWE*/PCI_INT* pin as PerWE*
Patch by Tolunay Orkun, 07 Apr 2006

CHANGELOG
cpu/ppc4xx/start.S

index 87a87461d93da191bf0012656566b8237f3448e5..2a40ab3561aa6095fa90c9f89b58d3383d40c37d 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,10 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* PPC405EP: Add support for board configuration of CPC0_PCI register
+  This is needed to be able to configure PerWE*/PCI_INT* pin as PerWE*
+  Patch by Tolunay Orkun, 07 Apr 2006
+
 * PPC405EP: Add CFG_GPIO0_OR, CFG_GPIO0_ODR to setup GPIO completely.
   - Add configuration of Open Drain GPIO Output selection
   - Add configuration of initial value of GPIO output pins
index 3f2931411f300f5513a1b80582e56cb81391c415..3fe13daaf38d6be5b1f514273fedda65a4379d62 100644 (file)
@@ -1697,7 +1697,8 @@ ppc405ep_init:
        mtdcr   ebccfgd,r3
 #endif
 
-       addi    r3,0,CPC0_PCI_HOST_CFG_EN
+#ifndef CFG_CPC0_PCI
+       li      r3,CPC0_PCI_HOST_CFG_EN
 #ifdef CONFIG_BUBINGA
        /*
        !-----------------------------------------------------------------------
@@ -1712,6 +1713,9 @@ ppc405ep_init:
        beq     ..pci_cfg_set             /* if not set, then bypass reg write*/
 #endif
        ori     r3,r3,CPC0_PCI_ARBIT_EN
+#else /* CFG_CPC0_PCI */
+       li      r3,CFG_CPC0_PCI
+#endif /* CFG_CPC0_PCI */
 ..pci_cfg_set:
        mtdcr   CPC0_PCI, r3             /* Enable internal arbiter*/