Skip to content
Snippets Groups Projects
  1. Nov 27, 2018
    • Otavio Salvador's avatar
      ARM: vexpress_*_defconfig: Enable CMD_UBI support · 58fcca0c
      Otavio Salvador authored
      
      This allow for convenient use of QEMU machine to test loading of UBI
      filesystem. There are a couple of changes made together of this which
      are required:
      
       1) The malloc must be at least 512 KiB to allow the use of UBI
          filesystem. We are going to enable it in a next patch.
      
       2) MTD_DEVICE must be enabled, otherwise we get missing symbols
          during the build
      
      Following configs were change:
      
       - vexpress_aemv8a_dram_defconfig
       - vexpress_aemv8a_juno_defconfig
       - vexpress_aemv8a_semi_defconfig
       - vexpress_ca15_tc2_defconfig
       - vexpress_ca5x2_defconfig
       - vexpress_ca9x4_defconfig
      
      Signed-off-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
      Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
      58fcca0c
  2. Oct 19, 2018
  3. Aug 16, 2018
    • Tom Rini's avatar
      configs: Migrate CONFIG_NR_DRAM_BANKS · 86cf1c82
      Tom Rini authored
      
      We have the following cases:
      - CONFIG_NR_DRAM_BANKS was defined, migrate normally
      - CONFIG_NR_DRAM_BANKS_MAX was defined and then used for
        CONFIG_NR_DRAM_BANKS after a check, just migrate it over now.
      - CONFIG_NR_DRAM_BANKS was very oddly defined on p2771-0000-* (to 1024 +
        2), set this to 8.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      86cf1c82
  4. Apr 28, 2018
  5. Feb 11, 2018
    • Tom Rini's avatar
      configs: Migrate CONFIG_SYS_TEXT_BASE · 278b90ce
      Tom Rini authored
      
      On the NIOS2 and Xtensa architectures, we do not have
      CONFIG_SYS_TEXT_BASE set.  This is a strict migration of the current
      values into the defconfig and removing them from the headers.
      
      I did not attempt to add more default values in and for now will leave
      that to maintainers.
      
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      278b90ce
  6. Feb 06, 2018
    • Tuomas Tynkkynen's avatar
      cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA · a4fa8114
      Tuomas Tynkkynen authored
      
      cmd/Makefile has:
      
      ifdef CONFIG_FPGA
      obj-$(CONFIG_CMD_FPGA) += fpga.o
      endif
      
      which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
      does nothing. Let's remove that Makefile conditional and instead express
      this equivalent dependency in Kconfig, so a lot of redundant
      
       # CONFIG_CMD_FPGA is not set
      
      can be removed from board defconfigs that don't actually have an FPGA.
      
      Signed-off-by: default avatarTuomas Tynkkynen <tuomas@tuxera.com>
      a4fa8114
  7. Nov 17, 2017
  8. Oct 17, 2017
  9. Oct 10, 2017
    • Tuomas Tynkkynen's avatar
      cmd: Toggle the default value of CONFIG_CMD_IMLS · ad12dc18
      Tuomas Tynkkynen authored
      
      Having this as a 'default y' is rather annoying because it doesn't
      actually compile unless other options are defined in the board header:
      
      ../cmd/bootm.c: In function 'do_imls_nor':
      ../cmd/bootm.c:330:7: error: 'CONFIG_SYS_MAX_FLASH_BANKS' undeclared (first use in this function); did you mean 'CONFIG_SYS_MAX_FLASH_SECT'?
         i < CONFIG_SYS_MAX_FLASH_BANKS; ++i, ++info) {
      
      Make it 'default n' so people who develop new boards that start from a
      blank defconfig have one less compilation failure to debug.
      
      Signed-off-by: default avatarTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
      ad12dc18
  10. Aug 28, 2017
  11. Aug 15, 2017
  12. Aug 14, 2017
  13. Jul 26, 2017
  14. Mar 13, 2017
  15. 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
  16. Feb 08, 2017
  17. Jan 28, 2017
  18. 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
  19. Dec 03, 2016
  20. Oct 12, 2016
  21. Sep 20, 2016
  22. Sep 09, 2016
  23. Jun 17, 2016
  24. Jun 09, 2016
  25. May 27, 2016
  26. Apr 25, 2016
  27. Mar 22, 2016
  28. Mar 14, 2016
  29. Nov 22, 2015
    • Ryan Harkin's avatar
      vexpress64: store env in flash · f3c71c93
      Ryan Harkin authored
      
      Add support for storing the environment in CFI NOR flash on Juno and FVP
      models.
      
      I also removed some config values that are not used by CFI flash parts.
      
      Juno has 1 flash part with 259 sectors.  The first 255 sectors are
      0x40000 (256kb) and are followed by 4 sectors of 0x10000 (64KB).
      
      FVP models simulate a 64MB NOR flash part at base address 0x0FFC0000.
      This part has 256 x 256kb sectors.  We use the last sector to store the
      environment.
      
      To save the NOR flash to a file, the following parameters should be
      passed to the model:
      
          -C bp.flashloader1.fname=${FILENAME}
          -C bp.flashloader1.fnameWrite=${FILENAME}
      
      Foundation models don't simulate the NOR flash, but having NOR support
      in the u-boot binary does not harm:  attempting to write to the NOR will
      fail gracefully.
      
      Signed-off-by: default avatarRyan Harkin <ryan.harkin@linaro.org>
      Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      f3c71c93
  30. Sep 28, 2015
  31. 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
  32. Jun 26, 2015
  33. Jun 01, 2015
  34. May 12, 2015
Loading