1. 10 Jul, 2009 2 commits
    • Matthias Fuchs's avatar
      ppc4xx: Set default PCI device ID for 405EP boards · 632e9b67
      Matthias Fuchs authored
      
      
      Current code only sets the PCI vendor id to 0x1014 and
      leaved device id to 0x0000.
      
      Ths patch ....
      a) uses the correct PCI_VENDOR_ID_IBM macro for this
      b) sets the default device ID as stated in the UM to 0x0156
         by using PCI_DEVICE_ID_IBM_405GP for this.
      Signed-off-by: default avatarMatthias Fuchs <matthias.fuchs@esd.eu>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      632e9b67
    • Matthias Fuchs's avatar
      ppc4xx: Move 405EP pci code from cpu_init_f() to __pci_pre_init() · 123f102e
      Matthias Fuchs authored
      
      
      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: default avatarMatthias Fuchs <matthias.fuchs@esd.eu>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      123f102e
  2. 08 Jul, 2009 1 commit
    • Matthias Fuchs's avatar
      ppc4xx: Implement is_pci_host() for 405 CPUs · d0a1364f
      Matthias Fuchs authored
      
      
      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: default avatarMatthias Fuchs <matthias.fuchs@esd.eu>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      d0a1364f
  3. 20 Mar, 2009 1 commit
  4. 07 Feb, 2009 1 commit
  5. 06 Feb, 2009 1 commit
  6. 21 Oct, 2008 1 commit
  7. 18 Oct, 2008 1 commit
  8. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      
      
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  9. 15 Mar, 2008 1 commit
  10. 09 Jan, 2008 1 commit
  11. 31 Oct, 2007 2 commits
  12. 07 Sep, 2007 1 commit
    • Grzegorz Bernacki's avatar
      [PPC440SPe] Improve PCIe configuration space access · 7f191393
      Grzegorz Bernacki authored
      
      
      - correct configuration space mapping
      - correct bus numbering
      - better access to config space
      
      Prior to this patch, the 440SPe host/PCIe bridge was able to configure only the
      first device on the first bus. We now allow to configure up to 16 buses;
      also, scanning for devices behind the PCIe-PCIe bridge is supported, so
      peripheral devices farther in hierarchy can be identified.
      Signed-off-by: default avatarGrzegorz Bernacki <gjb@semihalf.com>
      7f191393
  13. 25 Jun, 2007 1 commit
    • Matthias Fuchs's avatar
      ppc4xx: Add pci_pre_init() for 405 boards · 5a1c9ff0
      Matthias Fuchs authored
      
      
      This patch adds support for calling a plattform dependant
      pci_pre_init() function for 405 boards. This can be used to
      move the current pci_405gp_fixup_irq() function into the
      board code.
      
      This patch also makes the CFG_PCI_PRE_INIT define obsolete.
      A default function with 'weak' attribute is used when
      a board specific pci_pre_init() is not implemented.
      Signed-off-by: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
      5a1c9ff0
  14. 08 Jun, 2007 1 commit
  15. 18 Jan, 2007 1 commit
  16. 11 Jan, 2007 1 commit
  17. 07 Sep, 2006 1 commit
    • Stefan Roese's avatar
      Add support for AMCC Sequoia PPC440EPx eval board · 887e2ec9
      Stefan Roese authored
      - Add support for PPC440EPx & PPC440GRx
      - Add support for PPC440EP(x)/GR(x) NAND controller
        in cpu/ppc4xx directory
      - Add NAND boot functionality for Sequoia board,
        please see doc/README.nand-boot-ppc440 for details
      - This Sequoia NAND image doesn't support environment
        in NAND for now. This will be added in a short while.
      Patch by Stefan Roese, 07 Sep 2006
      887e2ec9
  18. 15 Aug, 2006 1 commit
  19. 10 Aug, 2006 1 commit
  20. 03 Jul, 2006 1 commit
  21. 30 Jun, 2006 1 commit
  22. 31 Mar, 2006 1 commit
  23. 13 Mar, 2006 1 commit
  24. 18 Jan, 2006 1 commit
  25. 29 Nov, 2005 1 commit
  26. 22 Nov, 2005 1 commit
    • Stefan Roese's avatar
      Add support for Prodrive P3P440 board: · 5568e613
      Stefan Roese authored
      - Added onboard PPC440 DDR autodetection in cpu/ppc/sdram.c
      - CFG_FLASH_QUIET_TEST added to use the common CFI driver
        for bank autodetection
      Patch by Stefan Roese, 22 Nov 2005
      5568e613
  27. 08 Aug, 2005 1 commit
  28. 01 Aug, 2005 1 commit
  29. 20 Apr, 2005 1 commit
  30. 16 Dec, 2004 1 commit
  31. 14 Mar, 2004 1 commit
  32. 22 Feb, 2004 1 commit
    • wdenk's avatar
      * Patch by Travis Sawyer, 09 Feb 2004: · 3c74e32a
      wdenk authored
        o 440GX:
          - Fix PCI Indirect access for type 1 config cycles with ppc440.
          - Add phymode for 440 enet
          - fix pci pre init
        o XPedite1K:
          - Change board_pre_init to board_early_init_f
          - Add user flash to bus controller setup
          - Fix pci pre init
          - Fix is_pci_host to check GPIO for monarch bit
          - Force xpedite1k to pci conventional mode (via #define option)
      
      * Patch by Brad Kemp, 4 Feb 2004:
        - handle the machine check that is generated during the PCI scans
          on 82xx processors.
        - define the registers used in the IMMR by the PCI subsystem.
      
      * Patch by Pierre Aubert, 03 Feb 2004:
        cpu/mpc5xxx/start.S: copy MBAR into SPR311
      
      * Patch by Jeff Angielski, 03 Feb 2004:
        Fix copy & paste error in cpu/mpc8260/pci.c
      
      * Patch by Reinhard Meyer, 24 Jan 2004:
        Fix typo in cpu/mpc5xxx/pci_mpc5200.c
      3c74e32a
  33. 22 Oct, 2003 1 commit
  34. 12 Sep, 2003 1 commit
  35. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  36. 04 Jun, 2003 1 commit
  37. 23 May, 2003 1 commit
  38. 14 Feb, 2003 1 commit