1. 23 Oct, 2016 1 commit
  2. 25 Apr, 2016 2 commits
  3. 25 Nov, 2015 1 commit
  4. 18 Nov, 2015 1 commit
  5. 28 Sep, 2015 1 commit
  6. 13 Aug, 2015 1 commit
    • 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
  7. 26 Jun, 2015 2 commits
  8. 11 Jun, 2015 1 commit
    • Masahiro Yamada's avatar
      blackfin: fix undefined reference to srand and rand · 3850dbe8
      Masahiro Yamada authored
      Commit 9ba9e85f (net: Fix NET_RANDOM_ETHADDR dependencies)
      accidentally dropped CONFIG_LIB_RAND defines for 14 Blackfin boards.
      
      Prior to that commit, those boards defined CONFIG_LIB_RAND, but not
      CONFIG_NET_RANDOM_ETHADDR.  So, commit 9ba9e85f should not have
      touched them, but in fact it ripped CONFIG_LIB_RAND off from all the
      header files, which caused undefined reference to srand and rand.
      CONFIG_LIB_RAND=y must be revived for such boards.
      
      BTW, this commit indeed makes it better, but even with this fix,
      three boards (bf533-stamp, bf538f-ezkit, cm-bf548) still can not
      build due to region 'ram' overflowed error.  This was cause by
      commit 6eed3786 (net: Move the CMD_NET config to defconfigs)
      because CMD_NET selects NET, and NET selects REGEX.  Eventually,
      some boards were newly enabled with CONFIG_REGEX, increasing the
      memory footprint.  A patch is expected to fix the build error.
      Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      3850dbe8
  9. 01 Jun, 2015 1 commit
  10. 24 Sep, 2014 1 commit
  11. 30 Jul, 2014 1 commit
    • 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