Skip to content
Snippets Groups Projects
  1. Jul 24, 2013
  2. Jun 20, 2013
  3. Apr 12, 2013
  4. Mar 15, 2013
    • Simon Glass's avatar
      Replace __bss_end__ with __bss_end · 3929fb0a
      Simon Glass authored
      
      Note this is a tree-wide change affecting multiple architectures.
      
      At present we use __bss_start, but mostly __bss_end__. This seems
      inconsistent and in a number of places __bss_end is used instead.
      
      Change to use __bss_end for the BSS end symbol throughout U-Boot. This
      makes it possible to use the asm-generic/sections.h file on all
      archs.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      3929fb0a
  5. Mar 12, 2013
    • Albert ARIBAUD's avatar
      Refactor linker-generated arrays · ef123c52
      Albert ARIBAUD authored
      
      Refactor linker-generated array code so that symbols
      which were previously linker-generated are now compiler-
      generated. This causes relocation records of type
      R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
      code which uses LGA able to run before relocation as
      well as after.
      
      Note: this affects more than ARM targets, as linker-
      lists span possibly all target architectures, notably
      PowerPC.
      
      Conflicts:
      	arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
      	arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
      	arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
      	board/ait/cam_enc_4xx/u-boot-spl.lds
      	board/davinci/da8xxevm/u-boot-spl-da850evm.lds
      	board/davinci/da8xxevm/u-boot-spl-hawk.lds
      	board/vpac270/u-boot-spl.lds
      
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      ef123c52
  6. Jan 08, 2013
    • Albert ARIBAUD's avatar
      arm: move C runtime setup code in crt0.S · e05e5de7
      Albert ARIBAUD authored
      
      Move all the C runtime setup code from every start.S
      in arch/arm into arch/arm/lib/crt0.S. This covers
      the code sequence from setting up the initial stack
      to calling into board_init_r().
      
      Also, rewrite the C runtime setup and make functions
      board_init_*() and relocate_code() behave according to
      normal C semantics (no jumping across the C stack any
      more, etc).
      
      Some SPL targets had to be touched because they use
      start.S explicitly or for some reason; the relevant
      maintainers and custodians are cc:ed.
      
      Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
      e05e5de7
  7. Dec 19, 2012
  8. Nov 27, 2012
    • Andy Fleming's avatar
      8xxx: Change all 8*xx_DDR addresses to 8xxx · e76cd5d4
      Andy Fleming authored
      
      There were a number of shared files that were using
      CONFIG_SYS_MPC85xx_DDR_ADDR, or CONFIG_SYS_MPC86xx_DDR_ADDR, and
      several variants (DDR2, DDR3). A recent patchset added
      85xx-specific ones to code which was used by 86xx systems.
      After reviewing places where these constants were used, and
      noting that the type definitions of the pointers assigned to
      point to those addresses were the same, the cleanest approach
      to fixing this problem was to unify the namespace for the
      85xx, 83xx, and 86xx DDR address definitions.
      
      This patch does:
      
      s/CONFIG_SYS_MPC8.xx_DDR/CONFIG_SYS_MPC8xxx_DDR/g
      
      All 85xx, 86xx, and 83xx have been built with this change.
      
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      Tested-by: default avatarAndy Fleming <afleming@freescale.com>
      Acked-by: default avatarKim Phillips <kim.phillips@freescale.com>
      e76cd5d4
  9. Nov 26, 2012
  10. Nov 14, 2012
    • Scott Wood's avatar
      nand_spl: fix u-boot.lst breakage · a6d0f62a
      Scott Wood authored
      
      Commit 97b24d3d "common: Add symbol
      handling for generic lists into Makefile" introduced build errors in many
      nand_spl targets, complaining of a missing u-boot.lst.  When not doing an
      out-of-tree build, $(obj) expands to nothing, so GCC ended up being given
      -I with no argument (or rather, -ansi was the argument).  The failure
      didn't show up during a -j1 build because it was picking up the non-SPL
      version of u-boot.lst.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      a6d0f62a
  11. Oct 26, 2012
  12. Oct 22, 2012
    • Marek Vasut's avatar
      common: Discard the __u_boot_cmd section · 8b493a52
      Marek Vasut authored
      
      The command declaration now uses the new LG-array method to generate
      list of commands. Thus the __u_boot_cmd section is now superseded and
      redundant and therefore can be removed. Also, remove externed symbols
      associated with this section from include/command.h .
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      8b493a52
    • Marek Vasut's avatar
      common: Add .u_boot_list into all linker files · 55675142
      Marek Vasut authored
      
      Add section for the linker-generated lists into all possible linker
      files, so that everyone can easily use these lists. This is mostly
      a mechanical adjustment.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      55675142
    • Marek Vasut's avatar
      common: Add symbol handling for generic lists into Makefile · 97b24d3d
      Marek Vasut authored
      
      This patch adds essential components for generation of the contents of
      the linker section that is used by the linker-generated array. All of
      the contents is held in a separate file, u-boot.lst, which is generated
      at runtime just before U-Boot is linked.
      
      The purpose of this code is to especially generate the appropriate
      boundary symbols around each subsection in the section carrying the
      linker-generated arrays. Obviously, the interim linker code for actual
      placement of the variables into the section is generated too. The
      generated file, u-boot.lst, is included into u-boot.lds via the linker
      INCLUDE directive in u-boot.lds .
      
      Adjustments are made in the Makefile and spl/Makefile so that the
      u-boot.lds and u-boot-spl.lds depend on their respective .lst files.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      Tested-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      97b24d3d
  13. Sep 18, 2012
  14. Sep 03, 2012
  15. Aug 23, 2012
  16. Aug 22, 2012
  17. Feb 12, 2012
  18. Jan 26, 2012
    • Scott Wood's avatar
      nand_spl: store ecc data on the stack · 25efd99d
      Scott Wood authored
      
      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: default avatarStefano 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: default avatarScott 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: default avatarScott Wood <scottwood@freescale.com>
      25efd99d
  19. Dec 07, 2011
Loading