31 Mar, 2017

1 commit


17 Aug, 2016

1 commit


30 May, 2016

1 commit

  • Commit 6ca5f482a38ce ("driver: net: cpsw: add support for RGMII id mode
    support and RMII clock source selection") enables the external chip clock
    for RMII mode using private data. This data needs to be populated from
    DT data. The above commit misses populating this data.

    Signed-off-by: Lokesh Vutla

    Lokesh Vutla
     

26 May, 2016

1 commit


25 May, 2016

1 commit


23 May, 2016

1 commit

  • In the current driver implementation, config() callback is common
    for AR8035 and AR8031 phy. In config() callback, driver tries to
    configure MMD Access Control Register and MMD Access Address Data
    Register unconditionally for both phy versions which leads to
    auto negotiation failure in AM335x EVMsk second port which uses
    AR8031 Giga bit RGMII phy. Fixing this by adding separate config
    for AR8031 phy.

    Reviewed-by: Sekhar Nori
    Signed-off-by: Mugunthan V N

    Mugunthan V N
     

19 May, 2016

1 commit


17 May, 2016

1 commit

  • * 'master' of git://git.denx.de/u-boot: (31 commits)
    Prepare v2016.05
    sunxi: Enable USB host in CHIP defconfig
    test, tools: update tbot documentation
    tests: py: fix NameError exception if bdi cmd is not supported
    arm/arm64: Move barrier instructions into separate header
    arm: socfpga: Update iomux and pll for c5 socdk RevE
    warp7: Fix boot by selecting CONFIG_OF_LIBFDT
    usb: gadget: dfu: discard dead code
    dfu: avoid memory leak
    usb: dwc2: Add delay to fix the USB detection problem on SoCFPGA
    usb: hub: Don't continue on get_port_status failure
    usb: Assure Get Descriptor request is in separate microframe
    usb: Wait after sending Set Configuration request
    socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled
    mtd: cqspi: Simplify indirect read code
    mtd: cqspi: Simplify indirect write code
    arm: socfpga: socrates: Add 'time' command
    ARM: socfpga: Disable USB OC protection on SoCrates
    usb: Don't init pointer to zero, but NULL
    usb: ehci-mx6: allow board_ehci_hcd_init to fail
    ...

    Signed-off-by: Lokesh Vutla

    Lokesh Vutla
     

07 May, 2016

8 commits

  • Tom Rini
     
  • Tom Rini
     
  • Reported by Coverity:
    Logically dead code (DEADCODE)
    dead_error_line: Execution cannot reach this statement:
    (f_dfu->strings + --i).s = ....

    If calloc failed, i is still 0 and no need to call free,
    so discard the dead code.

    Signed-off-by: Peng Fan
    Cc: "Łukasz Majewski"
    Cc: Marek Vasut

    Peng Fan
     
  • When dfu_fill_entity fail, need to free dfu to avoid memory leak.

    Reported by Coverity:
    "
    Resource leak (RESOURCE_LEAK)
    leaked_storage: Variable dfu going out of scope leaks the storage
    it points to.
    "

    Signed-off-by: Peng Fan
    Cc: "Łukasz Majewski"
    Cc: Marek Vasut

    Peng Fan
     
  • With patch c998da0d (usb: Change power-on / scanning timeout handling),
    the USB scanning is started earlier and with a smaller timeout. This
    resulted on SoCFPGA (using the DWC2 driver) in some USB sticks not
    getting detected any more. This patch now adds a 1 second delay (in
    the host mode only) to the DWC2 driver before the scanning is started.
    With this delay, now all problematic USB keys are detected successfully
    again. And there is no need any more to change the delay / timeout
    in the common USB code (usb_hub.c).

    Signed-off-by: Stefan Roese
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Hans de Goede
    Cc: Stephen Warren
    Cc: Marek Vasut

    Stefan Roese
     
  • The indirect read code is a pile of nastiness. This patch replaces
    the whole unmaintainable indirect read implementation with the one
    from upcoming Linux CQSPI driver, which went through multiple rounds
    of thorough review and testing. All the patch does is it plucks out
    duplicate ad-hoc code distributed across the driver and replaces it
    with more compact code doing exactly the same thing. There is no
    speed change of the read operation.

    Signed-off-by: Marek Vasut
    Cc: Anatolij Gustschin
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Jagan Teki
    Cc: Pavel Machek
    Cc: Stefan Roese
    Cc: Vignesh R

    Marek Vasut
     
  • The indirect write code is buggy pile of nastiness which fails horribly
    when the system runs fast enough to saturate the controller. The failure
    results in some pages (256B) not being written to the flash. This can be
    observed on systems which run with Dcache enabled and L2 cache enabled,
    like the Altera SoCFPGA.

    This patch replaces the whole unmaintainable indirect write implementation
    with the one from upcoming Linux CQSPI driver, which went through multiple
    rounds of thorough review and testing. While this makes the patch look
    terrifying and violates all best-practices of software development, all
    the patch does is it plucks out duplicate ad-hoc code distributed across
    the driver and replaces it with more compact code doing exactly the same
    thing.

    Signed-off-by: Marek Vasut
    Cc: Anatolij Gustschin
    Cc: Chin Liang See
    Cc: Dinh Nguyen
    Cc: Jagan Teki
    Cc: Pavel Machek
    Cc: Stefan Roese
    Cc: Vignesh R

    Marek Vasut
     
  • There could be runtime determined board specific reason why a EHCI
    initialization fails (e.g. ENODEV if a Port is not available). In
    this case, properly return the error code.
    While at it, that function (board_ehci_hcd_init) has actually two
    documentation blocks... Use the correct function name for the
    documentation block of board_usb_phy_mode.

    Signed-off-by: Stefan Agner

    Stefan Agner
     

06 May, 2016

24 commits