31 Jul, 2012

1 commit

  • * 'next' of git://git.denx.de/u-boot:
    MPC8xx: Fixup warning in arch/powerpc/cpu/mpc8xx/cpu.c
    doc: cleanup - move board READMEs into respective board directories
    net: sh_eth: add support for SH7757's GETHER
    net: sh_eth: modify the definitions of regsiter
    net: sh_eth: add SH_ETH_TYPE_ condition
    net: sh_eth: clean up for the SH7757's code
    net: fec_mxc: Fix MDC for xMII
    net: fec_mxc: Fix setting of RCR for xMII
    net: nfs: make NFS_TIMEOUT configurable
    net: Inline the new eth_setenv_enetaddr_by_index function
    net: allow setting env enetaddr from net device setting
    net/designware: Consecutive writes to the same register to be avoided
    CACHE: net: asix: Fix asix driver to work with data cache on
    net: phy: micrel: make ksz9021 phy accessible
    net: abort network initialization if the PHY driver fails
    phylib: phy_startup() should return an error code on failure
    net: tftp: fix type of block arg to store_block

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

25 Jul, 2012

1 commit

  • NetConsole may call NetSendUDPPacket before NetLoop is called. This
    will cause the source MAC address (NetOurEther) to be wrong. Instead
    of only changing it in NetLoop, move it to NetLoopInit so that it is
    also updated when net_init() is called (especially by nc_start()).

    Signed-off-by: Joe Hershberger
    Reported-by: Michael Walle
    Acked-by: Michael Walle

    Joe Hershberger
     

20 Jul, 2012

2 commits


13 Jul, 2012

1 commit


12 Jul, 2012

4 commits

  • * 'next' of git://git.denx.de/u-boot-net:
    net: Inline the new eth_setenv_enetaddr_by_index function
    net: allow setting env enetaddr from net device setting
    net/designware: Consecutive writes to the same register to be avoided
    CACHE: net: asix: Fix asix driver to work with data cache on
    net: phy: micrel: make ksz9021 phy accessible
    net: abort network initialization if the PHY driver fails
    phylib: phy_startup() should return an error code on failure
    net: tftp: fix type of block arg to store_block

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • This function is currently only used in one case. Inline for now.

    Signed-off-by: Joe Hershberger

    Joe Hershberger
     
  • If the net driver has setup a valid ethernet address and an ethernet
    address is not set in the environment already, then set the environment
    variables from the net driver setting.

    This enables pxe booting on boards which don't set ethaddr env variable.

    Signed-off-by: Rob Herring

    Rob Herring
     
  • The block argument for store_block can be -1 when the tftp sequence
    number rolls over (i.e TftpBlock == 0), so the first argument to
    store_block has to be of type 'int' instead of 'unsigned'.

    In our environment (gcc 4.4.5 mips toolchain), this causes incorrect
    'offset' to be generated for storing the block, and the tftp block
    with number 0 will be written elsewhere, resulting in a bad block in
    the downloaded file and a memory corruption.

    Signed-off-by: Jayachandran Chandrasekharan Nair

    Jayachandran Chandrasekharan Nair
     

10 Jul, 2012

2 commits


09 Jul, 2012

1 commit

  • 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
    Cc: Joe Hershberger
    Signed-off-by: Kim Phillips
    Acked-by: Michael Walle

    Kim Phillips
     

07 Jul, 2012

2 commits


24 May, 2012

26 commits