Skip to content
Snippets Groups Projects
  1. Jun 28, 2010
  2. Jun 23, 2010
    • Wolfgang Denk's avatar
    • Wolfgang Denk's avatar
      Prepare v2010.06-rc3 · 482126e2
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      482126e2
    • Wolfgang Denk's avatar
      MPC5200: workaround data corruption for unaligned local bus accesses · 460c2ce3
      Wolfgang Denk authored
      
      The MPC5200 has a nasty problem that will cause silent data corruption
      when performing unaligned 16 or 32 byte accesses when reading from the
      local bus - typically this affects reading from flash. The problem can
      be easily shown:
      
      => md fc0c0000 10
      fc0c0000: 323e4337 01626f6f 74636d64 3d72756e    2>C7.bootcmd=run
      fc0c0010: 206e6574 5f6e6673 00626f6f 7464656c     net_nfs.bootdel
      fc0c0020: 61793d35 00626175 64726174 653d3131    ay=5.baudrate=11
      fc0c0030: 35323030 00707265 626f6f74 3d656368    5200.preboot=ech
      => md fc0c0001 10
      fc0c0001: 65636801 00000074 0000003d 00000020    ech....t...=...
      fc0c0011: 0000005f 00000000 00000074 00000061    ..._.......t...a
      fc0c0021: 00000000 00000064 00000065 00000035    .......d...e...5
      fc0c0031: 00000000 00000062 0000003d 0000006f    .......b...=...o
      => md.w fc0c0001 10
      fc0c0001: 0000 3701 0000 6f74 0000 643d 0000 6e20    ..7...ot..d=..n
      fc0c0011: 0000 745f 0000 7300 0000 6f74 0000 6c61    ..t_..s...ot..la
      
      This commit implements a workaround at least for the most blatant
      problem: using memcpy() from NOR flash. We rename the assembler
      routine into __memcpy() and provide a wrapper, which will use a
      byte-wise copy loop for unaligned source or target addresses when
      reading from NOR flash, and branch to the optimized __memcpy()
      in all other cases, thus minimizing the performance impact.
      
      Tested on lite5200b and TQM5200S.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Detlev Zundel <dzu@denx.de>
      460c2ce3
  3. Jun 22, 2010
  4. Jun 21, 2010
  5. Jun 20, 2010
    • Wolfgang Denk's avatar
      net/eth.c: eth_mac_skip() is only needed when CONFIG_NET_MULTI is set · 9c00b2f0
      Wolfgang Denk authored
      
      Move it inside the #ifdef CONFIG_NET_MULTI to avoid
      
      	eth.c:64: warning: 'eth_mac_skip' defined but not used
      
      messages from anumber of old, non-CONFIG_NET_MULTI boards.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      9c00b2f0
    • Wolfgang Denk's avatar
      include/compiler.h: remove redundant declaration of errno · 9312bba0
      Wolfgang Denk authored
      
      Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
      a "#include <errno.h>" and a "extern int errno;" to include/compiler.h
      which is causing build warnings for some systems, for example for the
      "netstar" board:
      
      	In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
      	include/compiler.h:28: warning: function declaration isn't a prototype
      
      The declaration of "errno" should be redundant, as <errno.h> is
      supposed to provide a correct declaration, so drop it.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      9312bba0
  6. Jun 18, 2010
    • Wolfgang Denk's avatar
      arch/arm/cpu/arm_cortexa8/omap3/cache.S: make build with older tools · cd040a49
      Wolfgang Denk authored
      
      The push / pop instructions used in this file are available only with
      more recent tool chains:
      
      cache.S: Assembler messages:
      cache.S:133: Error: bad instruction `push {r0,r1,r2,lr}'
      cache.S:160: Error: bad instruction `pop {r1,r2,r3,pc}'
      cache.S:164: Error: bad instruction `push {r0,r1,r2,lr}'
      cache.S:191: Error: bad instruction `pop {r1,r2,r3,pc}'
      
      Change push/pop into stmfd/ldmfd instructions to support older
      versions of binutils as well.
      
      I verified that the modified source code generates exactly the same
      binary code.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Sandeep Paulraj <s-paulraj@ti.com>
      Cc: Tom Rix <tom@bumblecow.com>
      cd040a49
  7. Jun 17, 2010
  8. Jun 14, 2010
  9. Jun 13, 2010
    • Wolfgang Denk's avatar
      Prepare v2010-rc2 · a9046b9e
      Wolfgang Denk authored
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      a9046b9e
    • Marek Vasut's avatar
      PXA: Align stack to 8 bytes · 3a96ad85
      Marek Vasut authored
      
      Part of this patch is by: Mikhail Kshevetskiy.
      
      Stack must be aligned to 8 bytes on PXA (possibly all armv5te) for LDRD/STRD
      instructions. In case LDRD/STRD is issued on an unaligned address, the behaviour
      is undefined.
      
      The issue was observed when working with the NAND code, which was rendered
      disfunctional. Also, the vsprintf() function had serious problems with printing
      64bit wide long longs. After aligning the stack, this wrong behaviour is no
      longer present.
      
      Tested on:
      	Marvell Littleton PXA310 board
      	Toradex Colibri PXA320 board
      	Aeronix Zipit Z2 PXA270 handheld
      	Voipac PXA270 board
      
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      3a96ad85
  10. Jun 10, 2010
  11. Jun 08, 2010
Loading