1. 24 3月, 2017 1 次提交
    • V
      arc: use timer driver for ARC boards · 3daa7c7b
      Vlad Zakharov 提交于
      This commit replaces legacy timer code with usage of arc timer
      driver.
      
      It removes arch/arc/lib/time.c file and selects CONFIG_CLK,
      CONFIG_TIMER and CONFIG_ARC_TIMER options for all ARC boards by default.
      Therefore we remove CONFIG_CLK option from less common axs101 and
      axs103 defconfigs.
      
      Also it removes legacy CONFIG_SYS_TIMER_RATE config symbol from
      axs10x.h, tb100.h and nsim.h configs files as it is no longer required.
      Signed-off-by: NVlad Zakharov <vzakhar@synopsys.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      3daa7c7b
  2. 20 3月, 2017 1 次提交
  3. 13 2月, 2017 1 次提交
    • M
      flash: complete CONFIG_SYS_NO_FLASH move with renaming · e856bdcf
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      e856bdcf
  4. 31 1月, 2017 1 次提交
    • M
      mmc: move CONFIG_GENERIC_MMC to Kconfig · 54925327
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      54925327
  5. 28 1月, 2017 1 次提交
  6. 26 1月, 2017 1 次提交
  7. 11 1月, 2017 1 次提交
  8. 30 12月, 2016 1 次提交
    • M
      mmc: complete unfinished move of CONFIG_MMC · c2726995
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: NJaehoon Chung <jh80.chung@samsung.com>
      c2726995
  9. 05 8月, 2016 1 次提交
    • A
      arc: Rename AXS101 board to more generic AXS10x · 65fcba12
      Alexey Brodkin 提交于
      As of now we have 2 flavors of ARC SDP boards:
       1) AXS101 - with ARC770 in ASIC
       2) AXS103 - with ARC HS38 in FPGA
      
      Both options share exactly the same base-board and only differ with
      CPU-tiles in use. That means all peripherals are the same (they are
      implemented in FPGA on the base-board) and so generic board could be
      used for both.
      
      While at it:
       * Recreated defconfigs with savedefconfig
       * In include/configs/axs10x.h numerical sizes replaced with
      defines from linux/sizes.h for better readability.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      65fcba12
  10. 10 6月, 2016 1 次提交
  11. 17 5月, 2016 1 次提交
  12. 26 4月, 2016 1 次提交
  13. 15 3月, 2016 1 次提交
  14. 22 12月, 2015 3 次提交
  15. 22 11月, 2015 2 次提交
  16. 18 11月, 2015 1 次提交
  17. 21 10月, 2015 1 次提交
  18. 13 8月, 2015 1 次提交
    • N
      kconfig: add config option for shell prompt · 181bd9dc
      Nikita Kiryanov 提交于
      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: NNikita Kiryanov <nikita@compulab.co.il>
      [trini: Add spring, sniper, smartweb to conversion]
      Signed-off-by: NTom Rini <trini@konsulko.com>
      181bd9dc
  19. 26 6月, 2015 1 次提交
  20. 02 6月, 2015 1 次提交
  21. 19 4月, 2015 1 次提交
  22. 10 4月, 2015 1 次提交
    • A
      board: axs10x - support v3 mother-board · 0241c313
      Alexey Brodkin 提交于
      There're 2 versions of motherboards that could be used in ARC SDP.
      The only important difference for U-Boot is different NAND IC in use:
       [1] v2 board (we used to support up until now) sports MT29F4G08ABADAWP
      while
       [2] v3 board sports MT29F4G16ABADAWP
      
      They are almost the same except data bus width 8-bit in [1] and 16-bit
      in [2]. And for proper support of 16-bit data bus we have to pass
      NAND_BUSWIDTH_16 option to NAND driver core - which we do now knowing
      board type we're running on.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      0241c313
  23. 09 2月, 2015 7 次提交
  24. 15 1月, 2015 1 次提交
    • A
      Kconfig: move CONFIG_SYS_CLK_FREQ to Kconfig · 33d88183
      Alexey Brodkin 提交于
      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: NAlexey 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: NTom Rini <trini@ti.com>
      33d88183
  25. 29 10月, 2014 1 次提交
  26. 06 10月, 2014 1 次提交
  27. 25 4月, 2014 2 次提交
  28. 21 2月, 2014 1 次提交
  29. 07 2月, 2014 1 次提交
    • A
      arc: add AXS101 board support · a7069ddf
      Alexey Brodkin 提交于
      AXS101 is a new generation of devlopment boards from Synopsys that houses
      ASIC with ARC700 and lots of DesignWare peripherals:
      
       * DW APB UART
       * DW Mobile Storage (MMC/SD)
       * DW I2C
       * DW GMAC
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      
      Cc: Vineet Gupta <vgupta@synopsys.com>
      Cc: Francois Bedard <fbedard@synopsys.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      a7069ddf