29 Jan, 2017

3 commits


28 Jan, 2017

9 commits


27 Jan, 2017

1 commit


26 Jan, 2017

12 commits


25 Jan, 2017

13 commits

  • Update the MMC block device access code in bubt command
    implementation according to the latest MMC driver changes.

    Change-Id: Ie852ceefa0b040ffe1362bdb7815fcea9b2d923b
    Signed-off-by: Konstantin Porotchkin
    Cc: Stefan Roese
    Cc: Nadav Haklai
    Cc: Neta Zur Hershkovits
    Cc: Omri Itach
    Cc: Igal Liberman
    Cc: Haim Boot
    Cc: Hanna Hawa

    Konstantin Porotchkin
     
  • This patch enables the MMC support for the SDHCI controller on the
    Armada 7k db-88f7040 and the Armada 8k db-88f8040 board.

    Signed-off-by: Stefan Roese
    Cc: Nadav Haklai
    Cc: Kostya Porotchkin
    Cc: Wilson Ding
    Cc: Victor Gu
    Cc: Hua Jing
    Cc: Terry Zhou
    Cc: Hanna Hawa
    Cc: Haim Boot

    Stefan Roese
     
  • This patch adds the SDHCI device tree nodes to the Armada 7040-db
    dts file.

    Signed-off-by: Stefan Roese
    Cc: Nadav Haklai
    Cc: Kostya Porotchkin
    Cc: Wilson Ding
    Cc: Victor Gu
    Cc: Hua Jing
    Cc: Terry Zhou
    Cc: Hanna Hawa
    Cc: Haim Boot

    Stefan Roese
     
  • This patch adds the SDHCI device tree nodes to the Armada AP806 dtsi
    file which is used by the Armada 7k/8K SoCs.

    Signed-off-by: Stefan Roese
    Cc: Nadav Haklai
    Cc: Kostya Porotchkin
    Cc: Wilson Ding
    Cc: Victor Gu
    Cc: Hua Jing
    Cc: Terry Zhou
    Cc: Hanna Hawa
    Cc: Haim Boot

    Stefan Roese
     
  • This patch enables the MMC support for the SDHCI controller on the
    Armada 3700 db-88f3720 board.

    Signed-off-by: Stefan Roese
    Cc: Nadav Haklai
    Cc: Kostya Porotchkin
    Cc: Wilson Ding
    Cc: Victor Gu
    Cc: Hua Jing
    Cc: Terry Zhou
    Cc: Hanna Hawa
    Cc: Haim Boot

    Stefan Roese
     
  • This patch adds the SDHCI device tree nodes to the Armada 3700-db
    dts file.

    Signed-off-by: Stefan Roese
    Cc: Nadav Haklai
    Cc: Kostya Porotchkin
    Cc: Wilson Ding
    Cc: Victor Gu
    Cc: Hua Jing
    Cc: Terry Zhou
    Cc: Hanna Hawa
    Cc: Haim Boot

    Stefan Roese
     
  • This patch adds the SDHCI device tree nodes to the Armada 3700 dtsi
    file.

    Signed-off-by: Stefan Roese
    Cc: Nadav Haklai
    Cc: Kostya Porotchkin
    Cc: Wilson Ding
    Cc: Victor Gu
    Cc: Hua Jing
    Cc: Terry Zhou
    Cc: Hanna Hawa
    Cc: Haim Boot

    Stefan Roese
     
  • This driver implementes platform specific code for the Xenon SDHCI
    controller which is integrated in the Marvell MVEBU Armada 37xx and
    Armada 7k / 8K SoCs.

    History:
    This driver is ported from the Marvell U-Boot version 2015.01 which is
    written by Victor Gu with minor changes ported from
    the Linux driver which is written by Ziji Hu .

    Signed-off-by: Stefan Roese
    Cc: Jaehoon Chung
    Cc: Masahiro Yamada
    Reviewed-by: Jaehoon Chung

    Stefan Roese
     
  • Some SDHCI drivers might need to do some special controller configuration
    after the common clock set_ios() function has been called (speed / width
    configuration). This patch adds a call to the newly created function
    set_ios_port() when its configured in the host driver.

    This will be used by the Xenon SDHCI controller driver used on the
    Marvell Armada 3700 and 7k/8k ARM64 SoCs.

    Signed-off-by: Stefan Roese
    Cc: Jaehoon Chung
    Cc: Simon Glass
    Reviewed-by: Jaehoon Chung

    Stefan Roese
     
  • This patch completely clears the SDHCI_CLOCK_CONTROL register before the
    new value is configured instead of just clearing the 2 bits
    SDHCI_CLOCK_CARD_EN and SDHCI_CLOCK_INT_EN. Without this change, some
    clock configurations will lead to the "Internal clock never stabilised."
    error message on the Xenon SDHCI controller used on the Marvell Armada
    3700 and 7k/8k ARM64 SoCs.

    The Linux SDHCI core driver also writes 0 to this register before
    the new value is configured. So this patch simplifies the driver a bit
    and brings the U-Boot driver more in-line with the Linux one.

    Signed-off-by: Stefan Roese
    Cc: Jaehoon Chung
    Cc: Siva Durga Prasad Paladugu
    Cc: Michal Simek
    Reviewed-by: Jaehoon Chung

    Stefan Roese
     
  • Commit ac337168a unified functions to flush and invalidate dcache by
    range. These two functions were no-ops for SoCs other than 4xx and
    MPC86xx. Adding these functions seemed to be correct but introduced
    issues in some drivers when the dcache was flushed. While the root
    cause was under investigation, these functions were disabled in
    Commit cb1629f91a for affected SoCs, including the MPC85xx, to make
    the various drivers work.

    On the T208x USB stopped working after v2016.07 was pulled. After
    re-enabling the dcache functions for the MPC85xx it started working
    again. The USB and DPPA Ethernet drivers have been seen as
    operational after this change but other drivers cannot be tested.

    Reviewed-by: Chris Packham
    Signed-off-by: Tony O'Brien
    Cc: Marek Vasut
    Cc: York Sun
    Reviewed-by: York Sun

    Tony O'Brien
     
  • The read-only-write-enable bit is set by default and must be cleared
    to prevent overwriting read-only registers. This should be done
    immediately after resetting the PCI Express controller.

    Reviewed-by: Hamish Martin
    Signed-off-by: Tony O'Brien
    [York S: Move SYS_FSL_ERRATUM_A007815 to Kconfig]
    Reviewed-by: York Sun

    Tony O'Brien
     
  • Core hang occurs when using L1 stashes. Workaround is to disable L1
    stashes so software uses L2 cache for stashes instead.

    Reviewed-by: Chris Packham
    Signed-off-by: Darwin Dingel
    Cc: York Sun
    [York S: Move SYS_FSL_ERRATUM_A007907 to Kconfig]
    Reviewed-by: York Sun

    Darwin Dingel
     

24 Jan, 2017

2 commits