1. 08 6月, 2013 1 次提交
    • G
      pci: introduce CONFIG_PCI_INDIRECT_BRIDGE option · 842033e6
      Gabor Juhos 提交于
      The pci_indirect.c file is always compiled when
      CONFIG_PCI is defined although the indirect PCI
      bridge support is not needed by every board.
      
      Introduce a new CONFIG_PCI_INDIRECT_BRIDGE
      config option and only compile indirect PCI
      bridge support if this options is enabled.
      
      Also add the new option into the configuration
      files of the boards which needs that.
      
      Compile tested for powerpc, x86, arm and nds32.
      MAKEALL results:
      
      powerpc:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 641
        Boards with warnings but no errors: 2 ( ELPPC MPC8323ERDB )
        ----------------------------------------------------------
        Note: the warnings for ELPPC and MPC8323ERDB are present even
        without the actual patch.
      
      x86:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 1
        ----------------------------------------------------------
      
      arm:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 311
        ----------------------------------------------------------
      
      nds32:
        --------------------- SUMMARY ----------------------------
        Boards compiled: 3
        ----------------------------------------------------------
      
      Cc: Tom Rini <trini@ti.com>
      Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      842033e6
  2. 20 11月, 2012 1 次提交
    • J
      boards: remove the no longer used CONFIG_EHCI_DCACHE · c11ace6b
      Jeroen Hofstee 提交于
      CONFIG_EHCI_DCACHE was removed by commit b8adb120
      "USB: Drop cache flush bloat in EHCI-HCD". Remove the defines from
      the boards configs as well.
      Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
      cc: Marek Vasut <marex@denx.de>
      cc: Stefan Roese <sr@denx.de>
      cc: Tom Rini <trini@ti.com>
      cc: Wolfgang Denk <wd@denx.de>
      cc: Thierry Reding <thierry.reding@avionic-design.de>
      cc: Tom Warren <twarren@nvidia.com>
      cc: Stephen Warren <swarren@nvidia.com>
      cc: Stefano Babic <sbabic@denx.de>
      c11ace6b
  3. 27 1月, 2012 1 次提交
    • S
      nand_spl: store ecc data on the stack · 25efd99d
      Scott Wood 提交于
      Adapt the following patch from spl to nand_spl:
      
        Author: Stefano Babic <sbabic@denx.de>
        Date:   Thu Dec 15 10:55:37 2011 +0100
      
            nand_spl_simple: store ecc data on the stack
      
            Currently nand_spl_simple puts it's temp data at 0x10000 offset in SDRAM
            which is likely to contain already loaded data.
            The patch saves the oob data and the ecc on the stack replacing
            the fixed address in RAM.
      Signed-off-by: NStefano Babic <sbabic@denx.de>
            CC: Ilya Yanok <yanok@emcraft.com>
            CC: Scott Wood <scottwood@freescale.com>
            CC: Tom Rini <tom.rini@gmail.com>
            CC: Simon Schwarz <simonschwarzcor@googlemail.com>
            CC: Wolfgang Denk <wd@denx.de>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      
      While nand_spl is on its way out, in favor of spl, there are still
      many boards using it, and conversions are gradual.  This allows us
      to get rid of CONFIG_SYS_NAND_ECCSTEPS and CONFIG_SYS_NAND_ECCTOTAL now,
      which would otherwise be likely to linger unreferenced after a conversion.
      
      It also eliminates a temporary error in the hawkboard_nand build, since
      the spl version of the patch removed ECCSTEPS/TOTAL from hawkboard.h, but
      the spl conversion is pending (and may be merged via a different tree).
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      25efd99d
  4. 27 10月, 2010 2 次提交
    • W
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk 提交于
      CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
      being able to use "sizeof(struct global_data)" in assembler files.
      Recent experience has shown that manual synchronization is not
      reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
      GENERATED_GBL_DATA_SIZE which gets automatically generated by the
      asm-offsets tool.  In the result, all definitions of this value can be
      deleted from the board config files.  We have to make sure that all
      files that reference such data include the new <asm-offsets.h> file.
      
      No other changes have been done yet, but it is obvious that similar
      changes / simplifications can be done for other, related macro
      definitions as well.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
    • 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
  5. 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
  6. 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
  7. 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
  8. 09 1月, 2010 1 次提交
  9. 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
  10. 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
  11. 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
  12. 16 4月, 2009 1 次提交
  13. 24 1月, 2009 1 次提交
  14. 19 10月, 2008 1 次提交
  15. 14 10月, 2008 1 次提交
  16. 11 9月, 2008 3 次提交
  17. 30 8月, 2008 1 次提交
  18. 13 8月, 2008 1 次提交
  19. 07 8月, 2008 1 次提交
  20. 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
  21. 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
  22. 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
  23. 07 3月, 2008 2 次提交
  24. 03 3月, 2008 1 次提交
  25. 22 2月, 2008 1 次提交
  26. 16 2月, 2008 1 次提交
  27. 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
  28. 04 1月, 2008 1 次提交
  29. 28 12月, 2007 4 次提交
  30. 13 12月, 2007 1 次提交
  31. 09 11月, 2007 1 次提交
  32. 01 11月, 2007 1 次提交