08 Nov, 2016

4 commits

  • On Tegra186, the bootloader which runs before U-Boot passes the Ethernet
    MAC address to U-Boot using device tree. Extract this value and write it
    to the environment, so that the Ethernet uclass picks it up and uses it
    for the built-in Ethernet device.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Stephen Warren
     
  • Extend the Tegra186 implementation of board_late_init() to call a per-SoC
    "hook" function. This will allow SoC-specific (rather than Tegra-wide)
    functionality to be implemented without the core Tegra code needing to be
    aware of the details. While board186.c is currently only used for
    Tegra186, it should be applicable to any other future SoC, and perhaps its
    simple design could be back-ported to older SoCs in the future too.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Stephen Warren
     
  • This driver supports the Synopsys Designware Ethernet QoS (Quality of
    Service) a/k/a eqos IP block, which is a different design than the HW
    supported by the existing designware.c driver. The IP supports many
    options for bus type, clocking/reset structure, and feature list. This
    driver currently supports the specific configuration used in NVIDIA's
    Tegra186 chip, but should be extensible to other combinations quite
    easily, as explained in the source.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass # V1
    Acked-by: Joe Hershberger

    Stephen Warren
     
  • The Synopsys DWC EQoS is a configurable Ethernet MAC/DMA IP block which
    supports multiple options for bus type, clocking and reset structure, and
    feature list.

    This patch imports the binding from the Linux kernel, including my V3
    patch to extend the binding to cover the Tegra186, which is applied for
    next-20160912. So far, my changes have been acked by Lars Persson, the
    original author of the binding.

    Signed-off-by: Stephen Warren
    Reviewed-by: Simon Glass
    Acked-by: Joe Hershberger

    Stephen Warren
     

06 Nov, 2016

1 commit

  • Since commit ce412b79e7255770 ("drivers: net: phy: atheros: add separate
    config for AR8031") ethernet does not work on mx6sabresd.

    This commit correctly assigns ar8031_config() as the configuration
    function for AR8031 in the same way as done in the Linux kernel.

    However, on mx6sabresd design we need some additional configuration,
    such as enabling the 125 MHz AR8031 output that needs to be done
    in the board file.

    This also aligns with the same method that the kernel performs
    the AR8031 fixup in arch/arm/mach-imx/mach-imx6q.c.

    Signed-off-by: Fabio Estevam

    Fabio Estevam
     

05 Nov, 2016

6 commits

  • Config file names on MAINTAINERS and README in
    board/engicam/icorem6 seems to be wrong, hence fixed the same.

    Cc: Stefano Babic
    Cc: Michael Trimarchi
    Signed-off-by: Jagan Teki

    Jagan Teki
     
  • For 64-bit ARM systems we provide just a timer_read_counter()
    implementation and rely on the generic non-uclass get_ticks() function
    in lib/time.c to call the former.
    However this function is actually not 64-bit safe, as it assumes a
    "long" to be 32-bit. Beside the fact that the resulting uint64_t
    isn't bigger than "long" on 64-bit architectures and thus combining two
    counters makes no sense, we get all kind of weird results when we try
    to OR in the high value shifted by _32_ bits.
    So let's avoid that function at all and provide a straight forward
    get_ticks() implementation for ARMv8, which also is in line with ARMv7.

    This fixes occasional immediate time-out expiration issues I see on the
    Pine64 board. The root cause of this needs to be investigated, but this
    fix looks like the right thing anyway.

    Signed-off-by: Andre Przywara

    Andre Przywara
     
  • This file apparently hasn't seen an update in a while, so just sync
    it with reality.

    Signed-off-by: Andre Przywara

    Andre Przywara
     
  • Check return value when open the plugin file.

    Coverity report:
    ** CID 153926: Error handling issues (NEGATIVE_RETURNS)
    /tools/imximage.c: 542 in copy_plugin_code()

    ifd = open(plugin_file, O_RDONLY|O_BINARY);
    >>> CID 153926: Error handling issues (NEGATIVE_RETURNS)
    >>> "ifd" is passed to a parameter that cannot be negative.

    Signed-off-by: Peng Fan
    Cc: Stefano Babic
    Cc: Tom Rini
    Reported-by: Coverity (CID: 153926)
    Reviewed-by: Tom Rini

    Peng Fan
     
  • Coverity complains that this can overflow. If we later increase the size
    of one of the strings in the table, it could happen.

    Adjust the code to protect against this.

    Signed-off-by: Simon Glass
    Reported-by: Coverity (CID: 150964)

    Simon Glass
     
  • As the upcoming driver model integration takes up some more precious flash
    space first make sure to drop expensive LZMA support.

    Signed-off-by: Marcel Ziswiler

    Marcel Ziswiler
     

03 Nov, 2016

3 commits


02 Nov, 2016

1 commit


01 Nov, 2016

1 commit


31 Oct, 2016

24 commits