1. 19 Nov, 2012 1 commit
  2. 24 Sep, 2012 1 commit
  3. 21 Sep, 2012 1 commit
  4. 05 Sep, 2012 4 commits
  5. 10 Jul, 2012 1 commit
  6. 25 May, 2012 4 commits
  7. 06 Dec, 2011 1 commit
  8. 15 Nov, 2011 3 commits
  9. 01 Oct, 2011 1 commit
    • Marek Vasut's avatar
      GCC4.6: Squash warnings in lcd.c · be547c6d
      Marek Vasut authored
      
      
      lcd.c: In function ‘lcd_drawchars’:
      lcd.c:214:9: warning: variable ‘off’ set but not used
      [-Wunused-but-set-variable]
      lcd.c: In function ‘lcd_display_bitmap’:
      lcd.c:617:16: warning: variable ‘compression’ set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
      be547c6d
  10. 26 Jan, 2011 1 commit
  11. 14 Jul, 2010 1 commit
  12. 04 Jul, 2010 1 commit
    • Wolfgang Denk's avatar
      Make sure that argv[] argument pointers are not modified. · 54841ab5
      Wolfgang Denk authored
      The hush shell dynamically allocates (and re-allocates) memory for the
      argument strings in the "char *argv[]" argument vector passed to
      commands.  Any code that modifies these pointers will cause serious
      corruption of the malloc data structures and crash U-Boot, so make
      sure the compiler can check that no such modifications are being done
      by changing the code into "char * const argv[]".
      
      This modification is the result of debugging a strange crash caused
      after adding a new command, which used the following argument
      processing code which has been working perfectly fine in all Unix
      systems since version 6 - but not so in U-Boot:
      
      int main (int argc, char **argv)
      {
      	while (--argc > 0 && **++argv == '-') {
      /* ====> */	while (*++*argv) {
      			switch (**argv) {
      			case 'd':
      				debug++;
      				break;
      			...
      			default:
      				usage ();
      			}
      		}
      	}
      	...
      }
      
      The line marked "====>" will corrupt the malloc data structures and
      usually cause U-Boot to crash when the n...
      54841ab5
  13. 24 Mar, 2010 1 commit
  14. 27 Jan, 2010 1 commit
  15. 18 Oct, 2009 1 commit
  16. 25 Jul, 2009 1 commit
    • Alessandro Rubini's avatar
      video: move extern declarations from C to headers · 6111722a
      Alessandro Rubini authored
      
      
      This moves some extern declaration from lcd.c to lcd.h, removing
      unneeded ifdef around a pair of them.  Additionally, since
      gunzip_bmp() was declared static in cmd_bmp.c but extern in lcd.c, I
      removed the static.  The extra "#include <lcd.h>" in cmd_bmp.c is
      added to ensure the header is consistent with the source.
      
      This has been compile-tested on both ARM (at91 boards) and PowerPC
      (HH405_config, TQM823L_LCD_config, mcc200_config), to test all use
      combinations.
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.it>
      [agust@denx.de: removed gunzip_bmp() fixes as commit c01171ea
      
       did it]
      Signed-off-by: Anatolij Gustschin's avatarAnatolij Gustschin <agust@denx.de>
      6111722a
  17. 17 Jul, 2009 2 commits
  18. 12 Jun, 2009 1 commit
    • Wolfgang Denk's avatar
      General help message cleanup · a89c33db
      Wolfgang Denk authored
      
      
      Many of the help messages were not really helpful; for example, many
      commands that take no arguments would not print a correct synopsis
      line, but "No additional help available." which is not exactly wrong,
      but not helpful either.
      
      Commit ``Make "usage" messages more helpful.'' changed this
      partially. But it also became clear that lots of "Usage" and "Help"
      messages (fields "usage" and "help" in struct cmd_tbl_s respective)
      were actually redundant.
      
      This patch cleans this up - for example:
      
      Before:
      	=> help dtt
      	dtt - Digital Thermometer and Thermostat
      
      	Usage:
      	dtt         - Read temperature from digital thermometer and thermostat.
      
      After:
      	=> help dtt
      	dtt - Read temperature from Digital Thermometer and Thermostat
      
      	Usage:
      	dtt
      Signed-off-by: Wolfgang Denk's avatarWolfgang Denk <wd@denx.de>
      a89c33db
  19. 25 Feb, 2009 1 commit
  20. 24 Feb, 2009 2 commits
  21. 21 Feb, 2009 1 commit
  22. 28 Jan, 2009 1 commit
    • Peter Tyser's avatar
      Command usage cleanup · 2fb2604d
      Peter Tyser authored
      
      
      Remove command name from all command "usage" fields and update
      common/command.c to display "name - usage" instead of
      just "usage". Also remove newlines from command usage fields.
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
      2fb2604d
  23. 06 Dec, 2008 1 commit
  24. 27 Oct, 2008 1 commit
  25. 25 Oct, 2008 2 commits
  26. 18 Oct, 2008 1 commit
  27. 12 Aug, 2008 1 commit
  28. 08 Aug, 2008 1 commit
  29. 06 Aug, 2008 1 commit