1. 11 1月, 2017 4 次提交
    • M
      mmc: move more driver config options to Kconfig · 1d2c0506
      Masahiro Yamada 提交于
      Move (and rename) the following CONFIG options to Kconfig:
      
        CONFIG_DAVINCI_MMC  (renamed to CONFIG_MMC_DAVINCI)
        CONFIG_OMAP_HSMMC   (renamed to CONFIG_MMC_OMAP_HS)
        CONFIG_MXC_MMC      (renamed to CONFIG_MMC_MXC)
        CONFIG_MXS_MMC      (renamed to CONFIG_MMC_MXS)
        CONFIG_TEGRA_MMC    (renamed to CONFIG_MMC_SDHCI_TEGRA)
        CONFIG_SUNXI_MMC    (renamed to CONFIG_MMC_SUNXI)
      
      They are the same option names as used in Linux.
      
      This commit was created as follows:
      
      [1] Rename the options with the following command:
      
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g
      s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g
      s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g
      s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g
      s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g
      s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
      '
      
      [2] Commit the changes
      
      [3] Create entries in driver/mmc/Kconfig.
          (copied from Linux)
      
      [4] Move the options with the following command
      tools/moveconfig.py -y -r HEAD \
      MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI
      
      [5] Sort and align drivers/mmc/Makefile for readability
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      1d2c0506
    • M
      mmc: move DesignWare-based drivers to Kconfig · ae4c81e9
      Masahiro Yamada 提交于
      Move (and rename) the following CONFIG options to Kconfig:
      
        CONFIG_EXYNOS_DWMMC  (renamed to CONFIG_MMC_DW_EXYNOS)
        CONFIG_HIKEY_DWMMC   (renamed to CONFIG_MMC_DW_K3)
        CONFIG_SOCFPGA_DWMMC (renamed to CONFIG_MMC_DW_SOCFPGA)
      
      The "HIKEY" is a board name, so it is not suitable for the MMC
      controller name.  I am following the name used in Linux.
      
      This commit was generated as follows:
      
      [1] Rename the config options with the following command:
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_EXYNOS_DWMMC/CONFIG_MMC_DW_EXYNOS/g
      s/CONFIG_HIKEY_DWMMC/CONFIG_MMC_DW_K3/g
      s/CONFIG_SOCFPGA_DWMMC/CONFIG_MMC_DW_SOCFPGA/g
      '
      
      [2] Commit the changes
      
      [3] Create the entries in drivers/mmc/Kconfig
          (with default y for EXYNOS and SOCFPGA)
      
      [4] Run the following:
      tools/moveconfig.py -y -r HEAD MMC_DW_EXYNOS MMC_DW_K3 MMC_DW_SOCFPGA
      
      [5] Sort and align drivers/mmc/Makefile for readability
      
      [6] Clean-up doc/README.socfpga by hand
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      ae4c81e9
    • M
      mmc: move CONFIG_DWMMC to Kconfig, renaming to CONFIG_MMC_DW · 55ed3b46
      Masahiro Yamada 提交于
      This commit was created as follows:
      
      [1] Rename the option with the following command:
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e 's/CONFIG_DWMMC/CONFIG_MMC_DW/g'
      
      [2] create the entry for MMC_DW in drivers/mmc/Kconfig
          (the prompt and help were copied from Linux)
      
      [3] run "tools/moveconfig.py -y MMC_DW"
      
      [4] add "depends on MMC_DW" to the MMC_DW_ROCKCHIP entry
      
      [5] Clean-up doc/README.socfpga by hand
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      55ed3b46
    • M
      mmc: rename CONFIG_ROCKCHIP_DWMMC to CONFIG_MMC_DW_ROCKCHIP · fed44087
      Masahiro Yamada 提交于
      I am trying to make all DesignWare-based driver options prefixed
      with CONFIG_MMC_DW_.
      
      This commit was generated as follows:
      
      find . -name .git -prune -o -type f -print | \
      xargs sed -i -e 's/ROCKCHIP_DWMMC/MMC_DW_ROCKCHIP/g'
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      fed44087
  2. 10 1月, 2017 1 次提交
  3. 05 1月, 2017 3 次提交
  4. 04 1月, 2017 3 次提交
  5. 03 1月, 2017 7 次提交
  6. 30 12月, 2016 5 次提交
    • M
      mmc: move some SDHCI related options to Kconfig · 45a68fe2
      Masahiro Yamada 提交于
      While I moved the options, I also renamed them so that they are all
      prefixed with MMC_SDHCI_.
      
      This commit was created in the following steps.
      
      [1] Rename with the following command
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e '
      s/CONFIG_MMC_SDMA/CONFIG_MMC_SDHCI_SDMA/g
      s/CONFIG_BCM2835_SDHCI/CONFIG_MMC_SDHCI_BCM2835/g
      s/CONFIG_KONA_SDHCI/CONFIG_MMC_SDHCI_KONA/g
      s/CONFIG_MV_SDHCI/CONFIG_MMC_SDHCI_MV/g
      s/CONFIG_S5P_SDHCI/CONFIG_MMC_SDHCI_S5P/g
      s/CONFIG_SPEAR_SDHCI/CONFIG_MMC_SDHCI_SPEAR/g
      '
      
      [2] create the Kconfig entries in drivers/mmc/Kconfig
      
      [3] Move the options by the following command
      tools/moveconfig.py -y MMC_SDHCI_SDMA MMC_SDHCI_BCM2835 \
      MMC_SDHCI_KONA MMC_SDHCI_MV MMC_SDHCI_S5P MMC_SDHCI_SPEAR
      
      [4] Sort drivers/mmc/Makefile for readability
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      45a68fe2
    • M
      mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI · e1ce61fb
      Masahiro Yamada 提交于
      Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI.
      My motivation for the rename is, ultimately, to make all the MMC
      options prefixed with MMC_ and SDHCI options with MMC_SDHCI_,
      like Linux.
      
      This commit was created as follows:
      
      [1] Rename the config option with the following command:
      find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
      -type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g'
      
      [2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig
      
      [3] run "tools/moveconfig.py -y MMC_SDHCI"
      
      [4] add "depends on MMC_SDHCI" to existing SDHCI driver entries
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      e1ce61fb
    • M
      mmc: make MMC driver entries dependent on MMC · e298c46a
      Masahiro Yamada 提交于
      Currently, CONFIG_MMC is not related to any other options by
      "depends on" or "select".  One of big advantages of using Kconfig
      is automatic dependency tracking, but the current state is lacking
      it.  As the first step, make the existing MMC driver entries depend
      on MMC.
      
      This commit was created by the following steps:
      
      [1] Run the following script:
      
      --------------------8<--------------------
      rm -f tmp.txt
      
      for d in $(find . -path './configs/*_defconfig')
      do
              if grep -q -e 'CONFIG_MSM_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ATMEL_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ROCKCHIP_DWMMC=y' $d ||
                 grep -q -e 'CONFIG_SH_SDHI=y' $d ||
                 grep -q -e 'CONFIG_PIC32_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ZYNQ_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_ROCKCHIP_SDHCI=y' $d ||
                 grep -q -e 'CONFIG_MMC_UNIPHIER=y' $d ||
                 grep -q -e 'CONFIG_SANDBOX_MMC=y' $d
              then
                      echo CONFIG_MMC=y >> $d
                      echo ${d#./configs/} >> tmp.txt
              fi
      done
      
      tools/moveconfig.py -y -s -d tmp.txt
      rm tmp.txt
      --------------------8<--------------------
      
      [2] surround MMC driver entries with "if MMC" and "endif"
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      e298c46a
    • M
      mmc: complete unfinished move of CONFIG_MMC · c2726995
      Masahiro Yamada 提交于
      Commit 7a777f6d ("mmc: Add generic Kconfig option") created
      a Kconfig entry for this option without any actual moves, then
      commit 44c79879 ("sunxi: Use Kconfig CONFIG_MMC") moved
      instances only for SUNXI.
      
      We generally do not like such partial moves.  This kind of work
      is automated by tools/moveconfig.py, so it is pretty easy to
      complete this move.
      
      I am adding "default ARM || PPC || SANDBOX" (suggested by Tom).
      This shortens the configs and will ease new board porting.
      
      This commit was created as follows:
      
      [1] Edit Kconfig (remove the "depends on", add the "default",
          copy the prompt and help message from Linux)
      
      [2] Run 'tools/moveconfig.py -y -s -r HEAD MMC'
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      c2726995
    • M
      Sync defconfig files by savedefconfig · 18780951
      Masahiro Yamada 提交于
      Generated by "tools/moveconfig -s".
      
      This will make config moves easier.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      18780951
  7. 22 12月, 2016 1 次提交
  8. 21 12月, 2016 2 次提交
  9. 20 12月, 2016 1 次提交
  10. 17 12月, 2016 12 次提交
    • J
      imx6: icorem6_rqs: Add FEC support · 854bb75b
      Jagan Teki 提交于
      Add FEC support for Engicam i.CoreM6 RQS modules.
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      854bb75b
    • J
      imx6: geam6ul: Add FEC support · bd363f80
      Jagan Teki 提交于
      Add FEC support for Engicam GEAM6UL module.
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      bd363f80
    • J
      imx6: icorem6_rqs: Add I2C support · dca7c287
      Jagan Teki 提交于
      Add I2C support for Engicam i.CoreM6 RQS modules.
      
      icorem6qdl-rqs> i2c bus
      Bus 0:  i2c@021a0000
      Bus 1:  i2c@021a4000
      Bus 2:  i2c@021a8000
      icorem6qdl-rqs> i2c dev 0
      Setting bus to 0
      icorem6qdl-rqs> i2c speed 100000
      Setting bus speed to 100000 Hz
      icorem6qdl-rqs> i2c probe
      Valid chip addresses: 4F
      icorem6qdl-rqs> i2c md 4F 0xff
      00ff: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
      icorem6qdl-rqs> i2c bus
      Bus 0:  i2c@021a0000  (active 0)
         4f: generic_4f, offset len 1, flags 0
      Bus 1:  i2c@021a4000
      Bus 2:  i2c@021a8000
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      dca7c287
    • J
      imx6: icorem6: Rename engicam icorem6 defconfig files · 5bdf6b57
      Jagan Teki 提交于
      Rename defconfig files for better compatible with
      respective board names and dts files.
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      5bdf6b57
    • J
      arm: imx6q: Add Engicam i.CoreM6 Solo/Duallite RQS Starter Kit initial support · 6121a54d
      Jagan Teki 提交于
      Boot from MMC:
      -------------
      U-Boot SPL 2016.11-rc2-g217bd8e-dirty (Nov 08 2016 - 22:56:07)
      Trying to boot from MMC1
      
      U-Boot 2016.11-rc2-g217bd8e-dirty (Nov 08 2016 - 22:56:07 +0530)
      
      CPU:   Freescale i.MX6DL rev1.3 at 792 MHz
      Reset cause: POR
      Model: Engicam i.CoreM6 DualLite/Solo RQS Starter Kit
      DRAM:  512 MiB
      MMC:   FSL_SDHC: 0
      *** Warning - bad CRC, using default environment
      
      In:    serial
      Out:   serial
      Err:   serial
      Net:   CPU Net Initialization Failed
      No ethernet found.
      Hit any key to stop autoboot:  0
      icorem6qdl-rqs>
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      6121a54d
    • J
      arm: imx6q: Add Engicam i.CoreM6 Quad/Dual RQS Starter Kit initial support · 871ec6da
      Jagan Teki 提交于
      Boot from MMC:
      -------------
      U-Boot SPL 2016.11-rc2-g217bd8e-dirty (Nov 08 2016 - 22:59:44)
      Trying to boot from MMC1
      
      U-Boot 2016.11-rc2-g217bd8e-dirty (Nov 08 2016 - 22:59:44 +0530)
      
      CPU:   Freescale i.MX6D rev1.2 at 792 MHz
      Reset cause: POR
      Model: Engicam i.CoreM6 Quad/Dual RQS Starter Kit
      DRAM:  512 MiB
      MMC:   FSL_SDHC: 0
      *** Warning - bad CRC, using default environment
      
      In:    serial
      Out:   serial
      Err:   serial
      Net:   CPU Net Initialization Failed
      No ethernet found.
      Hit any key to stop autoboot:  0
      icorem6qdl-rqs>
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      871ec6da
    • J
      imx6: geam6ul: Add NAND support · 084cbb60
      Jagan Teki 提交于
      Add NAND support for Engicam GEAM6UL board.
      
      Boot Log:
      --------
      U-Boot SPL 2016.11-g537fa5f (Nov 28 2016 - 11:42:28)
      Trying to boot from NAND
      NAND : 256 MiB
      
      U-Boot 2016.11-g537fa5f (Nov 28 2016 - 11:20:06 +0100)
      
      CPU:   Freescale i.MX6UL rev1.1 69 MHz (running at 396 MHz)
      CPU:   Automotive temperature grade (-40C to 125C) at 42C
      Reset cause: WDOG
      Model: Engicam GEAM6UL
      DRAM:  128 MiB
      NAND:  256 MiB
      MMC:   FSL_SDHC: 0
      * Warning - bad CRC, using default environment
      
      In:    serial
      Out:   serial
      Err:   serial
      Net:   No ethernet found.
      Hit any key to stop autoboot:  0
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      084cbb60
    • J
      imx6: geam6ul: Add I2C support · d31373c4
      Jagan Teki 提交于
      Add I2C support for Engicam GEAM6UL module.
      
      geam6ul> i2c bus
      Bus 0:  i2c@021a0000
      Bus 1:  i2c@021a4000
      geam6ul> i2c dev 0
      Setting bus to 0
      geam6ul> i2c dev
      Current bus is 0
      geam6ul> i2c speed 100000
      Setting bus speed to 100000 Hz
      geam6ul> i2c probe
      Valid chip addresses: 2C
      geam6ul> i2c md 2C 0xff
      00ff: 00 00 00 00 0f f0 01 64 ff ff 00 00 00 00 00 00    .......d........
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      d31373c4
    • J
      arm: imx6ul: Add Engicam GEAM6UL Starter Kit initial support · a5b9f8c8
      Jagan Teki 提交于
      Boot Log:
      --------
      U-Boot SPL 2016.11-rc2-00144-g922adaa-dirty (Oct 28 2016 - 18:55:30)
      Trying to boot from MMC1
      
      U-Boot 2016.11-rc2-00144-g922adaa-dirty (Oct 28 2016 - 18:55:30 +0530)
      
      CPU:   Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)
      CPU:   Industrial temperature grade (-40C to 105C) at 43C
      Reset cause: POR
      Model: Engicam GEAM6UL
      DRAM:  128 MiB
      MMC:   FSL_SDHC: 0
      *** Warning - bad CRC, using default environment
      
      In:    serial
      Out:   serial
      Err:   serial
      Net:   CPU Net Initialization Failed
      No ethernet found.
      Hit any key to stop autoboot:  0
      geam6ul>
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      a5b9f8c8
    • J
      imx6: icorem6: Add I2C support · d90384e8
      Jagan Teki 提交于
      Add I2C support for Engicam i.CoreM6 qdl board.
      
      icorem6qdl> i2c bus
      Bus 0:  i2c@021a0000
      Bus 1:  i2c@021a4000
      Bus 2:  i2c@021a8000
      icorem6qdl> i2c dev 2
      Setting bus to 2
      icorem6qdl> i2c speed 100000
      Setting bus speed to 100000 Hz
      icorem6qdl> i2c probe
      Valid chip addresses: 2C
      icorem6qdl> i2c md 2C 0xff
      00ff: 00 00 00 00 0f f0 01 64 ff ff 00 00 00 00 00 00    .......d........
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      Acked-by: NHeiko Schocher <hs@denx.de>
      d90384e8
    • J
      imx6: icorem6: Add framebuffer support · ca7463c9
      Jagan Teki 提交于
      Add IPUv3 framebuffer support for Engicam i.CoreM6 qdl board.
      
      Cc: Anatolij Gustschin <agust@denx.de>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      ca7463c9
    • J
      icorem6: Use CONFIG_DM_ETH support · e920f607
      Jagan Teki 提交于
      Use CONFIG_DM_ETH and remove board_eth_init code
      from board files.
      
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Peng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      e920f607
  11. 16 12月, 2016 1 次提交
    • P
      arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC · 98d62e61
      Patrick Bruenn 提交于
      Add CX9020 board based on mx53loco.
      Add simplified imx53 base device tree from kernel v4.8-rc8, to reuse
      serial_mxc with DTE and prepare for device tree migration of other
      functions and imx53 devices.
      
      The CX9020 differs from i.MX53 Quick Start Board by:
      - use uart2 instead of uart1
      - DVI-D connector instead of VGA
      - no audio
      - CCAT FPGA connected to emi
      - enable rtc
      Signed-off-by: NPatrick Bruenn <p.bruenn@beckhoff.com>
      98d62e61