22 Dec, 2011

3 commits


21 Dec, 2011

15 commits

  • Add a variable "toolchain" and configure the rootpath
    for the nfsargs with this variable.

    Signed-off-by: Holger Brunck
    cc: Wolfgang Denk

    Holger Brunck
     
  • Signed-off-by: Lauri Hintsala

    Lauri Hintsala
     
  • Fix:
    misc.c: In function 'misc_init_r':
    misc.c:119:3: warning: dereferencing type-punned pointer
    will break strict-aliasing rules [-Wstrict-aliasing]

    Signed-off-by: Anatolij Gustschin

    Anatolij Gustschin
     
  • Fix:
    e1000.c: In function 'e1000_read_mac_addr':
    e1000.c:1149:2: warning: dereferencing type-punned pointer
    will break strict-aliasing rules [-Wstrict-aliasing]

    e1000.c:1149:2: warning: dereferencing type-punned pointer
    will break strict-aliasing rules [-Wstrict-aliasing]

    Signed-off-by: Anatolij Gustschin
    Cc: Kyle Moffett
    Acked-by: Kyle Moffett

    Anatolij Gustschin
     
  • Fix:
    mv_eth.c: In function 'mv64360_eth_real_open':
    mv_eth.c:425:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_stop':
    mv_eth.c:643:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_xmit':
    mv_eth.c:719:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_receive':
    mv_eth.c:804:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_get_stats':
    mv_eth.c:903:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_update_stat':
    mv_eth.c:931:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    mv_eth.c:930:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64360_eth_print_stat':
    mv_eth.c:1012:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'eth_clear_mib_counters':
    mv_eth.c:2069:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable

    Signed-off-by: Anatolij Gustschin
    Cc: Reinhard Arlt

    Anatolij Gustschin
     
  • Fix:
    In file included from s3c_udc_otg.c:216:0:
    s3c_udc_otg_xfer_dma.c: In function 'complete_tx':
    s3c_udc_otg_xfer_dma.c:280:33: warning: variable 'is_short' set but not used
    s3c_udc_otg_xfer_dma.c:280:6: warning: variable 'ep_tsr' set but not used
    s3c_udc_otg_xfer_dma.c: In function 's3c_udc_irq':
    s3c_udc_otg_xfer_dma.c:469:16: warning: variable 'flags' set but not used
    s3c_udc_otg_xfer_dma.c:468:18: warning: variable 'gintmsk' set but not used
    s3c_udc_otg_xfer_dma.c: In function 's3c_queue':
    s3c_udc_otg_xfer_dma.c:582:14: warning: variable 'gintsts' set but not used
    s3c_udc_otg_xfer_dma.c:581:16: warning: variable 'flags' set but not used
    s3c_udc_otg_xfer_dma.c: In function 's3c_ep0_read':
    s3c_udc_otg_xfer_dma.c:778:6: warning: variable 'ret' set but not used
    s3c_udc_otg_xfer_dma.c: In function 's3c_udc_set_halt':
    s3c_udc_otg_xfer_dma.c:1020:16: warning: variable 'flags' set but not used
    s3c_udc_otg_xfer_dma.c: In function 's3c_ep0_setup':
    s3c_udc_otg_xfer_dma.c:1258:13: warning: initialization from incompatible
    pointer type [enabled by default]
    s3c_udc_otg_xfer_dma.c:1239:16: warning: variable 'is_in' set but not used
    s3c_udc_otg_xfer_dma.c:1239:9: warning: variable 'bytes' set but not used
    s3c_udc_otg.c: In function 'usb_gadget_register_driver':
    s3c_udc_otg.c:292:16: warning: variable 'flags' set but not used
    s3c_udc_otg.c: In function 'usb_gadget_unregister_driver':
    s3c_udc_otg.c:338:16: warning: variable 'flags' set but not used
    s3c_udc_otg.c: In function 's3c_ep_enable':
    s3c_udc_otg.c:582:16: warning: variable 'flags' set but not used
    s3c_udc_otg.c: In function 's3c_ep_disable':
    s3c_udc_otg.c:646:16: warning: variable 'flags' set but not used
    s3c_udc_otg.c: In function 's3c_dequeue':
    s3c_udc_otg.c:704:16: warning: variable 'flags' set but not used

    Signed-off-by: Anatolij Gustschin
    Cc: Lukasz Majewski
    Cc: Remy Bohmer

    Anatolij Gustschin
     
  • Fix:
    universal.c: In function 's5pc210_phy_control':
    universal.c:273:7: warning: 'ret' may be used uninitialized
    in this function [-Wuninitialized]

    Signed-off-by: Anatolij Gustschin
    Cc: Lukasz Majewski
    Cc: Minkyu Kang
    Acked-by: Minkyu Kang

    Anatolij Gustschin
     
  • Writing a file to the FAT partition didn't work while a
    test using a CF card. The test was done on mpc5200 based
    board (powerpc). There is a number of problems in FAT
    write code:

    Compiler warning:
    fat_write.c: In function 'file_fat_write':
    fat_write.c:326: warning: 'counter' may be used uninitialized
    in this function
    fat_write.c:326: note: 'counter' was declared here

    'l_filename' string is not terminated, so a file name
    with garbage at the end is used as a file name as shown
    by debug code.

    Return value of set_contents() is not checked properly
    so actually a file won't be written at all (as checked
    using 'fatls' after a write attempt with 'fatwrite'
    command).

    do_fat_write() doesn't return the number of written bytes
    if no error happened. However the return value of this
    function is used to show the number of written bytes
    in do_fat_fswrite().

    The patch adds some debug code and fixes above mentioned
    problems and also fixes a typo in error output.

    NOTE: after a successful write to the FAT partition (under
    U-Boot) the partition was checked under Linux using fsck.
    The partition needed fixing FATs:
    -bash-3.2# fsck -a /dev/sda1
    fsck 1.39 (29-May-2006)
    dosfsck 2.11, 12 Mar 2005, FAT32, LFN
    FATs differ but appear to be intact. Using first FAT.
    Performing changes.

    Signed-off-by: Anatolij Gustschin
    Cc: Donggeun Kim
    Cc: Aaron Williams
    Acked-by: Donggeun Kim

    Anatolij Gustschin
     
  • * 'master' of /home/wd/git/u-boot/custodians:
    common/cmd_pxe.c: Fix GCC 4.6 build warnings
    AVR32: fix timer_init() function

    Wolfgang Denk
     
  • * 'agust@denx.de' of git://git.denx.de/u-boot-staging:
    common/cmd_pxe.c: Fix GCC 4.6 build warnings
    AVR32: fix timer_init() function

    Wolfgang Denk
     
  • Fix:
    e1000_spi.c: In function 'spi_free_slave':
    e1000_spi.c:115: warning: unused variable 'hw'
    e1000_spi.c: In function 'do_e1000_spi':
    e1000_spi.c:472: warning: 'checksum' may be used uninitialized in this function
    e1000_spi.c:472: note: 'checksum' was declared here

    Signed-off-by: Anatolij Gustschin
    Cc: Kyle Moffett
    Acked-by: Kyle Moffett

    Anatolij Gustschin
     
  • The switch to strict_strtoul() was not done correctly - this fixes
    the compile error when CONFIG_CMD_TFTPPUT is active.

    There appears to very little use of strict_strtoul() in commands, so
    it might be easier to switch to simple_strtoul(). If not, we should
    decide the best way to use strict_strtoul(). For now I have added a
    friendly message which will of course increase code size.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • timer_init() now returns an int (the error code) instead of void.
    This makes compilation fail with:

    interrupts.c:111: error: conflicting types for 'timer_init'
    /home/svens/u-boot/u-boot/include/common.h:246: error: previous
    declaration of 'timer_init' was here
    make[1]: *** [interrupts.o] Error 1

    Signed-off-by: Sven Schnelle
    Acked-by: Andreas Bießmann
    Signed-off-by: Anatolij Gustschin

    Sven Schnelle
     
  • Fix:
    cmd_pxe.c: In function 'parse_pxefile_top':
    cmd_pxe.c:941:5: warning: 'err' may be used uninitialized in this
    function [-Wuninitialized]
    cmd_pxe.c:921:6: note: 'err' was declared here

    Signed-off-by: Heiko Schocher
    Cc: Jason Hobbs
    Acked-by: Jason Hobbs

    Heiko Schocher
     
  • timer_init() now returns an int (the error code) instead of void.
    This makes compilation fail with:

    interrupts.c:111: error: conflicting types for 'timer_init'
    /home/svens/u-boot/u-boot/include/common.h:246: error: previous
    declaration of 'timer_init' was here
    make[1]: *** [interrupts.o] Error 1

    Signed-off-by: Sven Schnelle
    Acked-by: Andreas Bießmann
    Signed-off-by: Anatolij Gustschin

    Sven Schnelle
     

