09 Sep, 2014

5 commits

  • This patch is to add etsec support for LS102xA. First, Little-endian
    descriptor mode should be enabled. So RxBDs and TxBDs are interpreted
    with little-endian byte ordering. Second, TSEC_SIZE and TSEC_MDIO_OFFSET
    are different from PowerPC, redefine them for LS1021xA.

    Signed-off-by: Alison Wang

    Alison Wang
     
  • Use mb() instead of sync assembly instruction to be
    compatible for both ARM and PowerPC.

    Signed-off-by: Alison Wang

    Alison Wang
     
  • fsl_enet.h defines the mapping of the usual MII management
    registers, which are included in the MDIO register block
    common to Freescale ethernet controllers. So it shouldn't
    depend on the CPU architecture but it should be actually
    part of the arch independent fsl_mdio.h.

    To remove the arch dependency, merge the content of
    asm/fsl_enet.h into fsl_mdio.h.
    Some files (like fm_eth.h) were simply including fsl_enet.h
    only for phy.h. These were updated to include phy.h instead.

    Signed-off-by: Claudiu Manoil

    Claudiu Manoil
     
  • The existing i.MX's I2C driver mxc_i2c.c is compatible
    with the controller of LS102xA. As I2C's registers
    are 8-bit on LS102xA, I2C_QUIRK_REG is enabled to
    use 8-bit driver.

    This patch is to add I2C 1,2,3 support for LS102xA.

    Signed-off-by: Alison Wang

    Wang Huan
     
  • The QorIQ LS1 family is built on Layerscape architecture,
    the industry's first software-aware, core-agnostic networking
    architecture to offer unprecedented efficiency and scale.

    Freescale LS102xA is a set of SoCs combines two ARM
    Cortex-A7 cores that have been optimized for high
    reliability and pack the highest level of integration
    available for sub-3 W embedded communications processors
    with Layerscape architecture and with a comprehensive
    enablement model focused on ease of programmability.

    Signed-off-by: Alison Wang
    Signed-off-by: Jason Jin
    Signed-off-by: Jingchang Lu
    Signed-off-by: Prabhakar Kushwaha

    Wang Huan
     

03 Sep, 2014

3 commits


02 Sep, 2014

7 commits

  • When enable debug option to compile, it will give the following
    warning, this patch is used to get rid of it.
    --->8---
    warning: 'flags' is used uninitialized in this function [-Wuninitialized]
    ---8

    Bo Shen
     
  • When enable debug option to compile, it will give the following
    warning, this patch is used to get rid of it.
    --->8---
    warning: 'flags' is used uninitialized in this function [-Wuninitialized]
    ---8

    Bo Shen
     
  • This allows the USB code to determine whether a USB bus reset was issued,
    which in turn allows the code to differentiate between a detach (return
    to shell prompt) and a board reset/reboot request.

    Signed-off-by: Stephen Warren

    Stephen Warren
     
  • New dfu_usb_get_reset() method is necessary to distinct two different
    use cases of dfu-util program.
    This method checks if the USB bus reset has been really performed after
    DFU DETACH.

    Without this function the previous DFU behavior is preserved.

    Signed-off-by: Lukasz Majewski

    Lukasz Majewski
     
  • This commit provides distinction between DFU device detach and reset.
    The -R behavior is preserved with proper handling of the dfu-util's -e
    switch, which detach the DFU device.

    By running dfu-util -e; one can force device to finish the execution of
    dfu command on target and execute some other scripted commands.

    Moreover, some naming has been changed - the dfu_reset() method now is known
    as dfu_detach(). New name better reflects the purpose of the code.

    It was also necessary to increase the number of usb_gadget_handle_interrupts()
    calls since we also must wait for detection of the USB reset event.

    Example usage:
    1. -e (detach) switch
    dfu-util -a0 -D file1.bin;dfu-util -a3 -D uImage;dfu-util -e

    access to u-boot prompt.

    2. -R (reset) switch
    dfu-util -a0 -D file1.bin;dfu-util -R -a3 -D uImage

    target board reset

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

    Lukasz Majewski
     
  • Tom Rini
     
  • Some drivers (e.g. net/e1000) reference these functions. So, this
    fixes the build of MVBC_P board.

    I'm not familiar with the MPC5xxx platform, maybe a full
    implementation shall be implemented instead of this stub in the
    future.

    Signed-off-by: Vasili Galka
    Cc: Wolfgang Denk , Marek Vasut
    Acked-by: Wolfgang Denk

    Vasili Galka
     

01 Sep, 2014

4 commits

  • Add a bank of GPIOs for sandbox which can be used for testing this
    functionality.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The gpio command mostly relies on gpio_request() and gpio_free() being
    nops, in that you can request a GPIO twice. With driver model this is
    now implemented correctly, so it fails.

    Change the command to deal with a failure to claim the GPIO.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The GPIO list is very long in many cases and most of them are not used.
    By default, show only the GPIOs that are in use, and provide a flag to show
    all of them. This makes the 'gpio status' command much more pleasant.

    In order to do this, driver model now exposes a method for obtaining the
    'function' of a GPIO, which describes whether it is an input or output, for
    example. Implementation of this method is optional.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The QS Systems TQMa6 board support was added by commit cb07d74e
    and lost by commit e82abaeb.

    Commit e82abaeb merged the IMX branch based on pre-Kconfig
    and the mainline based on post-Kconfig, simply deleting
    the boards.cfg file. As a result, some boards added just before
    the merge were lost.

    This commit adds Kconfig, defconfig, MAINTAINERS for TQMa6 board
    to work on the Kconfig infrastructure.

    Signed-off-by: Masahiro Yamada
    Cc: Markus Niebel
    Cc: Stefano Babic

    Masahiro Yamada
     

31 Aug, 2014

15 commits


30 Aug, 2014

6 commits