1. 20 Feb, 2016 1 commit
    • Alexey Brodkin's avatar
      arc: cache - accommodate different L1 cache line lengths · 379b3280
      Alexey Brodkin authored
      ARC core could be configured with different L1 and L2 (AKA SLC) cache
      line lengths. At least these values are possible and were really used:
      32, 64 or 128 bytes.
      
      Current implementation requires cache line to be selected upon U-Boot
      configuration and then it will only work on matching hardware. Indeed
      this is quite efficient because cache line length gets hardcoded during
      code compilation. But OTOH it makes binary less portable.
      
      With this commit we allow U-Boot to determine real L1 cache line length
      early in runtime and use this value later on. This extends portability
      of U-Boot binary a lot.
      Signed-off-by: 's avatarAlexey Brodkin <abrodkin@synopsys.com>
      379b3280
  2. 08 Dec, 2015 1 commit
  3. 22 Nov, 2015 1 commit
  4. 17 Nov, 2015 1 commit
  5. 07 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: 's avatarNikita Kiryanov <nikita@compulab.co.il>
      [trini: Add spring, sniper, smartweb to conversion]
      Signed-off-by: 's avatarTom Rini <trini@konsulko.com>
      181bd9dc
  7. 26 Jun, 2015 2 commits
  8. 01 Jun, 2015 1 commit
  9. 12 May, 2015 1 commit
  10. 18 Apr, 2015 1 commit
  11. 03 Apr, 2015 1 commit
    • Alexey Brodkin's avatar
      arc: re-generate defconfigs · 97ee47bd
      Alexey Brodkin authored
      Before that moment our defconfigs were manually modified with addition
      of new options. That means once anybody wants to add another option and
      re-genarate defconfig with "make defconfig" there will be lots of
      differences. So to make future modifications more clean we'll do bulk
      re-generation right away.
      Signed-off-by: 's avatarAlexey Brodkin <abrodkin@synopsys.com>
      97ee47bd
  12. 09 Feb, 2015 2 commits
  13. 14 Jan, 2015 1 commit
    • Alexey Brodkin's avatar
      Kconfig: move CONFIG_SYS_CLK_FREQ to Kconfig · 33d88183
      Alexey Brodkin authored
      It makes sense to specify CONFIG_SYS_CLK_FREQ in "configs/xx_defconfig"
      instead of "include/configs/xxx.h" because then header will be reusable
      across boards with different CPU clocks.
      
      Also this nice to have an ability for end user to tune this value
      himself via "menuconfig".
      
      For now I'm only applying this change to all ARC configs because
      otherwise scope of change will be huge.
      Signed-off-by: 's avatarAlexey Brodkin <abrodkin@synopsys.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
      Cc: Hans de Goede <hdegoede@redhat.com>
      cc: Simon Glass <sjg@chromium.org>
      Reviewed-by: 's avatarTom Rini <trini@ti.com>
      33d88183
  14. 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: 's avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: 's avatarSimon Glass <sjg@chromium.org>
      dd84058d