1. 22 1月, 2017 1 次提交
  2. 21 1月, 2017 3 次提交
  3. 20 1月, 2017 1 次提交
    • A
      ARM: omap3_logic: Refactor Boot Environmental variables · 476e16e8
      Adam Ford 提交于
      Some scripts are calling the same functions, so these changes consolidate
      common scripts together to reduce redundancy and shrink size a bit.  This
      also keeps the 'bootargs' variable from growing if manually called more
      than one time. This also adds NAND booting scripts based on newly consolidated
      scripts.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      476e16e8
  4. 19 1月, 2017 13 次提交
  5. 18 1月, 2017 1 次提交
  6. 17 1月, 2017 2 次提交
  7. 15 1月, 2017 7 次提交
  8. 14 1月, 2017 1 次提交
  9. 12 1月, 2017 4 次提交
  10. 11 1月, 2017 6 次提交
    • 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
      ARM: davinci: remove unused CONFIG_DAVINCI_MMC_SD1 · 0ec6eb54
      Masahiro Yamada 提交于
      This CONFIG is not referenced from anywhere.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      0ec6eb54
    • 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
      ARM: socfpga: remove unused CONFIG option and cleanup README.socfpga · b1b1add3
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NMarek Vasut <marex@denx.de>
      b1b1add3
    • M
      ARM64: zynqmp: Move CONFIG_AHCI from board file · 7364dfe7
      Michal Simek 提交于
      Move configuration option from board file to defconfig.
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      7364dfe7
  11. 10 1月, 2017 1 次提交
    • S
      ARM64: zynqmp: Enable fastboot for first SD/MMC/EMMC device · 5ce987fe
      Siva Durga Prasad Paladugu 提交于
      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: NSiva Durga Prasad Paladugu <sivadur@xilinx.com>
      Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
      5ce987fe