Skip to content
Snippets Groups Projects
  1. 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
  2. Feb 16, 2016
  3. Jan 19, 2016
  4. Nov 10, 2015
    • 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: default avatarTom Rini <trini@konsulko.com>
      da58dec8
  5. May 13, 2015
  6. Sep 13, 2014
  7. Aug 31, 2014
  8. Jul 30, 2014
    • 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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Suggested-by: default avatarTom Rini <trini@ti.com>
      Acked-by: default 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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      dd84058d
  9. Apr 17, 2014
  10. Feb 19, 2014
    • Masahiro Yamada's avatar
      dts: move device tree sources to arch/$(ARCH)/dts/ · 5ab502cb
      Masahiro Yamada authored
      
      Unlike Linux Kernel, U-Boot historically had *.dts files under
      board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/.
      
      I think arch/$(ARCH)/dts dicretory is a better location
      to store both *.dts and *.dtsi files.
      
      For example, before this commit, board/xilinx/dts directory
      had both Microblaze dts (microblaze-generic.dts) and
      ARM dts (zynq-*.dts), which are totally unrelated.
      
      This commit moves *.dts to arch/$(ARCH)/dts/ directories,
      allowing us to describe nicely mutiple DTBs generation in the next commit.
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      5ab502cb
    • 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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Tested-by: default avatarGerhard Sittig <gsi@denx.de>
      9e414032
  11. Nov 17, 2013
  12. Nov 01, 2013
  13. Mar 14, 2013
  14. Jan 17, 2013
  15. Jan 16, 2013
  16. Nov 19, 2012
    • 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: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      72573543
  17. Oct 29, 2012
  18. Oct 15, 2012
    • 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: default avatarLucas Stach <dev@lynxeye.de>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default 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: default avatarTom Warren <twarren@nvidia.com>
      150c2493
  19. Sep 10, 2012
  20. Sep 01, 2012
  21. Jul 09, 2012
  22. Jul 07, 2012
  23. Feb 12, 2012
    • 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: default avatarStephen Warren <swarren@nvidia.com>
      Acked-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      2996e2dc
Loading