1. 27 10月, 2010 1 次提交
    • W
      Rename CONFIG_SYS_INIT_RAM_END into CONFIG_SYS_INIT_RAM_SIZE · 553f0982
      Wolfgang Denk 提交于
      CONFIG_SYS_INIT_RAM_END was a misnomer as it suggests this might be
      some end address; to make the meaning more clear we rename it into
      CONFIG_SYS_INIT_RAM_SIZE
      
      No other code changes are performed in this patch, only minor editing
      of white space (due to the changed length) and the comments was done,
      where noticed.
      
      Note that the code for the PATI and cmi_mpc5xx board configurations
      looks seriously broken.  Last known maintainers on Cc:
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Martin Winistoerfer <martinwinistoerfer@gmx.ch>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      553f0982
  2. 19 10月, 2010 2 次提交
    • W
      Makefile: move all Power Architecture boards into boards.cfg · 2ae18241
      Wolfgang Denk 提交于
      Clean up Makefile, and drop a lot of the config.mk files on the way.
      
      We now also automatically pick all boards that are listed in
      boards.cfg (and with all configurations), so we can drop the redundant
      entries from MAKEALL to avoid building these twice.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      2ae18241
    • W
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk 提交于
      The change is currently needed to be able to remove the board
      configuration scripting from the top level Makefile and replace it by
      a simple, table driven script.
      
      Moving this configuration setting into the "CONFIG_*" name space is
      also desirable because it is needed if we ever should move forward to
      a Kconfig driven configuration system.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      14d0a02a
  3. 23 9月, 2010 1 次提交
    • S
      ppc4xx: Use common NS16550 driver for PPC4xx UART · 550650dd
      Stefan Roese 提交于
      This patch removes the PPC4xx UART driver. Instead the common NS16550
      driver is used, since all PPC4xx SoC's use this peripheral device.
      
      The file 4xx_uart.c now only implements the UART clock calculation
      function which also sets the SoC internal UART divisors.
      
      All PPC4xx board config headers are changed to use this common NS16550
      driver now.
      
      Tested on these boards:
      acadia, canyonlands, katmai, kilauea, sequoia, zeus
      Signed-off-by: NStefan Roese <sr@denx.de>
      550650dd
  4. 22 9月, 2010 1 次提交
    • M
      POST cleanup. · 800eb096
      Michael Zaidman 提交于
      - Revives POST for blackfin arch;
      - Removes redundant code:
           arch/blackfin/lib/post.c
           arch/powerpc/cpu/ppc4xx/commproc.c
           arch/powerpc/cpu/mpc512x/common.c
      - fixes up the post_word_{load|store} usage.
      Signed-off-by: NMichael Zaidman <michael.zaidman@gmail.com>
      Acked-by: NDetlev Zundel <dzu@denx.de>
      Tested-by: NAnatolij Gustschin <agust@denx.de>
      
      List of the maintainers of the affected by patch boards:
      Cc: Stephan Linz <linz@li-pro.net>
      Cc: Denis Peter <d.peter@mpl.ch>
      Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      Cc: Larry Johnson <lrj@acm.org>
      Cc: Feng Kan <fkan@amcc.com>
      800eb096
  5. 09 1月, 2010 1 次提交
  6. 19 11月, 2009 1 次提交
    • S
      ppc4xx: Consolidate pci_pre_init() function · a760b020
      Stefan Roese 提交于
      This patch removes the duplicted implementations of the pci_pre_init()
      function by introducing a weak default function for it. This weak default
      has a different implementation for some PPC variants. It can be
      overridden by a board specific version.
      Signed-off-by: NStefan Roese <sr@denx.de>
      a760b020
  7. 23 10月, 2009 1 次提交
    • S
      ppc4xx: Sequoia: Add chip_config command · cfc25874
      Stefan Roese 提交于
      This patch removes the Sequoia "bootstrap" command and replaces it
      with the now common command "chip_config".
      
      Please note that the patches with the dynamic PCI sync clock
      configuration have to be applied, before this one should go in.
      This is because Sequoia has 2 different bootstrap EEPROMs, and
      the old bootstrap command configured different values depending
      on the detected PCI async clock (33 vs. 66MHz). With the PCI sync
      clock patches, this is not necessary anymore. The PCI sync clock
      will be configured correctly on-the-fly now.
      Signed-off-by: NStefan Roese <sr@denx.de>
      cfc25874
  8. 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
  9. 16 4月, 2009 1 次提交
  10. 24 1月, 2009 1 次提交
  11. 19 10月, 2008 1 次提交
  12. 14 10月, 2008 1 次提交
  13. 11 9月, 2008 3 次提交
  14. 30 8月, 2008 1 次提交
  15. 13 8月, 2008 1 次提交
  16. 07 8月, 2008 1 次提交
  17. 06 6月, 2008 1 次提交
    • S
      ppc4xx: Unify AMCC's board config files (part 3/3) · 72675dc6
      Stefan Roese 提交于
      This patch series unifies the AMCC eval board ports by introducing
      a common include header for all AMCC eval boards:
      
      include/configs/amcc-common.h
      
      This header now includes all common configuration options/defines which
      are removed from the board specific headers.
      
      The reason for this is ease of maintenance and unified look and feel
      of all AMCC boards.
      Signed-off-by: NStefan Roese <sr@denx.de>
      72675dc6
  18. 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
  19. 27 3月, 2008 1 次提交
    • S
      ppc: Add CFG_MEM_TOP_HIDE option to hide memory area that doesn't get "touched" · 14f73ca6
      Stefan Roese 提交于
      If CFG_MEM_TOP_HIDE is defined in the board config header, this specified
      memory area will get subtracted from the top (end) of ram and won't get
      "touched" at all by U-Boot. By fixing up gd->ram_size the Linux kernel
      should gets passed the now "corrected" memory size and won't touch it
      either. This should work for arch/ppc and arch/powerpc. Only Linux board
      ports in arch/powerpc with bootwrapper support, which recalculate the
      memory size from the SDRAM controller setup, will have to get fixed
      in Linux additionally.
      
      This patch enables this config option on some PPC440EPx boards as a workaround
      for the CHIP 11 errata. Here the description from the AMCC documentation:
      
      CHIP_11: End of memory range area restricted access.
      Category: 3
      
      Overview:
      The 440EPx DDR controller does not acknowledge any
      transaction which is determined to be crossing over the
      end-of-memory-range boundary, even if the starting address is
      within valid memory space. Any such transaction from any PLB4
      master will result in a PLB time-out on PLB4 bus.
      
      Impact:
      In case of such misaligned bursts, PLB4 masters will not
      retrieve any data at all, just the available data up to the
      end of memory, especially the 440 CPU. For example, if a CPU
      instruction required an operand located in memory within the
      last 7 words of memory, the DCU master would burst read 8
      words to update the data cache and cross over the
      end-of-memory-range boundary. Such a DCU read would not be
      answered by the DDR controller, resulting in a PLB4 time-out
      and ultimately in a Machine Check interrupt. The data would
      be inaccessible to the CPU.
      
      Workaround:
      Forbid any application to access the last 256 bytes of DDR
      memory. For example, make your operating system believe that
      the last 256 bytes of DDR memory are absent. AMCC has a patch
      that does this, available for Linux.
      
      This patch sets CFG_MEM_TOP_HIDE for the following 440EPx boards:
      lwmon5, korat, sequoia
      
      The other remaining 440EPx board were intentionally not included
      since it is not clear to me, if they use the end of ram for some
      other purpose. This is unclear, since these boards have CONFIG_PRAM
      defined and even comments like this:
      
      PMC440.h:
      /* esd expects pram at end of physical memory.
       * So no logbuffer at the moment.
       */
      
      It is strongly recommended to not use the last 256 bytes on those
      boards too. Patches from the board maintainers are welcome.
      Signed-off-by: NStefan Roese <sr@denx.de>
      14f73ca6
  20. 07 3月, 2008 2 次提交
  21. 03 3月, 2008 1 次提交
  22. 22 2月, 2008 1 次提交
  23. 16 2月, 2008 1 次提交
  24. 11 1月, 2008 1 次提交
    • N
      ppc4xx: Make Sequoia boot vxWorks · 4d332dbe
      Niklaus Giger 提交于
      vxWorks expects in
      TLB 0 a entry for the Machine Check interrupt
      TLB 1 a entry for the RAM
      TLB 2 a entry for the EBC
      TLB 3 a entry for the boot flash
      
      After changing the baudrate to 9600 I had no problems to boot the
      vxWorks image as distributed by WindRiver (Revision 2.0/1 from
      June 18, 2007)
      Signed-off-by: NNiklaus Giger <niklaus.giger@netstal.com>
      4d332dbe
  25. 04 1月, 2008 1 次提交
  26. 28 12月, 2007 4 次提交
  27. 13 12月, 2007 1 次提交
  28. 09 11月, 2007 1 次提交
  29. 01 11月, 2007 1 次提交
  30. 15 10月, 2007 1 次提交
  31. 31 8月, 2007 1 次提交
    • G
      ppc4xx: (Re-)Enable CONFIG_PCI_PNP on AMCC 440EPx Sequoia · 81b73dec
      Gary Jennejohn 提交于
      The 440EPx has a problem when the PCI_CACHE_LINE_SIZE register is
      set to non-zero, because it doesn't support MRM (memory-read-
      multiple) correctly. We now added the possibility to configure
      this register in the board config file, so that the default value
      of 8 can be overridden.
      
      Here the details of this patch:
      
      o drivers_pci_auto.c: introduce CFG_PCI_CACHE_LINE_SIZE to allow
        board-specific settings. As an example the sequoia board requires 0.
        Idea from Stefan Roese <sr@denx.de>.
      o board/amcc/sequoia/init.S: add a TLB mapping at 0xE8000000 for the
        PCI IO-space. Obtained from Stefan Roese <sr@denx.de>.
      o include/configs/sequoia.h: turn CONFIG_PCI_PNP back on and set
        CFG_PCI_CACHE_LINE_SIZE to 0.
      Signed-off-by: NGary Jennejohn <garyj@denx.de>
      Signed-off-by: NStefan Roese <sr@denx.de>
      81b73dec
  32. 16 8月, 2007 1 次提交
  33. 10 7月, 2007 1 次提交