1. 26 9月, 2014 1 次提交
  2. 31 7月, 2014 1 次提交
  3. 07 3月, 2014 1 次提交
  4. 05 3月, 2014 1 次提交
  5. 13 12月, 2013 1 次提交
  6. 24 7月, 2013 1 次提交
  7. 16 3月, 2013 1 次提交
  8. 27 11月, 2012 1 次提交
    • S
      powerpc: change .fixup test to a GCC version test · 6ec63f41
      Scott Wood 提交于
      This was introduced by commit 24461519, but it
      fails in a minimal SPL build where the only thing in arch/powerpc/lib is
      cache.c, which apparently doesn't generate any fixup records.
      
      The problem is reported to occur with GCC 3.x, so insist on GCC 4.0 or newer.
      Patterned after checkthumb as suggested by Tom Rini.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Cc: Peter Tyser <ptyser@xes-inc.com>
      Cc: Tom Rini <trini@ti.com>
      --
      v2: test gcc version instead of testing nothing
      6ec63f41
  9. 30 4月, 2011 1 次提交
    • S
      Handle most LDSCRIPT setting centrally · 83b7e2a7
      Scott Wood 提交于
      Currently, some linker scripts are found by common code in config.mk.
      Some are found using CONFIG_SYS_LDSCRIPT, but the code for that is
      sometimes in arch config.mk and sometimes in board config.mk.  Some
      are found using an arch-specific rule for looking in CPUDIR, etc.
      
      Further, the powerpc config.mk rule relied on CONFIG_NAND_SPL
      when it really wanted CONFIG_NAND_U_BOOT -- which covered up the fact
      that not all NAND_U_BOOT builds actually wanted CPUDIR/u-boot-nand.lds.
      
      Replace all of this -- except for a handful of boards that are actually
      selecting a linker script in a unique way -- with centralized ldscript
      finding.
      
      If board code specifies LDSCRIPT, that will be used.
      Otherwise, if CONFIG_SYS_LDSCRIPT is specified, that will be used.
      
      If neither of these are specified, then the central config.mk will
      check for the existence of the following, in order:
      
      $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT)
      $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT)
      $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
      $(TOPDIR)/$(CPUDIR)/u-boot.lds
      
      Some boards (sc3, cm5200, munices) provided their own u-boot.lds that
      were dead code, because they were overridden by a CPUDIR u-boot.lds under
      the old powerpc rules.  These boards' own u-boot.lds have bitrotted and
      no longer work -- these lds files have been removed.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Tested-by: NGraeme Russ <graeme.russ@gmail.com>
      83b7e2a7
  10. 21 4月, 2011 1 次提交
  11. 13 4月, 2011 1 次提交
    • W
      Make STANDALONE_LOAD_ADDR configurable per board · 8ae86b76
      Wolfgang Denk 提交于
      Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR
      and allow that the architecture-specific default value gets
      overwritten by defining the value in the board header file.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Cc: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Tsi Chung Liew <tsi-chung.liew@freescale.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      8ae86b76
  12. 12 4月, 2011 2 次提交
  13. 23 3月, 2011 1 次提交
  14. 26 1月, 2011 1 次提交
  15. 28 11月, 2010 1 次提交
    • W
      POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections · c08e5cf7
      Wolfgang Denk 提交于
      The switch from archive libraries to partial linking has introduced a
      number of problems, that are non-trivial to solve.  For example, it is
      no longer possible to include individual object files in the linker
      script as we did before for example in the case of boards with
      embedded environment to fill up the gap caused by the need to align
      the environment on flash erase block boundaries.
      
      The best (but unfortunately not easiest) approach to address this
      problem is to enable -ffunction-sections (and -fdata-sections) so
      we can again (and even in much finer granularity) place certain code
      where we want it.  When doing this step, it seems only consequent to
      also add --gc-sections which has the added benefit of reducing the
      memory footprint of the U-Boot image (both in flash and in RAM).
      
      Unfortunately, this requires changes to a lot of linker scripts.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Andy Fleming <afleming@gmail.com>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Acked-by: NStefan Roese <sr@denx.de>
      c08e5cf7
  16. 27 11月, 2010 1 次提交
    • W
      arch/powerpc/*/config.mk: make CONFIG_SYS_LDSCRIPT settings work · fa11dbe5
      Wolfgang Denk 提交于
      As we try to get rid of board specific config.mk files we must
      provide a way for board specific settings of the LDSCRIPT variable
      (path to the linker script) where needed.
      
      We now implement the following hierarchy:
      
      - Highest priority has a "#define CONFIG_SYS_LDCONFIG" in the board
        config file.
      - If CONFIG_SYS_LDCONFIG is not set, and the system is booting from
        NAND (CONFIG_NAND_SPL is set), then a board specific linker
        script board/$(BOARDDIR)/u-boot-nand.lds gets used.
      - If we are not booting from NAND, we test if a processor specific
        linker script arch/powerpc/cpu/$(CPU)/u-boot.lds exists; if so we
        use that.
      - As default, arch/powerpc/config.mk gets used.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Kumar Gala <kumar.gala@freescale.com>
      Cc: Andy Fleming <afleming@gmail.com>
      Acked-by: NStefan Roese <sr@denx.de>
      fa11dbe5
  17. 22 4月, 2010 1 次提交
  18. 13 4月, 2010 1 次提交
  19. 03 10月, 2009 2 次提交
    • M
      push LOAD_ADDR out to arch mk files · 8eb7e280
      Mike Frysinger 提交于
      Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in
      the standalone Makefile, push the setting up of LOAD_ADDR out to the arch
      config.mk (and rename to STANDALONE_LOAD_ADDR in the process).  This keeps
      the common code clean and lets the arch do whatever crazy crap it wants in
      its own area.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      8eb7e280
    • P
      ppc: Enable full relocation to RAM · 85829017
      Peter Tyser 提交于
      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: NPeter Tyser <ptyser@xes-inc.com>
      85829017
  20. 05 9月, 2009 1 次提交
    • M
      push LOAD_ADDR out to arch mk files · 262ae0a6
      Mike Frysinger 提交于
      Rather than maintain/extend the current ifeq($(ARCH)) mess that exists in
      the standalone Makefile, push the setting up of LOAD_ADDR out to the arch
      config.mk (and rename to STANDALONE_LOAD_ADDR in the process).  This keeps
      the common code clean and lets the arch do whatever crazy crap it wants in
      its own area.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      262ae0a6
  21. 21 7月, 2009 1 次提交
  22. 20 7月, 2009 1 次提交
    • M
      push CROSS_COMPILE out to $(ARCH)_config.mk · 1ea6bcd8
      Mike Frysinger 提交于
      Each arch should handle setting a proper default CROSS_COMPILE value in
      their own config.mk file rather than having to maintain a large ugly list
      in the Makefile.  By using conditional assignment, we don't have to worry
      about the variable already being set (env/cmdline/etc...).
      
      The common config.mk file takes care of exporting CROSS_COMPILE already,
      and while a few variables (toolchain ones) utilize CROSS_COMPILE before
      including the arch config.mk, they do so with deferred assignment.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      1ea6bcd8
  23. 07 9月, 2008 1 次提交
  24. 11 11月, 2002 1 次提交
    • W
      * Vince Husovsky, 7 Nov 2002: · 7f6c2cbc
      wdenk 提交于
        Add "-n" to linker options to get rid of "Not enough room for
        program headers" problem
      
      * Patch by David Mller, 05 Nov 2002
        Rename CONFIG_PLL_INPUT_FREQ to CONFIG_SYS_CLK_FREQ
        so we can use an already existing name
      
      * Patch by Pierre Aubert, 05 Nov 2002
        Hardware related improvements in FDC boot code
      
      * Patch by Holger Schurig, 5 Nov 2002:
        Make the PXA really change it's frequency
      
      * Patch by Pierre Aubert, 05 Nov 2002
        Add support for slave serial Spartan 2 FPGAs
      
      * Fix uninitialized memory (MAC address) in 8xx SCC/FEC ethernet
        drivers
      7f6c2cbc
  25. 15 8月, 2002 1 次提交
  26. 30 11月, 2001 1 次提交
  27. 05 8月, 2001 1 次提交
  28. 30 5月, 2001 1 次提交
  29. 28 2月, 2001 1 次提交
  30. 10 7月, 2000 1 次提交