1. 20 8月, 2013 1 次提交
  2. 24 7月, 2013 1 次提交
  3. 12 5月, 2011 1 次提交
    • S
      PPC405EX CHIP_21 erratum · 644362c4
      Steven A. Falco 提交于
      APM errata CHIP_21 for the 405EX/EXr (from the rev 1.09 document dated
      4/27/11) states that rev D processors may wake up with the wrong feature
      set.  This patch implements the APM-proposed workaround.
      
      To enable this patch for your board, add the appropriate define for your
      CPU to your board header file.  See kilauea.h for more information.  The
      following variants are supported:
      
      #define CONFIG_SYS_4xx_CHIP_21_405EX_NO_SECURITY
      #define CONFIG_SYS_4xx_CHIP_21_405EX_SECURITY
      #define CONFIG_SYS_4xx_CHIP_21_405EXr_NO_SECURITY
      #define CONFIG_SYS_4xx_CHIP_21_405EXr_SECURITY
      
      Please note that if you select the wrong define, your board will not
      boot, and JTAG will be required to recover.
      
      Tested on custom boards using:
      
      CONFIG_SYS_4xx_CHIP_21_405EX_NO_SECURITY  <sfalco@harris.com>
      CONFIG_SYS_4xx_CHIP_21_405EX_SECURITY     <eibach@gdsys.de>
      Signed-off-by: NSteve Falco <sfalco@harris.com>
      Acked-by: NDirk Eibach <eibach@gdsys.de>
      Signed-off-by: NStefan Roese <sr@denx.de>
      644362c4
  4. 20 10月, 2010 1 次提交
  5. 04 10月, 2010 1 次提交
  6. 23 9月, 2010 4 次提交
  7. 03 9月, 2010 1 次提交
    • S
      ppc4xx: Fix 440EPx bug in reconfigure_pll() · c1ab75c7
      Stefan Roese 提交于
      This patch fixes a bug in reconfigure_pll(), where the detection of
      the current bootstrap option is wrong. The ICS bits where incorrectly
      shifted. This bug was found on the lwmon5 board, which uses bootstrap
      option H (I2C bootstrap EEPROM).
      
      Additionally a bit of code was moved into the if statement, since its
      only used after later on. No need to run this code all the time.
      
      Also, a few empty lines are added to make the code better readable.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Rupjyoti Sarmah <rsarmah@amcc.com>
      Cc: Victor Gallardo <vgallardo@appliedmicro.com>
      c1ab75c7
  8. 01 7月, 2010 1 次提交
  9. 22 4月, 2010 1 次提交
  10. 13 4月, 2010 1 次提交
  11. 24 3月, 2010 1 次提交
    • R
      ppc4xx fix unstable 440EPx bootstrap options · c550afad
      Rupjyoti Sarmah 提交于
      440EPx fixed bootstrap options A, B, D, and E sets PLL FWDVA to a value = 1.
      This results in the PLLOUTB being greater than the CPU clock frequency
      resulting unstable 440EPx operation resulting in various software hang
      conditions.
      
      This patch reprograms the FWDVA satisfying the requirement of setting FWDVB
      to a value greater than 1 while using one of the four deafult bootstrap options.
      Signed-off-by: NRupjyoti Sarmah <rsarmah@amcc.com>
      Acked-by : Victor Gallardo <vgallardo@appliedmicro.com>
      Signed-off-by: NStefan Roese <sr@denx.de>
      c550afad
  12. 23 10月, 2009 1 次提交
    • S
      ppc4xx: Add function to check and dynamically change PCI sync clock · 5e47f953
      Stefan Roese 提交于
      PPC440EP(x)/PPC440GR(x):
      In asynchronous PCI mode, the synchronous PCI clock must meet
      certain requirements. The following equation describes the
      relationship that must be maintained between the asynchronous PCI
      clock and synchronous PCI clock. Select an appropriate PCI:PLB
      ratio to maintain the relationship:
      
      AsyncPCIClk - 1MHz <= SyncPCIclock <= (2 * AsyncPCIClk) - 1MHz
      
      This patch now adds a function to check and reconfigure the sync
      PCI clock to meet this requirement. This is in preparation for
      some AMCC boards (Sequoia/Rainier and Yosemite/Yellowstone) using this
      function to not violate the PCI clocking rules.
      Signed-off-by: NStefan Roese <sr@denx.de>
      5e47f953
  13. 07 10月, 2009 1 次提交
  14. 03 10月, 2009 1 次提交
    • S
      ppc4xx: Big cleanup of PPC4xx defines · 297a6587
      Stefan Roese 提交于
      This patch cleans up multiple issues of the 4xx register (mostly
      DCR, SDR, CPR, etc) definitions:
      
      - Change lower case defines to upper case (plb4_acr -> PLB4_ACR)
      - Change the defines to better match the names from the
        user's manuals (e.g. cprpllc -> CPR0_PLLC)
      - Removal of some unused defines
      
      Please test this patch intensive on your PPC4xx platform. Even though
      I tried not to break anything and tested successfully on multiple
      4xx AMCC platforms, testing on custom platforms is recommended.
      Signed-off-by: NStefan Roese <sr@denx.de>
      297a6587
  15. 11 9月, 2009 1 次提交
    • S
      ppc4xx: Big cleanup of PPC4xx defines · d1c3b275
      Stefan Roese 提交于
      This patch cleans up multiple issues of the 4xx register (mostly
      DCR, SDR, CPR, etc) definitions:
      
      - Change lower case defines to upper case (plb4_acr -> PLB4_ACR)
      - Change the defines to better match the names from the
        user's manuals (e.g. cprpllc -> CPR0_PLLC)
      - Removal of some unused defines
      
      Please test this patch intensive on your PPC4xx platform. Even though
      I tried not to break anything and tested successfully on multiple
      4xx AMCC platforms, testing on custom platforms is recommended.
      Signed-off-by: NStefan Roese <sr@denx.de>
      d1c3b275
  16. 24 7月, 2009 1 次提交
  17. 10 7月, 2009 1 次提交
    • M
      ppc4xx: Move 405EP pci code from cpu_init_f() to __pci_pre_init() · 123f102e
      Matthias Fuchs 提交于
      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: NMatthias Fuchs <matthias.fuchs@esd.eu>
      Signed-off-by: NStefan Roese <sr@denx.de>
      123f102e
  18. 21 3月, 2009 2 次提交
  19. 19 10月, 2008 1 次提交
  20. 21 8月, 2008 2 次提交
  21. 11 7月, 2008 1 次提交
    • S
      ppc4xx: Rework 440GX UIC handling · 5de85140
      Stefan Roese 提交于
      This patch reworks the 440GX interrupt handling so that the common 4xx
      code can be used. The 440GX is an exception to all other 4xx variants
      by having the cascading interrupt vectors not on UIC0 but on a special
      UIC named UICB0 (UIC Base 0). With this patch now, U-Boot references
      the 440GX UICB0 when UIC0 is selected. And the common 4xx interrupt
      handling is simpler without any 440GX special cases.
      
      Also some additional cleanup to cpu/ppc4xx/interrupt.c is done.
      Signed-off-by: NStefan Roese <sr@denx.de>
      5de85140
  22. 30 6月, 2008 1 次提交
    • S
      ppc4xx: Fix 460EX errata with CPU lockup upon high AHB traffic · 745d8a0d
      Stefan Roese 提交于
      This patch implements a fix provided by AMCC so that the lockup upon
      simultanious traffic on AHB USB OTG, USB 2.0 and SATA doesn't occur
      anymore:
      
      Set SDR0_AHB_CFG[A2P_INCR4] (bit 24) and clear SDR0_AHB_CFG[A2P_PROT2]
      (bit 25) for a new 460EX errata regarding concurrent use of AHB USB OTG,
      USB 2.0 host and SATA.
      
      This errata is not officially available yet. I'll update the comment
      to add the errata number later.
      Signed-off-by: NStefan Roese <sr@denx.de>
      745d8a0d
  23. 04 6月, 2008 1 次提交
    • G
      ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling · c821b5f1
      Grant Erickson 提交于
      This patch (Part 1 of 2):
      
      * Rolls up a suite of changes to enable correct primordial stack and
        global data handling when the data cache is used for such a purpose
        for PPC40x-variants (i.e. CFG_INIT_DCACHE_CS).
      
      * Related to the first, unifies DDR2 SDRAM and ECC initialization by
        eliminating redundant ECC initialization implementations and moving
        redundant SDRAM initialization out of board code into shared 4xx
        code.
      
      * Enables MCSR visibility on the 405EX(r).
      
      * Enables the use of the data cache for initial RAM on
        both AMCC's Kilauea and Makalu and removes a redundant
        CFG_POST_MEMORY flag from each board's CONFIG_POST value.
      
        - Removed, per Stefan Roese's request, defunct memory.c file for
          Makalu and rolled sdram_init from it into makalu.c.
      
      With respect to the 4xx DDR initialization and ECC unification, there
      is certainly more work that can and should be done (file renaming,
      etc.). However, that can be handled at a later date on a second or
      third pass. As it stands, this patch moves things forward in an
      incremental yet positive way for those platforms that utilize this
      code and the features associated with it.
      Signed-off-by: NGrant Erickson <gerickson@nuovations.com>
      Signed-off-by: NStefan Roese <sr@denx.de>
      c821b5f1
  24. 27 3月, 2008 2 次提交
  25. 15 3月, 2008 1 次提交
  26. 28 12月, 2007 2 次提交
  27. 15 11月, 2007 1 次提交
  28. 01 11月, 2007 1 次提交
  29. 23 6月, 2007 2 次提交
  30. 24 3月, 2007 1 次提交
  31. 21 3月, 2007 1 次提交
    • S
      [PATCH] Add AMCC PPC405EZ support · e01bd218
      Stefan Roese 提交于
      This patch adds support for the new AMCC 405EZ PPC. It is in
      preparation for the AMCC Acadia board support.
      
      Please note that this Acadia/405EZ support is still in a beta stage.
      Still lot's of cleanup needed but we need a preliminary release now.
      Signed-off-by: NStefan Roese <sr@denx.de>
      e01bd218
  32. 20 2月, 2007 1 次提交