Skip to content
Snippets Groups Projects
  1. Oct 03, 2011
  2. Sep 30, 2011
  3. Sep 10, 2011
  4. Aug 04, 2011
  5. Jul 26, 2011
  6. Jul 11, 2011
  7. Jul 01, 2011
    • Alex Waterman's avatar
      NAND: Add 16bit NAND support for the NDFC · eced4626
      Alex Waterman authored
      
      This patch adds support for 16 bit NAND devices attached to the
      NDFC on ppc4xx processors. Two config entries were added:
      
        CONFIG_SYS_NDFC_16        - Setting this tells the NDFC that a
      			      16 bit device is attached.
        CONFIG_SYS_NDFC_EBC0_CFG  - This is for the External Bus
      			      Controller configuration register.
      
      Also, a new ndfc_read_byte() function was added which does not
      first convert the data to little endian.
      
      The NAND SPL was also modified to do 16bit bad block testing
      when a 16 bit chip is being used.
      
      Signed-off-by: default avatarAlex Waterman <awaterman@dawning.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      eced4626
  8. May 26, 2011
  9. May 16, 2011
  10. May 13, 2011
  11. Apr 27, 2011
  12. Apr 15, 2011
  13. Mar 31, 2011
  14. Mar 27, 2011
  15. Mar 22, 2011
  16. Feb 21, 2011
  17. Jan 14, 2011
  18. Dec 17, 2010
  19. Dec 16, 2010
    • Scott Wood's avatar
      powerpc/nand spl: link libgcc · 97a85b22
      Scott Wood authored
      
      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: default avatarScott Wood <scottwood@freescale.com>
      Acked-by: default avatarKim Phillips <kim.phillips@freescale.com>
      Acked-by: default avatarWolfgang Denk <wd@denx.de>
      97a85b22
    • Scott Wood's avatar
      powerpc/nand spl: link libgcc · 767589a7
      Scott Wood authored
      
      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: default avatarScott Wood <scottwood@freescale.com>
      Acked-by: default avatarKim Phillips <kim.phillips@freescale.com>
      Acked-by: default avatarWolfgang Denk <wd@denx.de>
      767589a7
  20. Dec 09, 2010
    • Stefano Babic's avatar
      Davinci 8xx: Move common functions to share code · a2f2eb76
      Stefano Babic authored
      
      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: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
      a2f2eb76
    • Sughosh Ganu's avatar
      Add board support for hawkboard · dfddb5e6
      Sughosh Ganu authored
      
      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: default avatarSughosh Ganu <urwithsughosh@gmail.com>
      Signed-off-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
      dfddb5e6
    • Sughosh Ganu's avatar
      Remove board_init_f function from nand_boot.c · 3258dcae
      Sughosh Ganu authored
      
      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: default avatarSughosh Ganu <urwithsughosh@gmail.com>
      Acked-by: default avatarScott Wood <scottwood@freescale.com>
      Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
      3258dcae
  21. Nov 30, 2010
    • Stefano Babic's avatar
      Davinci 8xx: Move common functions to share code · 6d1c649f
      Stefano Babic authored
      
      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: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
      6d1c649f
    • Sughosh Ganu's avatar
      Add board support for hawkboard · 48571ff0
      Sughosh Ganu authored
      
      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: default avatarSughosh Ganu <urwithsughosh@gmail.com>
      Signed-off-by: default avatarBen Gardiner <bengardiner@nanometrics.ca>
      Signed-off-by: default avatarSandeep Paulraj <s-paulraj@ti.com>
      48571ff0
  22. Nov 29, 2010
  23. Nov 27, 2010
    • Wolfgang Denk's avatar
      83xx: Cleanup for partial linking and --gc-sections · ff2311ab
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Haiying Wang <r54964@freescale.com>
      ff2311ab
    • Wolfgang Denk's avatar
      ppc4xx: Cleanup for partial linking and --gc-sections · ee8028b7
      Wolfgang Denk authored
      
      This commit adapts 4xx boards for partial linking with --gc-sections.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Tirumala Marri <tmarri@apm.com>
      Cc: David Updegraff <dave@cray.com>
      Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: Larry Johnson <lrj@acm.org>
      Cc: Peter De Schrijver <p2@mind.be>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      Cc: Daniel Poirot <dan.poirot@windriver.com>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      ee8028b7
    • Scott Wood's avatar
      83xx: Fix NAND_SPL link address · f1c574d4
      Scott Wood authored
      
      Apply the same fix for 83xx as was done for 85xx in commit
      96196a1f.
      
      Without this, NAND SPLs are built with the text base intended for the main
      image, resulting in a broken, very large u-boot-nand.bin.
      
      The block of defines for NAND boot is moved closer to where
      CONFIG_SYS_TEXT_BASE is defined.  We can't directly use
      CONFIG_SYS_NAND_U_BOOT_DST in the definition of CONFIG_SYS_TEXT_BASE because
      autoconf.mk will include the literal text "CONFIG_SYS_NAND_U_BOOT_DST",
      but at least keep them close and point out that they're supposed to be
      the same.
      
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      f1c574d4
Loading