1. 14 11月, 2012 1 次提交
    • S
      nand_spl: fix u-boot.lst breakage · a6d0f62a
      Scott Wood 提交于
      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: NScott Wood <scottwood@freescale.com>
      a6d0f62a
  2. 22 10月, 2012 3 次提交
    • M
      common: Discard the __u_boot_cmd section · 8b493a52
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      8b493a52
    • M
      common: Add .u_boot_list into all linker files · 55675142
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      55675142
    • M
      common: Add symbol handling for generic lists into Makefile · 97b24d3d
      Marek Vasut 提交于
      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: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Mike Frysinger <vapier@gentoo.org>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      Tested-by: NJoe Hershberger <joe.hershberger@ni.com>
      97b24d3d
  3. 03 9月, 2012 1 次提交
  4. 23 8月, 2012 5 次提交
  5. 12 2月, 2012 1 次提交
  6. 07 12月, 2011 5 次提交
  7. 01 10月, 2011 1 次提交
  8. 30 9月, 2011 2 次提交
  9. 10 9月, 2011 1 次提交
  10. 05 8月, 2011 1 次提交
  11. 26 7月, 2011 1 次提交
  12. 12 7月, 2011 1 次提交
  13. 26 5月, 2011 1 次提交
  14. 28 4月, 2011 3 次提交
  15. 16 4月, 2011 1 次提交
  16. 01 4月, 2011 1 次提交
  17. 28 3月, 2011 2 次提交
  18. 23 3月, 2011 1 次提交
  19. 21 2月, 2011 1 次提交
  20. 14 1月, 2011 1 次提交
  21. 18 12月, 2010 1 次提交
  22. 17 12月, 2010 2 次提交
    • S
      powerpc/nand spl: link libgcc · 97a85b22
      Scott Wood 提交于
      Recent GCC (4.4+) performs out-of-line epilogues in some cases, when
      optimizing for size.  It causes a link error for _restgpr_30_x (and similar)
      if libgcc is not linked.
      
      It actually increases size with very small binaries, due to the fixed size
      of the out-of-line code, and not having any functions that actually need to
      restore more than 2 or 3 registers.  But I don't see a way to turn it off,
      other than asking GCC to optimize for speed -- which may also increase
      size for some boards.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Acked-by: NKim Phillips <kim.phillips@freescale.com>
      Acked-by: NWolfgang Denk <wd@denx.de>
      97a85b22
    • S
      powerpc/nand spl: link libgcc · 767589a7
      Scott Wood 提交于
      Recent GCC (4.4+) performs out-of-line epilogues in some cases, when
      optimizing for size.  It causes a link error for _restgpr_30_x (and similar)
      if libgcc is not linked.
      
      It actually increases size with very small binaries, due to the fixed size
      of the out-of-line code, and not having any functions that actually need to
      restore more than 2 or 3 registers.  But I don't see a way to turn it off,
      other than asking GCC to optimize for speed -- which may also increase
      size for some boards.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Acked-by: NKim Phillips <kim.phillips@freescale.com>
      Acked-by: NWolfgang Denk <wd@denx.de>
      767589a7
  23. 09 12月, 2010 3 次提交
    • S
      Davinci 8xx: Move common functions to share code · a2f2eb76
      Stefano Babic 提交于
      As more Davinci 8xx board can be added, move common code
      to be shared between boards.
      
       * rebased ontop of Sugosh's patches
       * moving the HAWKBOARD_KICK{0,1}_UNLOCK defines to
         arch/arm/include/asm/arch-davinci/davinci_misc.h from to
         arch/arm/include/asm/arch-davinci/da8xx_common.h
       * don't define dram functions in PRELOADER
       * move sync_env_enetaddr into existing EMAC ifdef
       * use misc.c in hawkboard nand_spl
      Signed-off-by: NBen Gardiner <bengardiner@nanometrics.ca>
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
      a2f2eb76
    • S
      Add board support for hawkboard · dfddb5e6
      Sughosh Ganu 提交于
      The patch adds basic board support for TI's OMAP-L138 based
      Hawkboard. This board is pretty similar to the da850 EVM. Support for
      nand and network access is added in this version.
      
      The following bootup procedure is used.
      
      At reset, the Rom Boot Loader(RBL), initialises the ddr and the nand
      controllers and copies the second stage bootloader(nand_spl) to
      RAM. The secondary bootloader then copies u-boot from a predefined
      location in the nand flash to the RAM, and passes control to the
      u-boot image.
      
      Three config options are supported
      * hawkboard_config - Used to create the u-boot.bin. Tftp the
       u-boot.bin image to the RAM from u-boot, and flash to the nand flash
       at address 0xe0000.
      
      * hawkboard_nand_config - Used to generate the secondary
       bootloader(nand_spl) image. This creates an elf file u-boot-spl
       under nand_spl/. Create an AIS signed image using this file, and
       flash it to the nand flash at address 0x20000. The ais file should
       fit in one block.
      
      * hawkboard_uart_config - This is same as the first image, but with
       the TEXT_BASE as expected by the RBL(0xc1080000). Create the AIS
      Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com>
      Signed-off-by: NBen Gardiner <bengardiner@nanometrics.ca>
      Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
      dfddb5e6
    • S
      Remove board_init_f function from nand_boot.c · 3258dcae
      Sughosh Ganu 提交于
      Remove the board_init_f function from nand_spl/nand_boot.c. This
       function is to be defined by all boards using the nand_spl
       functionality in their individual board directory.
      
       Currently this function was being used by the smdk6400 board. Added
       the board specific function definition.
      Signed-off-by: NSughosh Ganu <urwithsughosh@gmail.com>
      Acked-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
      3258dcae