1. 29 6月, 2010 1 次提交
  2. 23 6月, 2010 1 次提交
    • W
      MPC5200: workaround data corruption for unaligned local bus accesses · 460c2ce3
      Wolfgang Denk 提交于
      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: NWolfgang Denk <wd@denx.de>
      Cc: Detlev Zundel <dzu@denx.de>
      460c2ce3
  3. 07 5月, 2010 1 次提交
    • S
      powerpc: Consolidate bootcount_{store|load} for PowerPC · e4a95d11
      Stefan Roese 提交于
      This patch consolidates bootcount_{store|load} for PowerPC by
      implementing a common version in arch/powerpc/lib/bootcount.c. This
      code is now used by all PowerPC variants that currently have these
      functions implemented.
      
      The functions now use the proper IO-accessor functions to read/write the
      values.
      
      This code also supports two different bootcount versions:
      
      a) Use 2 separate words (2 * 32bit) to store the bootcounter
      b) Use only 1 word (2 * 16bit) to store the bootcounter
      
      Version b) was already used by MPC5xxx.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Acked-by: NDetlev Zundel <dzu@denx.de>
      Acked-by: NKim Phillips <kim.phillips@freescale.com>
                for 83xx parts
      Cc: Michael Zaidman <michael.zaidman@gmail.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Anatolij Gustschin <agust@denx.de>
      e4a95d11
  4. 22 4月, 2010 1 次提交
  5. 13 4月, 2010 1 次提交
  6. 27 1月, 2010 1 次提交
  7. 25 11月, 2009 1 次提交
  8. 03 10月, 2009 1 次提交
  9. 21 5月, 2008 1 次提交
    • W
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk 提交于
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      53677ef1
  10. 27 2月, 2008 1 次提交
  11. 15 2月, 2008 1 次提交
  12. 07 2月, 2008 2 次提交
    • M
      [new uImage] Rename architecture specific bootm code files · 4a995ede
      Marian Balakowicz 提交于
      Implementation of the do_bootm_linux() and other bootm helper routines is
      architecture specific code. As such it resides in lib_<arch> directories
      in files named <arch>_linux.c
      
      This patch renames those files to a more clear and accurate
      lib_<arch>/bootm.c form.
      
      List of the renamed files:
         lib_arm/armlinux.c -> lib_arm/bootm.c
         lib_avr32/avr32_linux.c -> lib_avr32/bootm.c
         lib_blackfin/bf533_linux.c -> lib_blackfin/bootm.c
         lib_i386/i386_linux.c -> lib_i386/bootm.c
         lib_m68k/m68k_linux.c -> lib_m68k/bootm.c
         lib_microblaze/microblaze_linux.c -> lib_microblaze/bootm.c
         lib_mips/mips_linux.c -> lib_mips/bootm.c
         lib_nios/nios_linux.c -> lib_nios/bootm.c
         lib_nios2/nios_linux.c -> lib_nios2/bootm.c
         lib_ppc/ppc_linux.c -> lib_ppc/bootm.c
         lib_sh/sh_linux.c -> lib_sh/bootm.c
      Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
      4a995ede
    • M
      [new uImage] Move PPC do_bootm_linux() to lib_ppc/ppc_linux.c · 5d3cc55e
      Marian Balakowicz 提交于
      PPC implementation of do_bootm_linux() routine is moved to
      a dedicated file lib_ppc/ppc_linux.c
      Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
      5d3cc55e
  13. 09 10月, 2006 1 次提交
  14. 02 9月, 2006 1 次提交
    • M
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz 提交于
      Modifications are based on the linux kernel approach and
      support two use cases:
      
        1) Add O= to the make command line
        'make O=/tmp/build all'
      
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
        'make'
      
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      './MAKEALL'
      
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
      f9328639
  15. 07 12月, 2003 1 次提交
    • W
      * Patch by Gleb Natapov, 19 Sep 2003: · a8c7c708
      wdenk 提交于
        Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c
      
      * Patch by Anders Larsen, 17 Sep 2003:
        Bring ARM memory layout in sync with the documentation:
        stack and malloc-heap are now located _below_ the U-Boot code
      a8c7c708
  16. 14 8月, 2002 1 次提交
  17. 09 3月, 2002 1 次提交
  18. 11 9月, 2001 1 次提交
  19. 29 4月, 2001 1 次提交
  20. 14 12月, 2000 1 次提交
  21. 10 7月, 2000 1 次提交