Skip to content
Snippets Groups Projects
  1. Apr 30, 2017
  2. Jan 31, 2017
    • Masahiro Yamada's avatar
      mmc: move CONFIG_GENERIC_MMC to Kconfig · 54925327
      Masahiro Yamada authored
      
      Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC.
      
      Let's create an entry for "config GENERIC_MMC" with "default MMC",
      then convert all macro defines in headers to Kconfig.  Almost all
      of the defines will go away.
      
      I see only two exceptions:
        configs/blanche_defconfig
        configs/sandbox_noblk_defconfig
      
      They define CONFIG_GENERIC_MMC, but not CONFIG_MMC.  Something
      might be wrong with these two boards, so should be checked later.
      
      Anyway, this is the output of the moveconfig tool.
      
      This commit was created as follows:
      
      [1] create a config entry in drivers/mmc/Kconfig
      
      [2] tools/moveconfig.py -r HEAD GENERIC_MMC
      
      [3] manual clean-up of garbage comments in doc/README.* and
          include/configs/*.h
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      54925327
  3. 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
  4. Dec 29, 2016
    • 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
  5. Oct 23, 2016
  6. Sep 09, 2016
  7. Apr 25, 2016
  8. Feb 18, 2016
  9. Feb 16, 2016
  10. Aug 13, 2015
    • Nikita Kiryanov's avatar
      kconfig: add config option for shell prompt · 181bd9dc
      Nikita Kiryanov authored
      
      Add option to set shell prompt string from menuconfig and migrate
      boards globally.
      
      The migration is done as follows:
      - Boards that explicitly and unconditionally set CONFIG_SYS_PROMPT had the
        entry moved to their defconfig files.
      - Boards that defined some kind of #ifdef logic which selects the
        CONFIG_SYS_PROMPT (for example qemu-mips) got an #undef CONFIG_SYS_PROMPT
        right before the #ifdef logic and were left alone.
      - This change forces CONFIG_SYS_PROMPT to be a per board decision, and thus
        CONFIG_SYS_PROMPT was removed from all <soc>_common.h and <arch>_common.h
        files. This results in a streamlined default value across platforms, and
        includes the following files: spear-common, sunxi-common, mv-common,
        ti_armv7_common, tegra-common, at91-sama5_common, and zynq-common.
      - Boards that relied on <arch/soc>_common.h values of CONFIG_SYS_PROMPT were
        not updated in their respective defconfig files under the assumption that
        since they did not explicitly define a value, they're fine with whatever
        the default is.
      - On the other hand, boards that relied on a value defined in some
        <boards>_common.h file such as woodburn_common, rpi-common,
        bur_am335x_common, ls2085a_common, siemens_am33x_common, and
        omap3_evm_common, had their values moved to the respective defconfig files.
      - The define V_PROMPT was removed, since it is not used anywhere except for
        assigning a value for CONFIG_SYS_PROMPT.
      
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      [trini: Add spring, sniper, smartweb to conversion]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      181bd9dc
  11. Jun 01, 2015
  12. Mar 30, 2015
  13. Mar 04, 2015
  14. Dec 11, 2014
    • Simon Glass's avatar
      dm: i2c: tegra: Convert to driver model · b0e6ef46
      Simon Glass authored
      
      This converts all Tegra boards over to use driver model for I2C. The driver
      is adjusted to use driver model and the following obsolete CONFIGs are
      removed:
      
         - CONFIG_SYS_I2C_INIT_BOARD
         - CONFIG_I2C_MULTI_BUS
         - CONFIG_SYS_MAX_I2C_BUS
         - CONFIG_SYS_I2C_SPEED
         - CONFIG_SYS_I2C
      
      This has been tested on:
      - trimslice (no I2C)
      - beaver
      - Jetson-TK1
      
      It has not been tested on Tegra 114 as I don't have that board.
      
      Acked-by: default avatarHeiko Schocher <hs@denx.de>
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      b0e6ef46
  15. Sep 25, 2014
  16. Mar 04, 2014
  17. Jul 24, 2013
  18. Jul 23, 2013
  19. Jun 13, 2013
  20. Mar 14, 2013
  21. Nov 19, 2012
  22. Oct 29, 2012
    • Stephen Warren's avatar
      ARM: tegra: Seaboard: enable multiple USB ports · e73c7cdd
      Stephen Warren authored
      
      The device tree already contains the required configuration for both the
      USB1 and USB3 ports. Enable the required configuration options to enable
      both these ports, which in turn allows the USB1 port to be used.
      
      Note that on a true Seaboard, this port is typically used as a device
      port hosting Tegra's USB recovery protocol. However, on the Springbank
      derivative, this port is the only external USB port, so we enable it as
      a host port so that USB peripherals may be used. Enabling this port in
      U-Boot as a host port doesn't prevent the port from reverting to a
      device port when the CPU is reset into recovery mode.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      e73c7cdd
  23. Oct 15, 2012
  24. Sep 10, 2012
  25. Sep 07, 2012
  26. Sep 05, 2012
    • Stephen Warren's avatar
      tegra: put eMMC environment into the boot sectors · 1c1ec3c0
      Stephen Warren authored
      
      When I set up Tegra's config files to put the environment into eMMC, I
      assumed that CONFIG_ENV_OFFSET was a linearized address relative to the
      start of the eMMC device, and spanning HW partitions boot0, boot1,
      general* and the user area in order. However, it turns out that the
      offset is actually relative to the beginning of the user area. Hence,
      the environment block ended up in a different location to expected and
      documented.
      
      Set CONFIG_SYS_MMC_ENV_PART=2 (boot1) to solve this, and adjust
      CONFIG_ENV_OFFSET to be relative to the start of boot1, not the entire
      eMMC.
      
      Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
      Signed-off-by: default avatarAndy Fleming <afleming@freescale.com>
      1c1ec3c0
  27. Sep 01, 2012
  28. Jul 07, 2012
    • Tom Warren's avatar
      arm: Tegra: Use ODMDATA from BCT in IRAM · 76e350b7
      Tom Warren authored
      
      Walk the BIT and BCT to find the ODMDATA word in the
      CustomerData field and put it into Scratch20 reg for
      use by kernel, etc.
      
      Built all Tegra builds OK; Booted on Seaboard and saw
      ODMDATA in PMC scratch20 was the same as the value in my
      burn-u-boot.sh file (0x300D8011). NOTE: All flash utilities
      will have to specify the odmdata (nvflash --odmdata n) on
      the command line or via a cfg file, or built in to their
      BCT.
      
      Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
      Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
      76e350b7
Loading