1. 09 Jan, 2017 1 commit
  2. 05 Jan, 2017 3 commits
  3. 04 Jan, 2017 3 commits
  4. 02 Jan, 2017 7 commits
  5. 29 Dec, 2016 5 commits
    • Masahiro Yamada's avatar
      mmc: move some SDHCI related options to Kconfig · 45a68fe2
      Masahiro Yamada authored
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      45a68fe2
    • Masahiro Yamada's avatar
      mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI · e1ce61fb
      Masahiro Yamada authored
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      e1ce61fb
    • Masahiro Yamada's avatar
      mmc: make MMC driver entries dependent on MMC · e298c46a
      Masahiro Yamada authored
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      e298c46a
    • Masahiro Yamada's avatar
      mmc: complete unfinished move of CONFIG_MMC · c2726995
      Masahiro Yamada authored
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      c2726995
    • Masahiro Yamada's avatar
      Sync defconfig files by savedefconfig · 18780951
      Masahiro Yamada authored
      Generated by "tools/moveconfig -s".
      
      This will make config moves easier.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      18780951
  6. 22 Dec, 2016 1 commit
  7. 21 Dec, 2016 2 commits
  8. 20 Dec, 2016 1 commit
  9. 16 Dec, 2016 17 commits
    • Jagan Teki's avatar
      imx6: icorem6_rqs: Add FEC support · 854bb75b
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      854bb75b
    • Jagan Teki's avatar
      imx6: geam6ul: Add FEC support · bd363f80
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      bd363f80
    • Jagan Teki's avatar
      imx6: icorem6_rqs: Add I2C support · dca7c287
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      dca7c287
    • Jagan Teki's avatar
      imx6: icorem6: Rename engicam icorem6 defconfig files · 5bdf6b57
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      5bdf6b57
    • Jagan Teki's avatar
      arm: imx6q: Add Engicam i.CoreM6 Solo/Duallite RQS Starter Kit initial support · 6121a54d
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      6121a54d
    • Jagan Teki's avatar
      arm: imx6q: Add Engicam i.CoreM6 Quad/Dual RQS Starter Kit initial support · 871ec6da
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      871ec6da
    • Jagan Teki's avatar
      imx6: geam6ul: Add NAND support · 084cbb60
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      084cbb60
    • Jagan Teki's avatar
      imx6: geam6ul: Add I2C support · d31373c4
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      d31373c4
    • Jagan Teki's avatar
      arm: imx6ul: Add Engicam GEAM6UL Starter Kit initial support · a5b9f8c8
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      a5b9f8c8
    • Jagan Teki's avatar
      imx6: icorem6: Add I2C support · d90384e8
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      d90384e8
    • Jagan Teki's avatar
      imx6: icorem6: Add framebuffer support · ca7463c9
      Jagan Teki authored
      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: default avatarJagan Teki <jagan@amarulasolutions.com>
      ca7463c9
    • Jagan Teki's avatar
      icorem6: Use CONFIG_DM_ETH support · e920f607
      Jagan Teki authored
      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: default avatarJoe Hershberger <joe.hershberger@ni.com>
      Signed-off-by: default avatarJagan Teki <jagan@amarulasolutions.com>
      e920f607
    • Patrick Bruenn's avatar
      arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC · 98d62e61
      Patrick Bruenn authored
      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: default avatarPatrick Bruenn <p.bruenn@beckhoff.com>
      98d62e61
    • Peng Fan's avatar
      imx: mx6sllevk: add plugin support · 8e1d92fd
      Peng Fan authored
      Add plugin support for mx6sllevk board.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      8e1d92fd
    • Peng Fan's avatar
      arm: imx: add i.MX6SLL EVK board support · 47f73504
      Peng Fan authored
      Add i.MX6SLL EVK board support.
      1. Add imx6sll-evk device tree.
      2. Enable SDHC/I2C/UART.
      3. Enable REGULATOR/PMIC/I2C/GPIO/SDHC/PINCTRL driver.
      
      Boot Log:
      U-Boot 2016.11-00127-gc635871-dirty (Nov 24 2016 - 13:28:19 +0800)
      
      CPU:   Freescale i.MX6SLL rev1.0 at 792MHz
      CPU:   Commercial temperature grade (0C to 95C)Reset cause: POR
      Model: Freescale i.MX6SLL EVK Board
      Board: MX6SLL EVK
      DRAM:  2 GiB
      i2c bus 0 at 35258368, no gpio pinctrl state.
      PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
      MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
      In:    serial
      Out:   serial
      Err:   serial
      Net:   CPU Net Initialization Failed
      No ethernet found.
      Hit any key to stop autoboot:  0
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      47f73504
    • Marcin Niestroj's avatar
      board/liteboard: Add support for liteBoard · c9e40e65
      Marcin Niestroj authored
      liteBoard is a development board which uses liteSOM as its base.
      
      Hardware specification:
       * liteSOM (i.MX6UL, DRAM, eMMC)
       * Ethernet PHY (id 0)
       * USB host (usb_otg1)
       * MicroSD slot (uSDHC1)
      Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
      c9e40e65
    • Breno Lima's avatar
      udoo_neo: Add Ethernet support · a11e30f8
      Breno Lima authored
      UDOO Neo boards has one FEC port connected to KSZ8091, add support for it.
      
      Tested on a UDOO Neo Full with "dhcp zImage" command.
      Signed-off-by: default avatarBreno Lima <breno.lima@nxp.com>
      a11e30f8