09 Aug, 2014

1 commit

  • Devices are not all identified by a single integer. To support
    this, defer the parsing of the device string to the IO backed, so that
    it can apply the appropriate rules.

    SPI devices are specified as controller:chip_select. SPI/SF support will
    be added soon.

    MMC devices can also be specified as controller[.hwpart][:partition] in
    many commands, although we don't support that syntax in DFU.

    Signed-off-by: Stephen Warren

    Stephen Warren
     

26 Jun, 2014

1 commit

  • When dfu_init_env_entities() fails part-way through, some entities may
    have been added to dfu_list. These are only removed by dfu_free_entities().
    If that function isn't called, those stale entities will still exist the
    next time dfu_init_env_entities() is called, leading to confusion. Fix
    do_dfu() to ensure that dfu_free_entities() is always called, to avoid
    this confusion.

    Signed-off-by: Stephen Warren
    Acked-by: Lukasz Majewski
    Tested-by: Lukasz Majewski

    Stephen Warren
     

05 May, 2014

1 commit


21 Oct, 2013

1 commit

  • This commit unifies board-specific USB initialization implementations
    under one symbol (usb_board_init), declaration of which is available in
    usb.h.

    New API allows selective initialization of USB controllers whenever needed.

    Signed-off-by: Mateusz Zalega
    Signed-off-by: Kyungmin Park
    Reviewed-by: Lukasz Majewski
    Cc: Marek Vasut
    Cc: Lukasz Majewski

    Mateusz Zalega
     

24 Sep, 2013

2 commits


30 Jul, 2013

1 commit


24 Jul, 2013

1 commit


17 Mar, 2013

2 commits


16 Oct, 2012

1 commit

  • Under option -munaligned-access, gcc can perform local char
    or 16-bit array initializations using misaligned native
    accesses which will throw a data abort exception. Fix files
    where these array initializations were unneeded, and for
    files known to contain such initializations, enforce gcc
    option -mno-unaligned-access.

    Signed-off-by: Albert ARIBAUD
    [trini: Switch to usign call cc-option for -mno-unaligned-access as
    Albert had done previously as that's really correct]
    Signed-off-by: Tom Rini

    Albert ARIBAUD
     

01 Sep, 2012

1 commit