20 Dec, 2011

10 commits


19 Dec, 2011

4 commits


18 Dec, 2011

2 commits

  • Several bugfixes have occurred upstream since this script was imported
    into U-Boot. In particular, the script currently in U-Boot does not
    describe commit f8bbb4dad0e9d91b7a51d6cc54dcf66d142f50fe correctly,
    resulting in a version of "2011.09" instead of "2011.09-01460-gf8bbb4d".

    With that commit checked out, the command "git name-rev --tags HEAD"
    gives this result:
    HEAD tags/v2011.12-rc1~30^2

    Then the "changes" regex does not match because of the trailing '^2':
    grep -E '^HEAD[[:space:]]+(.*~[0-9]*|undefined)$'

    The new version of tools/setlocalversion in the kernel correctly handles
    those situations by using different plumbing commands.

    The version from the kernel is not directly usable as it does not append
    the full GIT version that U-Boot expects unless the right config options
    are set (CONFIG_LOCALVERSION_AUTO=y). Other than a few minor changes
    for Kconfig, the imported version is very similar to Linux v3.2-rc4.

    Signed-off-by: Kyle Moffett
    Cc: Wolfgang Denk
    Cc: Mike Frysinger
    Acked-by: Mike Frysinger

    Kyle Moffett
     
  • * 'master' of git://git.denx.de/u-boot-usb:
    USB: Use (get|put)_unaligned for accessing wMaxPacketSize
    usb:gadget:s5p Enable the USB Gadget framework at Exynos4210 (C210 Universal)
    README: add documentation for CONFIG_USB_ULPI*
    USB: ULPI: increase error case verbosity
    USB: ULPI: clean a mixup of return types
    USB: ULPI: switch argument type from u8 to unsigned

    Wolfgang Denk
     

17 Dec, 2011

6 commits