Skip to content
Snippets Groups Projects
  1. Apr 02, 2011
  2. Oct 26, 2010
    • Wolfgang Denk's avatar
      Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value · 25ddd1fb
      Wolfgang Denk authored
      
      CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
      being able to use "sizeof(struct global_data)" in assembler files.
      Recent experience has shown that manual synchronization is not
      reliable enough.  This patch renames CONFIG_SYS_GBL_DATA_SIZE into
      GENERATED_GBL_DATA_SIZE which gets automatically generated by the
      asm-offsets tool.  In the result, all definitions of this value can be
      deleted from the board config files.  We have to make sure that all
      files that reference such data include the new <asm-offsets.h> file.
      
      No other changes have been done yet, but it is obvious that similar
      changes / simplifications can be done for other, related macro
      definitions as well.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarKumar Gala <galak@kernel.crashing.org>
      25ddd1fb
  3. Apr 13, 2010
  4. Dec 10, 2008
  5. Oct 18, 2008
  6. Jun 05, 2008
  7. May 20, 2008
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      
      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: default avatarWolfgang Denk <wd@denx.de>
      53677ef1
  8. May 05, 2008
  9. Apr 18, 2008
  10. Mar 25, 2008
    • Shinya Kuribayashi's avatar
      [MIPS] Cleanup CP0 Status initialization · decaba6f
      Shinya Kuribayashi authored
      
      Add setup_c0_status from Linux. For the moment we disable interrupts, set
      CU0, mark the kernel mode, and clear ERL and EXL. This is good enough for
      reset-time configuration and will work well across most processors.
      
      Signed-off-by: default avatarShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
      decaba6f
    • Shinya Kuribayashi's avatar
      [MIPS] Initialize CP0 Cause before setting up CP0 Status register · d43d43ef
      Shinya Kuribayashi authored
      
      Without this change, we'll be suffering from deffered WATCH exception
      once Status.EXL is cleared. Make sure Cause.WP is cleared.
      
      Signed-off-by: default avatarShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
      d43d43ef
    • Shinya Kuribayashi's avatar
      [MIPS] INCA-IP: Move watchdog init code from start.S to lowlevel_init() · 26138623
      Shinya Kuribayashi authored
      
      Move things to appropriate place.
      
      Signed-off-by: default avatarShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
      26138623
    • Shinya Kuribayashi's avatar
      [MIPS] Request for the 'mips_cache_lock()' removal · e1390801
      Shinya Kuribayashi authored
      
      The initial intension of having mips_cache_lock() was to use the cache
      as memory for temporary stack use so that a C environment can be set up
      as early as possible.
      
      But now mips_cache_lock() follow lowlevel_init(). We've already have the
      real memory initilaized at this point, therefore we could/should use it.
      No reason to lock at all.
      
      Other problems:
      
      Cache locking is not consistent across MIPS implementaions. Some imple-
      mentations don't support locking at all. The style of locking varies -
      some support per line locking, others per way, etc. Some parts use bits
      in status registers instead of cache ops. Current mips_cache_lock() is
      not necessarily general-purpose.
      
      And this is worthy of special mention; once U-Boot/MIPS locks the lines,
      they are never get unlocked, so the code relies on whatever gets loaded
      after U-Boot to re-initialize the cache and clear the locks. We're sup-
      posed to have CFG_INIT_RAM_LOCK and unlock_ram_in_cache() implemented,
      but leave the situation as it is for a long time.
      
      For these reasons, I proposed the removal of mips_cache_lock() from the
      global start-up code.
      
      This patch adds CFG_INIT_RAM_LOCK_MIPS to make existing users aware that
      *things have changed*. If he wants the same behavior as before, he needs
      to have CFG_INIT_RAM_LOCK_MIPS in his config file.
      
      If we don't have any regression report through several releases, then
      we'll remove codes entirely.
      
      Signed-off-by: default avatarShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
      Acked-by: default avatarAndrew Dyer <amdyer@gmail.com>
      e1390801
  11. Nov 17, 2007
  12. Oct 21, 2007
    • Shinya Kuribayashi's avatar
      [MIPS] Fix $gp usage · 22069215
      Shinya Kuribayashi authored
      
      Now we load $gp with _GLOBAL_OFFSET_TABLE_, but this is incorrect use.
      As a general principle, we should use _gp for $gp.
      
      Thanks to linker script's help we fortunately have _gp which equals to
      _GLOBAL_OFFSET_TABLE_. But once _gp gets out of alignment, we will not
      be able to access to GOT entires, global variables and procedure entry
      points. The right thing to do is to use _gp.
      
      This patch also introduce a new symbol `.gpword _GLOBAL_OFFSET_TABLE_'
      which holds the offset from _gp. When updating GOT entries, we use this
      offset and _gp to calculate the final _GLOBAL_OFFSET_TABLE_.
      
      This patch is originally submitted by Vlad Lungu <vlad@comsys.ro>, then
      I made some change to leave over num_got_entries.
      
      Signed-off-by: default avatarShinya Kuribayashi <shinya.kuribayashi@necel.com>
      Cc: Vlad Lungu <vlad@comsys.ro>
      22069215
  13. Dec 01, 2005
  14. Apr 02, 2005
  15. Feb 07, 2004
    • Wolfgang Denk's avatar
      * Patch by liang a lei, 9 Jan 2004: · f4863a7a
      Wolfgang Denk authored
        Fix Intel 28F128J3 ID in include/flash.h
      
      * Patch by Masami Komiya, 09 Jan 2004:
        add support for TB0229 board (NEC VR4131 MIPS processor)
      
      * Patch by Leon Kukovec, 12 Dec 2003:
        changed extern __inline__ into static __inline__ in
        include/linux/byteorder/swab.h
      f4863a7a
  16. Jul 24, 2003
  17. Jun 27, 2003
    • Wolfgang Denk's avatar
      * Code cleanup: · 8bde7f77
      Wolfgang Denk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  18. May 30, 2003
  19. Apr 05, 2003
    • Wolfgang Denk's avatar
      * Patch by Arun Dharankar, 4 Apr 2003: · 3e38691e
      Wolfgang Denk authored
        Add IDMA example code (tested on 8260 only)
      
      * Add support for Purple Board (MIPS64 5Kc)
      
      * Add support for MIPS64 5Kc CPUs
      
      * Fix missing setting of "loadaddr" and "bootfile" on ARM and MIPS
      
      * Patch by Denis Peter, 04 Apr 2003:
        - update MIP405-4 board
      
      * Patches by Denis Peter, 03 April 2003:
        - fix PCI IRQs on MPL boards
        - fix two more un-relocated pointer problems
      
      * Fix behaviour of "run" command:
        - print error message iv variable does not exist
        - terminate processing of arguments in case of error
      
      * Patches by Peter Figuli, 10 Mar 2003
        - Add support for BTUART on PXA platform
        - Add support for WEP EP250 (PXA) board
      
      * Fix flash problems on INCA-IP; add tool to allow bruning images  to
        flash using a BDI2000
      
      * Implement fix for I2C Edge Conditions problem for all boards that
        use the bit-banging driver (common/soft_i2c.c)
      
      * Add patches by Robert Schwebel, 31 Mar 2003:
        - csb226 board: bring in sync with innokom/memsetup.S
        - csb226 board: fix MDREFR handling
        - misc doc fixes / extensions
        - innokom board: cleanup, MDREFR fix in memsetup.S, config update
        - add BOOT_PROGRESS to armlinux.c
      3e38691e
  20. Mar 27, 2003
Loading