24 Nov, 2014

1 commit

  • Add reset_sata() to the sata driver interface and implement it
    for dwc_ahsata. This function cleans up after sata_init(), and
    therefore accepts a device number like sata_init() does.
    A dummy implementation is provided for the rest of the drivers.

    Signed-off-by: Nikita Kiryanov
    Cc: Simon Glass
    Cc: Stefano Babic

    Nikita Kiryanov
     

21 Nov, 2014

1 commit


20 Nov, 2014

1 commit


17 Nov, 2014

8 commits

  • The User Register in GMAC IP is used to select interface type.
    When with GE feature, it is used to select interface between
    RGMII and GMII. If without GE feature, it is used to select
    interface between MII and RMII.

    Signed-off-by: Bo Shen
    Signed-off-by: Andreas Bießmann

    Bo Shen
     
  • As in SAMA5D4 SoC, the gf table in ROM code can not be seen.
    So, when we try to use PMECC, we need to build it when do
    initialization.
    Add a macro NO_GALOIS_TABLE_IN_ROM in soc header file. If it
    is defined we will build gf table runtime.

    The PMECC use the BCH algorithm, so based on the build_gf_tables()
    function in lib/bch.c, we can build the Galois Field lookup table.

    Signed-off-by: Josh Wu
    Signed-off-by: Bo Shen
    Signed-off-by: Andreas Bießmann

    Josh Wu
     
  • device ready pin is signalling that the device is ready on state 1
    not on 0. Simmiliar as it is in drivers/mtd/nand/nand_spl_simple.c

    Signed-off-by: Heiko Schocher
    Reviewed-by: Andreas Bießmann
    Reviewed-by: Bo Shen
    Acked-by: Scott Wood
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • erase one nand block in spl code. keep it simple, as size matters
    This is used on the upcoming taurus spl support.

    Signed-off-by: Heiko Schocher
    Acked-by: Scott Wood
    Reviewed-by: Bo Shen
    Reviewed-by: Andreas Bießmann
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • using this driver in SPL code with CONFIG_SPL_NAND_ECC
    configured leads in an compileerror. Fix this.

    Signed-off-by: Heiko Schocher
    Reviewed-by: Andreas Bießmann
    Reviewed-by: Bo Shen
    [fix subject]
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • move CONFIG_SYS_SPI_WRITE_TOUT into drivers/spi/atmel_spi.h
    and define a default value. Delete this define in the board
    config files, where it is possible (all boards use currently
    the same value).

    Signed-off-by: Heiko Schocher
    Reviewed-by: Jagannadha Sutradharudu Teki
    Reviewed-by: Andreas Bießmann
    Signed-off-by: Andreas Bießmann

    Heiko Schocher
     
  • When boot up without mac address setting, it will give the warning
    message like: "Warning: failed to set MAC address", however when
    execute network related command, it still execute them without any
    warning information.

    With this patch, it will exit directly with following information:
    "gmac0: mac address is not valid"

    It also solve the problem after bootup then set mac address and the
    mac address won't set to net device issue.

    Signed-off-by: Bo Shen
    Tested-by: Boris Brezillon
    Signed-off-by: Andreas Bießmann

    Bo Shen
     
  • Tom Rini
     

15 Nov, 2014

4 commits


13 Nov, 2014

5 commits


12 Nov, 2014

1 commit


11 Nov, 2014

4 commits


10 Nov, 2014

4 commits

  • In case of repeated START condition, the restart has to be kicked
    before clear status (MSR register). If it is kicked after clear status,
    R-Car I2C may transfer data (TXD register) or receive data (RXD register)
    instead of transferring slave address (MAR register).

    Signed-off-by: Ryo Kataoka
    Signed-off-by: Nobuhiro Iwamatsu

    Nobuhiro Iwamatsu
     
  • Some slow I2C devices like Power Monitor(ZM7304) at times
    do not work well with low timeout value, so I2C bus get stuck
    during read cycle with this device, changing it to 100ms from
    10ms works fine

    A lot of other i2c drivers like mxc and i2c drivers of BOOTROM
    also use relax timeouts to give sufficient ticks to work well
    with slower devices

    Signed-off-by: Shaveta Leekha
    Signed-off-by: Poonam Aggrwal

    Shaveta Leekha
     
  • ppc4xx i2c master gets stuck on errors while repeated start is
    active. Can be easily reproduced by "i2c md" on an unpopulated
    i2c address. There is not stop condition given, scl remains
    pulled low.
    The only way out seems to be doing a stop manually and then a
    soft reset.

    Signed-off-by: Dirk Eibach
    Reviewed-by: Stefan Roese

    Dirk Eibach
     
  • Debugging some i2c trouble I saw on my scope that repeated
    start is not working properply. The 4xx even held clock pulled down
    after transfers. Having a look in the driver I realized
    that IIC_CNTL_RPST is set on that part of the transfer that should
    begin with a repeated start. But repeated start is about not sending a
    stop condition, so IIC_CNTL_RPST has to be set on the last transfer
    before the repeated start happens.

    Signed-off-by: Dirk Eibach
    Reviewed-by: Stefan Roese

    Dirk Eibach
     

08 Nov, 2014

6 commits


07 Nov, 2014

5 commits