Skip to content
Snippets Groups Projects
  1. Jan 25, 2016
  2. Jun 05, 2014
    • Heiko Schocher's avatar
      bootm: make use of legacy image format configurable · 21d29f7f
      Heiko Schocher authored
      
      make the use of legacy image format configurable through
      the config define CONFIG_IMAGE_FORMAT_LEGACY.
      
      When relying on signed FIT images with required signature check
      the legacy image format should be disabled. Therefore introduce
      this new define and enable legacy image format if CONFIG_FIT_SIGNATURE
      is not set. If CONFIG_FIT_SIGNATURE is set disable per default
      the legacy image format.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Lars Steubesand <lars.steubesand@philips.com>
      Cc: Mike Pearce <mike@kaew.be>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Tom Rini <trini@ti.com>
      Cc: Michal Simek <monstr@monstr.eu>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      21d29f7f
  3. Feb 21, 2014
  4. Jul 24, 2013
  5. Apr 01, 2013
    • York Sun's avatar
      Consolidate bool type · 472d5460
      York Sun authored
      
      '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: default avatarYork Sun <yorksun@freescale.com>
      472d5460
  6. Mar 06, 2012
  7. Nov 16, 2011
    • Wolfgang Denk's avatar
      common/cmd_fdc.c: Fix GCC 4.6 build warnings · 4ec6e4a8
      Wolfgang Denk authored
      
      Fix:
      cmd_fdc.c: In function 'fdc_read_data':
      cmd_fdc.c:435:6: warning: variable 'flags' set but not used
      [-Wunused-but-set-variable]
      cmd_fdc.c:432:16: warning: variable 'pcn' set but not used
      [-Wunused-but-set-variable]
      cmd_fdc.c:431:20: warning: variable 'lastblk' set but not used
      [-Wunused-but-set-variable]
      
      Note: no attempts were made to otherwise cleanup the code.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      4ec6e4a8
  8. Jul 25, 2011
  9. Jan 11, 2011
  10. Nov 28, 2010
  11. Jul 24, 2010
  12. Jul 04, 2010
    • 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 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: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      54841ab5
  13. Jun 23, 2010
    • Wolfgang Denk's avatar
      Remove AmigaOneG3SE board · 953b7e62
      Wolfgang Denk authored
      
      The AmigaOneG3SE board has been orphaned or a very long time, and
      broken for more than 12 releases resp. more than 3 years.  As nobody
      seems to be interested any more in this stuff we may as well ged rid
      of it, especially as it clutters many areas of the code so it is a
      continuous pain for all kinds of ongoing work.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      953b7e62
  14. Jun 12, 2009
    • 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: default avatarWolfgang Denk <wd@denx.de>
      a89c33db
  15. Jan 28, 2009
  16. Oct 18, 2008
  17. Sep 10, 2008
  18. Jul 14, 2008
  19. Jun 30, 2008
  20. 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
  21. Mar 12, 2008
  22. Feb 29, 2008
  23. Feb 25, 2008
    • Marian Balakowicz's avatar
      [new uImage] Add dual format uImage support framework · d5934ad7
      Marian Balakowicz authored
      
      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: default avatarMarian Balakowicz <m8@semihalf.com>
      d5934ad7
  24. Feb 21, 2008
  25. Feb 07, 2008
  26. Jul 08, 2007
  27. Jul 03, 2007
  28. Mar 12, 2006
  29. Jul 01, 2003
  30. 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
  31. Nov 19, 2002
    • Wolfgang Denk's avatar
      * Patch by Thomas Frieden, 13 Nov 2002: · c7de829c
      Wolfgang Denk authored
        Add code for AmigaOne board
        (preliminary merge to U-Boot, still WIP)
      
      * Patch by Jon Diekema, 12 Nov 2002:
        - Adding URL for IEEE OUI lookup
        - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED
          being defined.
        - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and
          root-on-nfs macros are designed to switch how the default boot
          method gets defined.
      c7de829c
  32. Nov 18, 2002
  33. Nov 10, 2002
    • Wolfgang Denk's avatar
      * Vince Husovsky, 7 Nov 2002: · 7f6c2cbc
      Wolfgang Denk authored
        Add "-n" to linker options to get rid of "Not enough room for
        program headers" problem
      
      * Patch by David Mller, 05 Nov 2002
        Rename CONFIG_PLL_INPUT_FREQ to CONFIG_SYS_CLK_FREQ
        so we can use an already existing name
      
      * Patch by Pierre Aubert, 05 Nov 2002
        Hardware related improvements in FDC boot code
      
      * Patch by Holger Schurig, 5 Nov 2002:
        Make the PXA really change it's frequency
      
      * Patch by Pierre Aubert, 05 Nov 2002
        Add support for slave serial Spartan 2 FPGAs
      
      * Fix uninitialized memory (MAC address) in 8xx SCC/FEC ethernet
        drivers
      7f6c2cbc
  34. Aug 27, 2002
Loading