1. 23 Jan, 2010 1 commit
  2. 23 Oct, 2009 3 commits
  3. 07 Oct, 2009 2 commits
  4. 03 Oct, 2009 1 commit
    • Peter Tyser's avatar
      ppc: Enable full relocation to RAM · 85829017
      Peter Tyser authored and Wolfgang Denk's avatar Wolfgang Denk committed
      
      
      The following changes allow U-Boot to fully relocate from flash to
      RAM:
       - Remove linker scripts' .fixup sections from the .text section
       - Add -mrelocatable to PLATFORM_RELFLAGS for all boards
       - Define CONFIG_RELOC_FIXUP_WORKS for all boards
      
      Previously, U-Boot would partially relocate, but statically initialized
      pointers needed to be manually relocated.
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      85829017
  5. 28 Sep, 2009 2 commits
  6. 14 Sep, 2009 3 commits
  7. 11 Sep, 2009 1 commit
    • Stefan Roese's avatar
      ppc4xx: Big cleanup of PPC4xx defines · d1c3b275
      Stefan Roese authored
      
      
      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: Stefan Roese's avatarStefan Roese <sr@denx.de>
      d1c3b275
  8. 18 Aug, 2009 1 commit
    • Stefan Roese's avatar
      ppc4xx: Fix "chip_config" command for AMCC Arches · 514bab66
      Stefan Roese authored
      
      
      This patch fixes the "chip_config" command for I2C bootstrap EEPROM
      configuration. First it changes the I2C bootstrap EEPROM address to
      0x54 as this is used on Arches (instead of 0x52 on Canyonlands/
      Glacier). Additionally, the NAND bootstrap settings are removed
      for Arches since Arches doesn't support NAND-booting.
      Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
      514bab66
  9. 30 Jul, 2009 1 commit
  10. 28 Jul, 2009 3 commits
  11. 24 Jul, 2009 2 commits
    • Stefan Roese's avatar
      ppc4xx: Add chip_config command to AMCC Kilauea eval board · 4b1389e0
      Stefan Roese authored
      
      
      This patch removes the "alterpll" command and replaces it with the now
      ppc4xx standard "chip_config" command to configure the I2C bootstrap
      EEPROM.
      Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
      4b1389e0
    • Stefan Roese's avatar
      Add "chip_config" command for PPC4xx bootstrap configuration · 87c0b729
      Stefan Roese authored
      
      
      This patch adds a generic command for programming I2C bootstrap
      eeproms on PPC4xx. An implementation for Canyonlands board is
      included.
      
      The command name is intentionally chosen not to be PPC4xx specific.
      This way other CPU's/SoC's can implement a similar command under
      the same name, perhaps with a different syntax.
      
      Usage on Canyonlands:
      
      => chip_config
      Available configurations (I2C address 0x52):
      600-nor          - NOR  CPU: 600 PLB: 200 OPB: 100 EBC: 100
      600-nand         - NAND CPU: 600 PLB: 200 OPB: 100 EBC: 100
      800-nor          - NOR  CPU: 800 PLB: 200 OPB: 100 EBC: 100
      800-nand         - NAND CPU: 800 PLB: 200 OPB: 100 EBC: 100
      1000-nor         - NOR  CPU:1000 PLB: 200 OPB: 100 EBC: 100
      1000-nand        - NAND CPU:1000 PLB: 200 OPB: 100 EBC: 100
      1066-nor         - NOR  CPU:1066 PLB: 266 OPB:  88 EBC:  88 ***
      1066-nand        - NAND CPU:1066 PLB: 266 OPB:  88 EBC:  88
      => chip_config 600-nor
      Using configuration:
      600-nor          - NOR  CPU: 600 PLB: 200 OPB: 100 EBC: 100
      done (dump via 'i2c md 52 0.1 10')
      Reset the board for the changes to take effect
      
      Other 4xx boards will be migrated to use this command soon
      as well.
      Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarDirk Eibach <eibach@gdsys.de>
      Acked-by: default avatarMatthias Fuchs <matthias.fuchs@esd.eu>
      87c0b729
  12. 08 Jul, 2009 1 commit
  13. 12 Jun, 2009 2 commits
    • Wolfgang Denk's avatar
      General help message cleanup · a89c33db
      Wolfgang Denk authored
      
      
      Many of the help messages were not really helpful; for example, many
      commands that take no arguments would not print a correct synopsis
      line, but "No additional help available." which is not exactly wrong,
      but not helpful either.
      
      Commit ``Make "usage" messages more helpful.'' changed this
      partially. But it also became clear that lots of "Usage" and "Help"
      messages (fields "usage" and "help" in struct cmd_tbl_s respective)
      were actually redundant.
      
      This patch cleans this up - for example:
      
      Before:
      	=> help dtt
      	dtt - Digital Thermometer and Thermostat
      
      	Usage:
      	dtt         - Read temperature from digital thermometer and thermostat.
      
      After:
      	=> help dtt
      	dtt - Read temperature from Digital Thermometer and Thermostat
      
      	Usage:
      	dtt
      Signed-off-by: Wolfgang Denk's avatarWolfgang Denk <wd@denx.de>
      a89c33db
    • Stefan Roese's avatar
      ppc4xx: Add Sequoia RAM-booting target · d873133f
      Stefan Roese authored and Wolfgang Denk's avatar Wolfgang Denk committed
      
      
      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: Stefan Roese's avatarStefan Roese <sr@denx.de>
      d873133f
  14. 16 Apr, 2009 2 commits
    • Stefan Roese's avatar
      ppc4xx: Remove unused code for Sequoia NAND booting version · 17c1b0e8
      Stefan Roese authored
      
      
      The current define of get_bus_freq() in the CONFIG_NAND_SPL #ifdef is not
      used at all. This patch changes it's define to the currently used value of
      133333333 and removes the unnecessary code.
      Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
      17c1b0e8
    • Stefan Roese's avatar
      ppc4xx: Fixup chip-selects in dtb for NAND-booting Sequoia · 5132106a
      Stefan Roese authored
      
      
      Currently the NOR & NAND support in Linux only works for the "standard"
      Sequoia, the version booting for NOR flash. The NAND-booting version
      has the chip-selects swapped. Here the chip-select mappings:
      
      "Standard" NOR-booting version:
      CS0	NOR
      CS3	NAND
      
      NAND-booting version:
      CS0	NAND
      CS3	NOR
      
      With this path the dtb gets fixed-up, so that the correct chip-select
      numbers are patched in the dtb enabling correct NOR & NAND support
      in Linux on the NAND-booting Sequoia version.
      Signed-off-by: Stefan Roese's avatarStefan Roese <sr@denx.de>
      5132106a
  15. 26 Mar, 2009 1 commit
  16. 20 Mar, 2009 1 commit
    • Trent Piepho's avatar
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho authored and Wolfgang Denk's avatar Wolfgang Denk committed
      
      
      A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
      which needs to be added the the linker script.  Instead of just adding this
      one section, we use a wildcard ".rodata*" to get all rodata linker section
      gcc has now and might add in the future.
      
      However, '*(.rodata*)' by itself will result in sub-optimal section
      ordering.  The sections will be sorted by object file, which causes extra
      padding between the unaligned rodata.str.1.1 of one object file and the
      aligned rodata of the next object file.  This is easy to fix by using the
      SORT_BY_ALIGNMENT command.
      
      This patch has not be tested one most of the boards modified.  Some boards
      have a linker script that looks something like this:
      
      *(.text)
      . = ALIGN(16);
      *(.rodata)
      *(.rodata.str1.4)
      *(.eh_frame)
      
      I change this to:
      
      *(.text)
      . = ALIGN(16);
      *(.eh_frame)
      *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
      
      This means the start of rodata will no longer be 16 bytes aligned.
      However, the boundary between text and rodata/eh_frame is still aligned to
      16 bytes, which is what I think the real purpose of the ALIGN call is.
      Signed-off-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
      f62fb999
  17. 17 Mar, 2009 1 commit
  18. 12 Feb, 2009 1 commit
  19. 28 Jan, 2009 3 commits
  20. 21 Nov, 2008 2 commits
  21. 18 Nov, 2008 1 commit
  22. 02 Nov, 2008 1 commit
  23. 21 Oct, 2008 3 commits
  24. 18 Oct, 2008 1 commit