1. 25 10月, 2018 1 次提交
  2. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  3. 25 1月, 2016 2 次提交
  4. 19 11月, 2015 1 次提交
  5. 21 4月, 2015 1 次提交
    • T
      mii: add read-modify-write option to mii command · a095f047
      Tim James 提交于
      When accessing PHY registers it is often desirable to only update
      selected bits, so it is necessary to first read the current value
      before writing back an modified value with the relevant bits
      updated.
      
      To simplify this and to allow such operations to be incorporated
      into simple shell scripts propose adding a 'modify' option to the
      existing mii command, which takes a mask indicating the bits to
      be updated in addition to a data value containing the new bits,
      ie, <updated> = (<data> & <mask>) | (<current> & ~<mask>).
      Signed-off-by: NTim <tim.james@macltd.com>
      Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Tim <tim.james@macltd.com>
      a095f047
  6. 19 7月, 2014 1 次提交
  7. 23 11月, 2013 1 次提交
  8. 24 7月, 2013 1 次提交
  9. 07 3月, 2012 1 次提交
  10. 10 1月, 2011 1 次提交
  11. 29 11月, 2010 1 次提交
  12. 10 8月, 2010 1 次提交
  13. 25 7月, 2010 1 次提交
  14. 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
  15. 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
  16. 28 1月, 2009 2 次提交
  17. 14 4月, 2008 1 次提交
  18. 30 3月, 2008 2 次提交
  19. 10 1月, 2008 2 次提交
  20. 21 11月, 2007 1 次提交
  21. 06 11月, 2007 1 次提交
  22. 11 7月, 2007 1 次提交
  23. 09 7月, 2007 1 次提交
  24. 04 7月, 2007 1 次提交
  25. 19 6月, 2007 1 次提交
    • T
      Added M5329AFEE and M5329BFEE Platforms · 8e585f02
      TsiChung Liew 提交于
      Added board/freescale/m5329evb, cpu/mcf532x, drivers/net,
      drivers/serial,  immap_5329.h, m5329.h, mcfrtc.h,
      include/configs/M5329EVB.h, lib_m68k/interrupts.c, and
      rtc/mcfrtc.c
      
      Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c,
      common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h,
      include/asm-m68k/io.h, include/asm-m68k/mcftimer.h,
      include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h,
      include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c,
      lib_m68k/time.c, net/eth.c and rtc/Makefile
      Signed-off-by: NTsiChung Liew <Tsi-Chung.Liew@freescale.com>
      8e585f02
  26. 07 8月, 2006 1 次提交
  27. 21 7月, 2006 1 次提交
  28. 29 10月, 2005 1 次提交
  29. 12 10月, 2005 1 次提交
  30. 25 9月, 2005 1 次提交
  31. 06 8月, 2005 1 次提交
  32. 25 4月, 2004 1 次提交
    • W
      * Patch by John Kerl, 19 Apr 2004: · b9711de1
      wdenk 提交于
        Use U-boot's miiphy.h for PHY register names, rather than
        introducing a new header file.
      
      * Update pci_ids.h from linux-2.4.26
      
      * Patch by Masami Komiya, 19 Apr 2004:
        Fix problem cause by VLAN function on little endian architecture
        without VLAN environment
      b9711de1
  33. 24 4月, 2004 1 次提交
    • W
      * Modify KUP4X board configuration to use SL811 driver for USB memory · 5cf91d6b
      wdenk 提交于
        sticks (including FAT / VFAT filesystem support)
      
      * Add SL811 Host Controller Interface driver for USB
      
      * Add CFG_I2C_EEPROM_ADDR_OVERFLOW desription to README
      
      * Patch by Pantelis Antoniou, 19 Apr 2004:
        Allow to use shell style syntax (i. e. ${var} ) with standard parser.
        Minor patches for Intracom boards.
      
      * Patch by Christian Pell, 19 Apr 2004:
        cleanup support for CF/IDE on PCMCIA for PXA25X
      5cf91d6b
  34. 19 4月, 2004 2 次提交
    • W
      * Temporarily disabled John Kerl's extended MII command code because · e35745bb
      wdenk 提交于
        "miivals.h" is missing
      
      * Patches by Mark Jonas, 13 Apr 2004:
        - Remove CS0 chip select timing setting from cpu/mpc5xxx/start.S
        - Add sync instructions to IceCube SDRAM init code
        - Move SDRAM chip constants into seperate include files
        - Unify DDR and SDR initialization code
        - Unify all IceCube (Lite5xxx) target names
      e35745bb
    • W
      * Patch by John Kerl, 16 Apr 2004: · 2471111d
      wdenk 提交于
        Enable ranges in mii command, e.g. mii read 0-1f 0 or
        mii read 4-7 18-1a.  Also add mii dump subcommand for
        pretty-printing standard regs 0-5.
      
      * Patch by  Stephen Williams, 16 April 2004:
        fix typo in JSE.h; update MAINTAINERS
      2471111d
  35. 24 3月, 2004 1 次提交
    • W
      * Patches by Thomas Viehweger, 16 Mar 2004: · 4b9206ed
      wdenk 提交于
        - show PCI clock frequency on MPC8260 systems
        - add FCC_PSMR_RMII flag for HiP7 processors
        - in do_jffs2_fsload(), take load address from load_addr if not set
          explicit, update load_addr otherwise
        - replaced printf by putc/puts when no formatting is needed
          (smaller code size, faster execution)
      4b9206ed