1. 11 Jan, 2017 1 commit
    • 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: 's avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: 's avatarMarek Vasut <marex@denx.de>
      1d2c0506
  2. 16 Feb, 2016 1 commit
  3. 19 Jan, 2016 1 commit
  4. 10 Nov, 2015 1 commit
    • Tom Rini's avatar
      Various Makefiles: Add SPDX-License-Identifier tags · da58dec8
      Tom Rini authored
      After consulting with some of the SPDX team, the conclusion is that
      Makefiles are worth adding SPDX-License-Identifier tags too, and most of
      ours have one.  This adds tags to ones that lack them and converts a few
      that had full (or in one case, very partial) license blobs into the
      equivalent tag.
      
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Signed-off-by: 's avatarTom Rini <trini@konsulko.com>
      da58dec8
  5. 13 May, 2015 1 commit
  6. 13 Sep, 2014 1 commit
  7. 31 Aug, 2014 1 commit
  8. 30 Jul, 2014 2 commits
    • Masahiro Yamada's avatar
      Add board MAINTAINERS files · 93d4334f
      Masahiro Yamada authored
      We have switched to Kconfig and the boards.cfg file is going to
      be removed. We have to retrieve the board status and maintainers
      information from it.
      
      The MAINTAINERS format as in Linux Kernel would be nice
      because we can crib the scripts/get_maintainer.pl script.
      
      After some discussion, we chose to put a MAINTAINERS file under each
      board directory, not the top-level one because we want to collect
      relevant information for a board into a single place.
      
      TODO:
      Modify get_maintainer.pl to scan multiple MAINTAINERS files.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: 's avatarTom Rini <trini@ti.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      93d4334f
    • Masahiro Yamada's avatar
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada authored
      This commit adds:
       - arch/${ARCH}/Kconfig
          provide a menu to select target boards
       - board/${VENDOR}/${BOARD}/Kconfig or board/${BOARD}/Kconfig
          set CONFIG macros to the appropriate values for each board
       - configs/${TARGET_BOARD}_defconfig
          default setting of each board
      
      (This commit was automatically generated by a conversion script
      based on boards.cfg)
      
      In Linux Kernel, defconfig files are located under
      arch/${ARCH}/configs/ directory.
      It works in Linux Kernel since ARCH is always given from the
      command line for cross compile.
      
      But in U-Boot, ARCH is not given from the command line.
      Which means we cannot know ARCH until the board configuration is done.
      That is why all the "*_defconfig" files should be gathered into a
      single directory ./configs/.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      dd84058d
  9. 17 Apr, 2014 1 commit
  10. 19 Feb, 2014 1 commit
    • Masahiro Yamada's avatar
      kbuild: change out-of-tree build · 9e414032
      Masahiro Yamada authored
      This commit changes the working directory
      where the build process occurs.
      
      Before this commit, build process occurred under the source
      tree for both in-tree and out-of-tree build.
      
      That's why we needed to add $(obj) prefix to all generated
      files in makefiles like follows:
        $(obj)u-boot.bin:  $(obj)u-boot
      
      Here, $(obj) is empty for in-tree build, whereas it points
      to the output directory for out-of-tree build.
      
      And our old build system changes the current working directory
      with "make -C <sub-dir>" syntax when descending into the
      sub-directories.
      
      On the other hand, Kbuild uses a different idea
      to handle out-of-tree build and directory descending.
      
      The build process of Kbuild always occurs under the output tree.
      When "O=dir/to/store/output/files" is given, the build system
      changes the current working directory to that directory and
      restarts the make.
      
      Kbuild uses "make -f $(srctree)/scripts/Makefile.build obj=<sub-dir>"
      syntax for descending into sub-directories.
      (We can write it like "make $(obj)=<sub-dir>" with a shorthand.)
      This means the current working directory is always the top
      of the output directory.
      Signed-off-by: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: 's avatarGerhard Sittig <gsi@denx.de>
      9e414032
  11. 17 Nov, 2013 1 commit
  12. 01 Nov, 2013 1 commit
  13. 14 Mar, 2013 1 commit
  14. 16 Jan, 2013 1 commit
  15. 19 Nov, 2012 1 commit
    • Stephen Warren's avatar
      ARM: tegra: enable 8-bit SD slots in board files · 72573543
      Stephen Warren authored
      Harmony contains an SD slot with all 8 bits routed. This allows plugging
      in an eMMC-chip-in-SD-form-factor.
      
      Seaboard/Springbank/Ventana/AC100 all have an eMMC chip with all 8 bits
      hooked up.
      
      Now that the U-Boot eMMC code fully supports 8-bit operation, initialize
      those ports as 8-bit instead of 4-bit to improve performance.
      
      Whistler was already registering its ports as 8-bit.
      
      TrimSlice doesn't have any 8-bit ports.
      
      I don't have any Avionic Design boards nor the Colibri board to test with.
      Signed-off-by: 's avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: 's avatarTom Warren <twarren@nvidia.com>
      72573543
  16. 29 Oct, 2012 1 commit
  17. 15 Oct, 2012 2 commits
    • Lucas Stach's avatar
      tegra20: rework UART GPIO handling · 0cd10c7a
      Lucas Stach authored
      Rename board provided gpio_config_uart() to
      gpio_early_init_uart() as it does the same thing as the equally
      called function provided by the uart-switch code. This allows
      to simply call this function in early board init whether or not
      we are building with CONFIG_UART_SWITCH defined.
      
      Also provide a weak symbol for this function, to avoid the
      need to provide this function for boards that don't need any
      fixup.
      
      This patch supersedes the earlier posted
      "tegra: convert gpio_config_uart to weak symbol".
      Build tested with MAKEALL -s tegra20
      Signed-off-by: 's avatarLucas Stach <dev@lynxeye.de>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: 's avatarTom Warren <twarren@nvidia.com>
      0cd10c7a
    • Tom Warren's avatar
      Tegra20: Move some include files to arch-tegra for sharing with Tegra30 · 150c2493
      Tom Warren authored
      The move is pretty straight-forward. ap20.h and tegra20.h were renamed to ap.h and tegra.h.
      Some files remain in arch-tegra20 but 'include' a file in 'arch-tegra' with #defines & structs
      that will be common between T20 and T30 HW. HW-specific #defines, etc. stay in the 'arch-tegra20'
      'root' file.
      
      All boards build OK w/MAKEALL -s tegra20. Checkpatch.pl runs clean. Seaboard works OK.
      Signed-off-by: 's avatarTom Warren <twarren@nvidia.com>
      150c2493
  18. 10 Sep, 2012 1 commit
  19. 01 Sep, 2012 2 commits
  20. 09 Jul, 2012 1 commit
  21. 07 Jul, 2012 2 commits
  22. 12 Feb, 2012 1 commit
    • Stephen Warren's avatar
      tegra2: Add support for Compal Paz00 (Toshiba AC100) · 2996e2dc
      Stephen Warren authored
      The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook
      derived from the NVIDIA Tegra Harmony reference board. It ships with
      Android, but is often repurposed to run Linux. This patch adds just enough
      support to get a U-Boot serial console, and the ability access built-in
      eMMC and the external SD slot.
      
      v2:
      * Rebased on latest HEAD, incorporated changes made to other board files.
      * Moved board files from board/nvidia to board/compal.
      * Switched to correct odmdata value. This required add the previous patch
        to fix U-Boot's interpretation of the odmdata RAM size field.
      * Removed nvmem= from default Linux kernel command-line; no drivers use the
        reserved memory yet, so there's no point reserving it.
      Signed-off-by: 's avatarStephen Warren <swarren@nvidia.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: 's avatarTom Warren <twarren@nvidia.com>
      2996e2dc