Skip to content
Snippets Groups Projects
  1. Dec 09, 2011
  2. Dec 08, 2011
  3. Dec 07, 2011
    • Anatolij Gustschin's avatar
      nand_spl/nand_boot.c: Fix build warning · 40a0682d
      Anatolij Gustschin authored
      
      Fix:
      nand_boot.c: In function 'nand_read_page':
      nand_boot.c:150:6: warning: variable 'stat' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      40a0682d
    • Kyle Moffett's avatar
      powerpc: Minimal private libgcc to build on Debian · 01baa056
      Kyle Moffett authored
      
      Standard Debian powerpc and powerpcspe systems only include hard-float
      libgcc in their native compilers, which causes scary build warnings when
      building U-Boot.
      
      Debian and other PowerPC-supporting distributions used to provide libgcc
      and other libraries in a "nof" (soft-float) form in the "multilib"
      packages.  As they were completely unused by the distribution and
      therefore tended to be very buggy it was decided to save some time on
      the part of the maintainers and build-servers by removing them.
      
      Admittedly, right now the linker warnings do not indicate any problems,
      as the included routines do not use any floating point at all.
      
      The concern is that if floating-point code were ever added it might
      cause hard-float code to be unexpectedly included in U-Boot without
      generating a hard error.  This would cause unexplained crashes or
      indeterminate results at runtime.
      
      The easiest way to resolve this is to borrow the routines that U-Boot
      needs from the Linux kernel, which has the same issue.
      
      Specifically, the routines are: _ashldi3(), _ashrdi3(), and _lshrdi3().
      They were borrowed from arch/powerpc/kernel/misc_32.S as of v2.6.38-rc5,
      commit 85e2efbb1db9a18d218006706d6e4fbeb0216213, and are GPLv2+.
      
      The Makefile framework was copied from the U-Boot ARM port.
      
      Signed-off-by: default avatarKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Andy Fleming <afleming@gmail.com>
      Cc: Kumar Gala <kumar.gala@freescale.com>
      Cc: Stefan Roese <sr@denx.de>
      01baa056
    • Anatolij Gustschin's avatar
      drivers/mtd/nand/nand_spl_load.c: Fix GCC 4.6 warning · b7fde587
      Anatolij Gustschin authored
      
      Fix:
      nand_spl_load.c: In function 'nand_boot':
      nand_spl_load.c:31:6: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      b7fde587
Loading