1. 22 7月, 2014 1 次提交
  2. 03 4月, 2014 1 次提交
    • P
      lib: uuid: code refactor for proper maintain between uuid bin and string · d718ded0
      Przemyslaw Marczak 提交于
      Changes in lib/uuid.c to:
      - uuid_str_to_bin()
      - uuid_bin_to_str()
      
      New parameter is added to specify input/output string format in listed functions
      This change allows easy recognize which UUID type is or should be stored in given
      string array. Binary data of UUID and GUID is always stored in big endian, only
      string representations are different as follows.
      
      String byte: 0                                  36
      String char: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
      string UUID:    be     be   be   be       be
      string GUID:    le     le   le   be       be
      
      This patch also updates functions calls and declarations in a whole code.
      Signed-off-by: NPrzemyslaw Marczak <p.marczak@samsung.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Cc: trini@ti.com
      d718ded0
  3. 05 11月, 2012 1 次提交
    • K
      net/: sparse fixes · 06370590
      Kim Phillips 提交于
      bootp.c:44:14: warning: symbol 'dhcp_state' was not declared. Should it be static?
      bootp.c:45:15: warning: symbol 'dhcp_leasetime' was not declared. Should it be static?
      bootp.c:46:10: warning: symbol 'NetDHCPServerIP' was not declared. Should it be static?
      arp.c:30:17: warning: symbol 'NetArpWaitReplyIP' was not declared. Should it be static?
      arp.c:37:16: warning: symbol 'NetArpTxPacket' was not declared. Should it be static?
      arp.c:38:17: warning: symbol 'NetArpPacketBuf' was not declared. Should it be static?
      atheros.c:33:19: warning: symbol 'AR8021_driver' was not declared. Should it be static?
      net.c:183:7: warning: symbol 'PktBuf' was not declared. Should it be static?
      net.c:159:21: warning: symbol 'net_state' was not declared. Should it be static?
      ping.c:73:6: warning: symbol 'ping_start' was not declared. Should it be static?
      ping.c:82:13: warning: symbol 'ping_receive' was not declared. Should it be static?
      tftp.c:53:7: warning: symbol 'TftpRRQTimeoutMSecs' was not declared. Should it be static?
      tftp.c:54:5: warning: symbol 'TftpRRQTimeoutCountMax' was not declared. Should it be static?
      eth.c:125:19: warning: symbol 'eth_current' was not declared. Should it be static?
      
      Note: in the ping.c fix, commit a36b12f9
      "net: Move PING out of net.c" mistakenly carried the ifdef CMD_PING
      clause from when it was necessary to avoid warnings when it was embedded
      in net.c.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      06370590
  4. 02 10月, 2012 2 次提交
  5. 28 9月, 2012 1 次提交
    • B
      net: Quietly ignore DHCP Option 28 (Broadcast Address) · ee0f60df
      Brian Rzycki 提交于
      Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28,
      Broadcast Address as specified in RFC 2132. Without this patch u-boot
      displays the warning:
        *** Unhandled DHCP Option in OFFER/ACK: 28
      
      The patch suppresses the warning and ignores DHCP Option 28. There is
      no environment variable to set the broadcast address into and if for
      some reason u-boot needs the broadcast it can be calculated from
      ipaddr and netmask.
      Signed-off-by: NBrian Rzycki <bmr@freescale.com>
      ee0f60df
  6. 20 7月, 2012 1 次提交
  7. 09 7月, 2012 1 次提交
    • K
      net: make net_rand.h inclusion depend on BOOTP_RANDOM_DELAY · db7720ba
      Kim Phillips 提交于
      commit "net: use common rand()/srand() functions" introduced the following
      build warning on the current u-boot-arm tree:
      
      $ ./MAKEALL MPC8313ERDB_66
      Configuring for MPC8313ERDB_66 - Board: MPC8313ERDB, Options: SYS_66MHZ
         text	   data	    bss	    dec	    hex	filename
       271988	  13976	  41768	 327732	  50034	./u-boot
      In file included from bootp.c:15:0:
      net_rand.h: In function 'srand_mac':
      net_rand.h:40:2: warning: implicit declaration of function 'srand' [-Wimplicit-function-declaration]
      
      adding this dependency fixes it.
      
      Cc: Michael Walle <michael@walle.cc>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Acked-by: NMichael Walle <michael@walle.cc>
      db7720ba
  8. 24 5月, 2012 10 次提交
  9. 16 5月, 2012 2 次提交
  10. 19 3月, 2012 1 次提交
  11. 23 11月, 2011 1 次提交
  12. 28 10月, 2011 1 次提交
  13. 27 10月, 2011 1 次提交
  14. 18 10月, 2011 1 次提交
  15. 20 9月, 2011 1 次提交
  16. 09 8月, 2011 1 次提交
  17. 28 7月, 2011 1 次提交
  18. 13 5月, 2011 1 次提交
  19. 14 4月, 2011 1 次提交
  20. 15 11月, 2010 1 次提交
  21. 14 12月, 2009 1 次提交
  22. 03 10月, 2009 1 次提交
  23. 11 9月, 2009 1 次提交
  24. 08 8月, 2009 1 次提交
    • R
      minor debug cleanups in ./net · 0ebf04c6
      Robin Getz 提交于
       Minor ./net cleanups - no functional changes
        - change #ifdef DEBUG printf(); #endif to just debug()
        - changed __FUNCTION__ to __func__
        - got rid of extra whitespace between function and opening brace
        - removed unnecessary braces on if statements
      
       gcc dead code elimination should make this functionally/size equivalent
       when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3).
      Signed-off-by: NRobin Getz <rgetz@blackfin.uclinux.org>
      Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
      0ebf04c6
  25. 23 7月, 2009 1 次提交
  26. 15 6月, 2009 1 次提交
  27. 21 3月, 2009 2 次提交
  28. 19 10月, 2008 1 次提交