Skip to content
Snippets Groups Projects
  1. Apr 30, 2017
  2. Apr 13, 2017
  3. Feb 12, 2017
    • Masahiro Yamada's avatar
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada authored
      
      We repeated partial moves for CONFIG_SYS_NO_FLASH, but this is
      not completed. Finish this work by the tool.
      
      During this move, let's rename it to CONFIG_MTD_NOR_FLASH.
      Actually, we have more instances of "#ifndef CONFIG_SYS_NO_FLASH"
      than those of "#ifdef CONFIG_SYS_NO_FLASH".  Flipping the logic will
      make the code more readable.  Besides, negative meaning symbols do
      not fit in obj-$(CONFIG_...) style Makefiles.
      
      This commit was created as follows:
      
      [1] Edit "default n" to "default y" in the config entry in
          common/Kconfig.
      
      [2] Run "tools/moveconfig.py -y -r HEAD SYS_NO_FLASH"
      
      [3] Rename the instances in defconfigs by the following:
        find . -path './configs/*_defconfig' | xargs sed -i \
        -e '/CONFIG_SYS_NO_FLASH=y/d' \
        -e 's/# CONFIG_SYS_NO_FLASH is not set/CONFIG_MTD_NOR_FLASH=y/'
      
      [4] Change the conditionals by the following:
        find . -name '*.[ch]' | xargs sed -i \
        -e 's/ifndef CONFIG_SYS_NO_FLASH/ifdef CONFIG_MTD_NOR_FLASH/' \
        -e 's/ifdef CONFIG_SYS_NO_FLASH/ifndef CONFIG_MTD_NOR_FLASH/' \
        -e 's/!defined(CONFIG_SYS_NO_FLASH)/defined(CONFIG_MTD_NOR_FLASH)/' \
        -e 's/defined(CONFIG_SYS_NO_FLASH)/!defined(CONFIG_MTD_NOR_FLASH)/'
      
      [5] Modify the following manually
        - Rename the rest of instances
        - Remove the description from README
        - Create the new Kconfig entry in drivers/mtd/Kconfig
        - Remove the old Kconfig entry from common/Kconfig
        - Remove the garbage comments from include/configs/*.h
      
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  4. 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
  5. Jan 28, 2017
  6. 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
  7. Nov 19, 2016
  8. Oct 23, 2016
  9. Sep 16, 2016
  10. Sep 09, 2016
  11. Apr 25, 2016
  12. Apr 20, 2016
    • Sam Protsenko's avatar
      usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig · 3457bbaf
      Sam Protsenko authored
      
      Move CONFIG_USB_GADGET_DUALSPEED option to Kconfig and
      make all UDC controllers select USB_GADGET_DUALSPEED:
        - add next options to Kconfig selecting USB_GADGET_DUALSPEED:
          - USB_GADGET_ATMEL_USBA
          - USB_GADGET_DWC2_OTG
          - USB_DWC3
          - CI_UDC
        - make USB_MUSB_GADGET select USB_GADGET_DUALSPEED
      
      While at it, make some related fixes:
        - remove DUALSPEED from configs that don't enable gadget support:
          - kwb.h
          - tseries.h
        - add missing USB_GADGET option to next configs:
          - novena_defconfig
          - pcm051_rev*_defconfig
          - xfi3_defconfig
      
      Signed-off-by: default avatarSam Protsenko <semen.protsenko@linaro.org>
      3457bbaf
  13. Mar 25, 2016
  14. Nov 25, 2015
  15. Aug 21, 2015
  16. Jun 26, 2015
    • Joe Hershberger's avatar
      Move default y configs out of arch/board Kconfig · c9bb942e
      Joe Hershberger authored
      
      Some archs/boards specify their own default by pre-defining the config
      which causes the Kconfig system to mix up the order of the configs in
      the defconfigs... This will cause merge pain if allowed to proliferate.
      
      Remove the configs that behave this way from the archs.
      
      A few configs still remain, but that is because they only exist as
      defaults and do not have a proper Kconfig entry. Those appear to be:
      
      SPIFLASH
      DISPLAY_BOARDINFO
      
      Signed-off-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      [trini: rastaban, am43xx_evm_usbhost_boot, am43xx_evm_ethboot updates,
      drop DM_USB from MSI_Primo81 as USB_MUSB_SUNXI isn't converted yet to DM]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      c9bb942e
  17. Mar 31, 2015
    • Wu, Josh's avatar
      ARM: at91: sama5: move the common part of configurations to at91-sama5_common.h · b2d387bc
      Wu, Josh authored
      
      Create a new configuration file: at91-sama5_common.h. Which includes the
      configurations that reused by all SAMA5 chips.
      
      at91-sama5_common.h includes:
      - hw macros (clock, text_base and etc.)
      - default commands.
      - BOOTARGS
      - U-Boot common configs.
      NOTE: NOR flash definition should be put before including the common header.
      
      For sama5d3-xplained:
      - add CMD_SETEXPR
      
      For sama5d3xek:
      - add CMD_SETEXPR
      - change CONFIG_SYS_MALLOC_LEN to (4*1024*1024)
      
      Signed-off-by: default avatarJosh Wu <josh.wu@atmel.com>
      b2d387bc
  18. Mar 18, 2015
  19. Feb 07, 2015
  20. Jan 19, 2015
  21. Nov 17, 2014
  22. Oct 27, 2014
  23. Jul 30, 2014
  24. May 26, 2014
Loading