08 Jan, 2014

1 commit


06 Jan, 2014

1 commit


03 Jan, 2014

1 commit


19 Dec, 2013

1 commit


11 Dec, 2013

2 commits


10 Dec, 2013

7 commits


09 Dec, 2013

2 commits


08 Dec, 2013

4 commits

  • Faraday FTSDC021 is a controller which is compliant with
    SDHCI v3.0, SDIO v2.0 and MMC v4.3.

    However this driver is only verified with SD memory cards.

    Signed-off-by: Kuo-Jung Su
    Acked-by: Pantelis Antoniou
    CC: Andy Fleming

    Kuo-Jung Su
     
  • Existing eSDHC SPL framework assumes booting from sd-image
    with boot_format header which contains final u-boot Image
    offset and size. No such header is present in case of
    corenet devices like T1040 as corenet deivces use PBI-RCW
    based intialization.

    So, for corenet deives, SPL bootloader use values provided
    at compilation time. These values can be defined in board
    specific config file.

    Signed-off-by: Priyanka Jain
    Acked-by: Pantelis Antoniou

    Priyanka Jain
     
  • If platform provides "host->fifoth_val" it will be used for
    initialization of DWMCI_FIFOTH register. Otherwise default value will be
    used.

    This implementation allows:
    * escape unclear and recursive calculations that are currently in use
    * use whatever custom value for DWMCI_FIFOTH initialization if any
    particular SoC requires it

    Signed-off-by: Alexey Brodkin

    Cc: Mischa Jonker
    Cc: Alim Akhtar
    Cc: Rajeshwari Shinde
    Cc: Jaehoon Chung
    Cc: Amar
    Cc: Kyungmin Park
    Cc: Minkyu Kang
    Cc: Simon Glass
    Cc: Pantelis Antoniou
    Cc: Andy Fleming
    Acked-by: Jaehoon Chung
    Acked-by: Pantelis Antoniou

    Alexey Brodkin
     
  • dw-mmc.c is the general driver file.
    So, remove the exynos specific code at dw-mmc.c.
    Instead, exynos specific cod can be move into exynos-dw_mmc.c.

    Signed-off-by: Jaehoon Chung
    Acked-by: Alexey Brodkin
    Acked-by: Pantelis Antoniou
    Acked-by: Minkyu Kang

    Jaehoon Chung
     

06 Dec, 2013

6 commits


05 Dec, 2013

8 commits

  • Writing zero into I2Ci.I2C_CNT register causes random I2C failures in OMAP3
    based devices. This seems to be related to the following advisory which
    apears in multiple erratas for OMAP3 SoCs (OMAP35xx, DM37xx), as well as
    OMAP4430 TRM:

    Advisory:
    I2C Module Does Not Allow 0-Byte Data Requests
    Details:
    When configured as the master, the I2C module does not allow 0-byte data
    transfers. Note: Programming I2Ci.I2C_CNT[15:0]: DCOUNT = 0 will cause
    undefined behavior.
    Workaround(s):
    No workaround. Do not use 0-byte data requests.

    The writes in question are unnecessary from a functional point of view.
    Most of them are done after I/O has finished, and the only one that preceds
    I/O (in i2c_probe()) is also unnecessary because a stop bit is sent before
    actual data transmission takes place.

    Therefore, remove all writes that zero the cnt register.

    Cc: Heiko Schocher
    Cc: Thomas Petazzoni
    Cc: Tom Rini
    Cc: Lubomir Popov
    Cc: Enric Balletbo Serra
    Signed-off-by: Nikita Kiryanov
    Tested-by: Thomas Petazzoni
    Tested-by: Lubomir Popov

    Nikita Kiryanov
     
  • For a eeprom with a 2-bytes address (e.g., Ateml AT24C1024B),
    the r/w address should be serial out in MSB order.

    Signed-off-by: Kuo-Jung Su
    Cc: Heiko Schocher

    Kuo-Jung Su
     
  • Replace the legacy i2c model with the new one.

    Signed-off-by: Kuo-Jung Su
    Cc: Heiko Schocher

    Kuo-Jung Su
     
  • Coding style cleanup

    Signed-off-by: Kuo-Jung Su
    Cc: Heiko Schocher

    Kuo-Jung Su
     
  • Fix clock value initialisation for Exynos other than Exynos5 for hsi2c.

    Signed-off-by: Piotr Wilczek
    Signed-off-by: Kyungmin Park
    Cc: Minkyu Kang
    Cc: Heiko Schocher

    Piotr Wilczek
     
  • This patch adapts the s3c24x0 driver to the new i2c framework.
    Config file is modified for all the boards that use the driver.

    Signed-off-by: Piotr Wilczek
    Signed-off-by: Kyungmin Park
    CC: Minkyu Kang
    CC: Heiko Schocher
    CC: Inderpal Singh
    CC: David Müller
    CC: Chander Kashyap
    CC: Lukasz Majewski
    Tested-by: Naveen Krishna Chatradhi
    Reviewed-by: Naveen Krishna Chatradhi

    Piotr Wilczek
     
  • Existing eSPI SPL framework assumes booting from spi-image
    with boot_format header which contains final u-boot Image
    offset and size. No such header is present in case of
    corenet devices like T1040 as corenet deivces use PBI-RCW
    based intialization.

    So, for corenet deives, SPL bootloader use values provided
    at compilation time. These values can be defined in board
    specific config file.

    Signed-off-by: Priyanka Jain
    Acked-by: York Sun

    Priyanka Jain
     
  • In 48ec5291, only TX path was optimized; this does the same also for RX
    path. This results in huge increase of TFTP throughput on custom am3352
    board (from 312KiB/s to 1.8MiB/s) and eliminates occasional transfer
    timeouts.

    Signed-off-by: Vladimir Koutny
    Cc: Mugunthan V N
    Cc: Joe Hershberger
    Cc: Tom Rini

    Vladimir Koutny
     

04 Dec, 2013

4 commits

  • Align the ATA ID buffer to the cache-line boundary. This gets rid
    of the below error mesages on ARM v7 platforms.

    scanning bus for devices...
    ERROR: v7_dcache_inval_range - start address is not aligned - 0xfee48618
    ERROR: v7_dcache_inval_range - stop address is not aligned - 0xfee48818

    CC: Aneesh V
    Signed-off-by: Roger Quadros

    Roger Quadros
     
  • If malloc() fails, we don't want to continue in ahci_init() and
    ahci_init_one(). Also print a more informative error message on
    malloc() failures.

    CC: Rob Herring
    Signed-off-by: Roger Quadros

    Roger Quadros
     
  • Added chip type detection and twl6032
    support in the battery control
    and charge functions.

    Based on Balaji T K patches for TI u-boot.

    Signed-off-by: Oleg Kosheliev

    Oleg Kosheliev
     
  • The data struct is used to support different
    PMIC chip types. It contains the chip type and
    the data (e.g. registers addresses, adc multiplier)
    which is different for twl6030 and twl6032.
    Replaced some hardcoded values with the
    structure vars.

    Based on Balaji T K patches for TI u-boot.

    Signed-off-by: Oleg Kosheliev

    Oleg Kosheliev
     

02 Dec, 2013

3 commits