Skip to content
Snippets Groups Projects
  1. May 13, 2011
    • Stefan Roese's avatar
      nand_spl: nand_boot.c: Remove CONFIG_SYS_NAND_READ_DELAY · a9c847cb
      Stefan Roese authored
      
      There are multiple reasons why this define should be removed:
      
      First it saves some space and therefore fixes a problem we have on
      the canyonlands_nand and glacier_nand targets right now.
      
      Second, the define was hackish and would most likely not work on all
      board using nand_boot.c. Boards not providing a real dev_ready()
      function should implement a board specific function instead.
      
      I checked and it seems, that all boards using nand_boot.c right now
      already implement a board specific dev_ready() function. So this
      patch should not break any boards and will result in smaller
      NAND_SPL images.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Sughosh Ganu <urwithsughosh@gmail.com>
      Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
      Tested-by: default avatarSughosh Ganu <urwithsughosh@gmail.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      a9c847cb
    • Stefan Roese's avatar
      nand_spl: nand_boot.c: Init nand_chip.options to 0 · a89a9901
      Stefan Roese authored
      
      Patch 65a9db7b [nand_spl: Fix large page nand_command()] broke
      nand booting on canyonlands. "options" has to be initialized to
      0. If not, boards might have the NAND_BUSWIDTH_16 bit set,
      resulting in wrong offset calculation.
      
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Alex Waterman <awaterman@dawning.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      a89a9901
    • Alex Waterman's avatar
      Decreases code size of the nand_spl · 83709783
      Alex Waterman authored
      
      The canyonland boards nand_spl size is just under the maximum 4KByte size. This
      patch decreases the size of the nand_spl to make a previous commit - commit
      65a9db7b - fit in the nand_spl.
      
      Signed-off-by: default avatarAlex Waterman <awaterman@dawning.com>
      Acked-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      83709783
    • Wolfgang Denk's avatar
      Revert "Fix building tools alone with host compiler" · 91081e01
      Wolfgang Denk authored
      This reverts commit bbc6353c.
      It breaks building on many systems:
      ...
      .../common/env_embedded.c:28:20: fatal error: config.h: No such file or directory
      compilation terminated.
      .../common/image.c:27:20: fatal error: common.h: No such file or directory
      compilation terminated.
      .../lib/crc32.c:12:20: fatal error: common.h: No such file or directory
      compilation terminated.
      .../lib/md5.c:28:22: fatal error: compiler.h: No such file or directory
      compilation terminated.
      .../lib/sha1.c:33:20: fatal error: common.h: No such file or directory
      compilation terminated.
      91081e01
  2. May 12, 2011
Loading