Skip to content
Snippets Groups Projects
  1. Jan 21, 2017
  2. Jan 20, 2017
  3. Jan 18, 2017
  4. Jan 17, 2017
  5. Jan 14, 2017
  6. Jan 13, 2017
  7. Jan 12, 2017
  8. Jan 11, 2017
    • Masahiro Yamada's avatar
      mmc: move more driver config options to Kconfig · 1d2c0506
      Masahiro Yamada authored
      
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      1d2c0506
    • Masahiro Yamada's avatar
      ARM: davinci: remove unused CONFIG_DAVINCI_MMC_SD1 · 0ec6eb54
      Masahiro Yamada authored
      
      This CONFIG is not referenced from anywhere.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      0ec6eb54
    • Masahiro Yamada's avatar
      mmc: move DesignWare-based drivers to Kconfig · ae4c81e9
      Masahiro Yamada authored
      
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      ae4c81e9
    • Masahiro Yamada's avatar
      mmc: move CONFIG_DWMMC to Kconfig, renaming to CONFIG_MMC_DW · 55ed3b46
      Masahiro Yamada authored
      
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      55ed3b46
    • Masahiro Yamada's avatar
      ARM: socfpga: remove unused CONFIG option and cleanup README.socfpga · b1b1add3
      Masahiro Yamada authored
      
      CONFIG_SOCFPGA_DWMMC_FIFO_DEPTH is defined in the socfpga_common.h,
      but not referenced at all.  Remove.
      
      Also, clean-up the README.socfpga.  CONFIG_MMC should not be defined
      in the header since it was moved to Kconfig by commit c2726995
      ("mmc: complete unfinished move of CONFIG_MMC").  I see no grep hit
      for the others.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarMarek Vasut <marex@denx.de>
      b1b1add3
    • Michal Simek's avatar
      ARM64: zynqmp: Move CONFIG_AHCI from board file · 7364dfe7
      Michal Simek authored
      
      Move configuration option from board file to defconfig.
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      7364dfe7
  9. Jan 10, 2017
    • Siva Durga Prasad Paladugu's avatar
      ARM64: zynqmp: Enable fastboot for first SD/MMC/EMMC device · 5ce987fe
      Siva Durga Prasad Paladugu authored
      
      DNL numbers are not changed that's why fastboot needs to be called with
      -i parameter (Xilinx vendor id).
      
      - Show available devices
      sudo fastboot -i 0x03fd devices
      xilinx_zynqmp_zcu100	fastboot
      
      - Stop fastboot and go back to U-Boot prompt
      sudo fastboot -i 0x03fd continue
      
      - Reboot the board
      sudo fastboot -i 0x03fd reboot
      
      - Get internal variables
      sudo fastboot -i 0x3fd getvar bootloader-version
      bootloader-version: U-Boot 2016.07-00026-g19bd53044817
      sudo fastboot -i 0x3fd getvar downloadsize
      downloadsize: 0x06000000
      sudo fastboot -i 0x3fd getvar version
      version: 0.4
      (regular variables needs to have fastboot. prefix - there is also
      serialno variable which should be define as serial#)
      
      - Format SD/MMC/EMMC card
      sudo fastboot -i 0x3fd oem format
      - Write images to boot and Linux partition
      sudo fastboot -i 0x3fd flash boot sd.img
      sudo fastboot -i 0x3fd flash Linux os.img
      
      - Creating sd.img or os.img
      $ dd if=/dev/zero of=sd.img bs=1024 count=1024
      $ mkfs.vfat sd.img
      $ mkdir sd-mount
      $ mount -o loop sd.img sd-mount
      $ echo foo > sd-mount/bar
      $ umount sd-mount
      
      partitions setting should be checked by running gpt command.
      
      Signed-off-by: default avatarSiva Durga Prasad Paladugu <sivadur@xilinx.com>
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      5ce987fe
Loading