1. 19 10月, 2010 1 次提交
  2. 13 10月, 2010 1 次提交
  3. 04 10月, 2010 1 次提交
  4. 23 9月, 2010 2 次提交
  5. 03 9月, 2010 1 次提交
  6. 01 7月, 2010 1 次提交
    • S
      ppc4xx: Cleanup Boot/FLASH TLB reassignment for PPC440/460 · 4978e605
      Stefan Roese 提交于
      Background Info:
      Some PPC440/460 boards have caches enabled in the Boot/FLASH TLB (via
      init.S) to speed up the boot process. In relocate_code (start.S) the
      cache inhibit attribute for this TLB is set to disable cache. This is
      needed for the CFI FLASH driver.
      
      This patch now cleans this code up:
      - CONFIG_SYS_TLB_FOR_BOOT_FLASH is defined to 0 (default TLB) if not
        defined in the top of this file. This way, we can remove an ugly
        #ifdef in this code.
      - Replace complex "#if defined(CONFIG_440EP) || defined(CONFIG_GR)..."
        statement with "#if defined(CONFIG_440)".
      - Remove unnecessary cache invalidate calls resulting in faster bootup.
      Signed-off-by: NStefan Roese <sr@denx.de>
      4978e605
  7. 22 4月, 2010 1 次提交
  8. 14 4月, 2010 1 次提交
    • S
      ppc4xx: Add option for PPC440SPe ports without old Rev. A support · 2a72e9ed
      Stefan Roese 提交于
      The 440SPe Rev. A is quite old and newer 440SPe boards don't need support
      for this CPU revision. Since removing support for this older version
      simplifies the creation for newer U-Boot ports, this patch now enables
      440SPe > Rev. A support by creating the CONFIG_440SPE_REVA define. By
      defining this in the board config header, Rev. A will still be supported.
      Otherwise (default for newer board ports), Rev. A will not be supported.
      Signed-off-by: NStefan Roese <sr@denx.de>
      2a72e9ed
  9. 13 4月, 2010 1 次提交
  10. 27 1月, 2010 2 次提交
  11. 08 10月, 2009 1 次提交
  12. 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
  13. 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
  14. 10 8月, 2009 1 次提交
    • J
      Dual-license IBM code contributions · 31773496
      Josh Boyer 提交于
      It was brought to our attention that U-Boot contains code derived from the
      IBM OpenBIOS source code originally provided with some of the older PowerPC
      4xx development boards.  As a result, the original license of this code has
      been carried in the various files for a number of years in the U-Boot project.
      
      IBM is dual-licensing the IBM code contributions already present in U-Boot
      under either the terms of the GNU General Public License version 2, or the
      original code license already present.
      Signed-off-by: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      31773496
  15. 24 7月, 2009 2 次提交
  16. 08 7月, 2009 1 次提交
  17. 13 6月, 2009 1 次提交
    • S
      ppc4xx: Add Sequoia RAM-booting target · d873133f
      Stefan Roese 提交于
      This patch adds another build target for the AMCC Sequoia PPC440EPx
      eval board. This RAM-booting version is targeted for boards without
      NOR FLASH (NAND booting) which need a possibility to initially
      program their NAND FLASH. Using a JTAG debugger (e.g. BDI2000/3000)
      configured to setup the SDRAM, this debugger can load this RAM-
      booting image to the target address in SDRAM (in this case 0x1000000)
      and start it there. Then U-Boot's standard NAND commands can be
      used to program the NAND FLASH (e.g. "nand write ...").
      
      Here the commands to load and start this image from the BDI2000:
      
      440EPX>reset halt
      440EPX>load 0x1000000 /tftpboot/sequoia/u-boot.bin
      440EPX>go 0x1000000
      
      Please note that this image automatically scans for an already
      initialized SDRAM TLB (detected by EPN=0). This TLB will not be
      cleared. This TLB doesn't need to be TLB #0, this RAM-booting
      version will detect it and preserve it. So booting via BDI2000
      will work and booting with a complete different TLB init via
      U-Boot works as well.
      Signed-off-by: NStefan Roese <sr@denx.de>
      d873133f
  18. 16 12月, 2008 1 次提交
  19. 07 12月, 2008 1 次提交
  20. 21 11月, 2008 2 次提交
  21. 20 11月, 2008 1 次提交
  22. 24 10月, 2008 1 次提交
  23. 19 10月, 2008 1 次提交
  24. 11 7月, 2008 1 次提交
  25. 04 6月, 2008 3 次提交
    • S
      ppc4xx: Remove superfluous dram_init() call or replace it by initdram() · bbeff30c
      Stefan Roese 提交于
      Historically the 405 U-Boot port had a dram_init() call in early init
      stage. This function was still called from start.S and most of the time
      coded in assembler. This is not needed anymore (since a long time) and
      boards should implement the common initdram() function in C instead.
      
      This patch now removed the dram_init() call from start.S and removes the
      empty implementations that are scattered through most of the 405 board
      ports. Some older board ports really implement this dram_init() though.
      These are:
      
      csb272
      csb472
      ERIC
      EXBITGEN
      W7OLMC
      W7OLMG
      
      I changed those boards to call this assembler dram_init() function now
      from their board specific initdram() instead. This *should* work, but please
      test again on those platforms. And it is perhaps a good idea that those
      boards use some common 405 SDRAM initialization code from cpu/ppc4xx at
      some time. So further patches welcome here.
      Signed-off-by: NStefan Roese <sr@denx.de>
      bbeff30c
    • S
      ppc4xx/NAND_SPL: Consolidate 405 and 440 NAND booting code in start.S · 64852d09
      Stefan Roese 提交于
      This patch consolidates the 405 and 440 parts of the NAND booting code
      selected via CONFIG_NAND_SPL. Now common code is used to initialize the
      SDRAM by calling initdram() and to "copy/relocate" to SDRAM/OCM/etc.
      Only *after* running from this location, nand_boot() is called.
      
      Please note that the initsdram() call is now moved from nand_boot.c
      to start.S. I experienced problems with some boards like Kilauea
      (405EX), which don't have internal SRAM (OCM) and relocation needs to
      be done to SDRAM before the NAND controller can get accessed. When
      initdram() is called later on in nand_boot(), this can lead to problems
      with variables in the bss sections like nand_ecc_pos[].
      Signed-off-by: NStefan Roese <sr@denx.de>
      Acked-by: NScott Wood <scottwood@freescale.com>
      64852d09
    • 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
  26. 21 5月, 2008 1 次提交
    • W
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk 提交于
      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: NWolfgang Denk <wd@denx.de>
      53677ef1
  27. 29 4月, 2008 1 次提交
  28. 15 3月, 2008 2 次提交
    • S
      ppc4xx: Add Canyonlands NAND booting support · 71665ebf
      Stefan Roese 提交于
      460EX doesn't support a fixed bootstrap option to boot from 512 byte page
      NAND devices. The only bootstrap option for NAND booting is option F for
      2k page devices. So to boot from a 512 bype page device, the I2C bootstrap
      EEPROM needs to be programmed accordingly.
      
      This patch adds basic NAND booting support for the AMCC Canyonlands aval
      board and also adds support to the "bootstrap" command, to enable NAND
      booting I2C setting.
      
      Tested with 512 byte page NAND device (32MByte) on Canyonlands.
      Signed-off-by: NStefan Roese <sr@denx.de>
      71665ebf
    • S
      ppc4xx: Add basic support for AMCC 460EX/460GT (2/5) · 2801b2d2
      Stefan Roese 提交于
      This patch adds basic support for the AMCC 460EX/460GT PPC's.
      Signed-off-by: NStefan Roese <sr@denx.de>
      2801b2d2
  29. 15 2月, 2008 1 次提交
  30. 04 2月, 2008 1 次提交
  31. 11 1月, 2008 1 次提交
  32. 09 1月, 2008 1 次提交
  33. 28 12月, 2007 1 次提交