1. 02 5月, 2013 1 次提交
  2. 02 4月, 2013 1 次提交
    • Y
      Consolidate bool type · 472d5460
      York Sun 提交于
      'bool' is defined in random places. This patch consolidates them into a
      single header file include/linux/types.h, using stdbool.h introduced in C99.
      
      All other #define, typedef and enum are removed. They are all consistent with
      true = 1, false = 0.
      
      Replace FALSE, False with false. Replace TRUE, True with true.
      Skip *.py, *.php, lib/* files.
      Signed-off-by: NYork Sun <yorksun@freescale.com>
      472d5460
  3. 03 11月, 2012 4 次提交
  4. 26 9月, 2012 1 次提交
  5. 07 3月, 2012 1 次提交
  6. 26 7月, 2011 3 次提交
  7. 12 1月, 2011 1 次提交
  8. 29 11月, 2010 2 次提交
  9. 25 7月, 2010 1 次提交
  10. 05 7月, 2010 1 次提交
    • W
      Make sure that argv[] argument pointers are not modified. · 54841ab5
      Wolfgang Denk 提交于
      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 next command gets executed by
      the shell.  With the modification, the compiler will prevent this with
      an
      	error: increment of read-only location '*argv'
      
      N.B.: The code above can be trivially rewritten like this:
      
      	while (--argc > 0 && **++argv == '-') {
      		char *arg = *argv;
      		while (*++arg) {
      			switch (*arg) {
      			...
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      54841ab5
  11. 13 6月, 2009 1 次提交
    • W
      General help message cleanup · a89c33db
      Wolfgang Denk 提交于
      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: NWolfgang Denk <wd@denx.de>
      a89c33db
  12. 28 1月, 2009 2 次提交
  13. 19 10月, 2008 1 次提交
  14. 14 7月, 2008 1 次提交
  15. 01 7月, 2008 1 次提交
  16. 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
  17. 12 3月, 2008 1 次提交
  18. 29 2月, 2008 1 次提交
  19. 25 2月, 2008 1 次提交
    • M
      [new uImage] Add dual format uImage support framework · d5934ad7
      Marian Balakowicz 提交于
      This patch adds framework for dual format images. Format detection is added
      and the bootm controll flow is updated to include cases for new FIT format
      uImages.
      
      When the legacy (image_header based) format is detected appropriate
      legacy specific handling is invoked. For the new (FIT based) format uImages
      dual boot framework has a minial support, that will only print out a
      corresponding debug messages. Implementation of the FIT specific handling will
      be added in following patches.
      Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
      d5934ad7
  20. 22 2月, 2008 1 次提交
  21. 07 2月, 2008 1 次提交
  22. 21 11月, 2007 1 次提交
  23. 18 11月, 2007 1 次提交
  24. 09 7月, 2007 1 次提交
  25. 04 7月, 2007 1 次提交
  26. 13 4月, 2007 1 次提交
  27. 20 2月, 2007 2 次提交
  28. 23 8月, 2006 1 次提交
    • J
      Add AHCI support to u-boot · 4782ac80
      Jin Zhengxiong 提交于
      Add AHCI support in u-boot, enable the sata disk controllers which
      following the AHCI protocol.
      
      Signed-off-by:Jason Jin<jason.jin@freescale.com>
      4782ac80
  29. 13 10月, 2005 1 次提交
  30. 04 8月, 2005 1 次提交
  31. 04 3月, 2005 1 次提交
    • W
      * Fix get_partition_info() parameter error in all other calls · b05dcb58
      wdenk 提交于
        (common/cmd_ide.c, common/cmd_reiser.c, common/cmd_scsi.c).
      
      * Enable USB and IDE support for INKA4x0 board
      
      * Patch by Andrew Dyer, 28 February 2005:
        fix ext2load passing an incorrect pointer to get_partition_info()
        resulting in load failure for devices other than 0
      b05dcb58
  32. 05 2月, 2005 1 次提交