1. 21 9月, 2017 1 次提交
  2. 26 7月, 2017 1 次提交
  3. 19 6月, 2017 1 次提交
  4. 23 5月, 2017 1 次提交
    • R
      nds32: eth: Support ftmac100 DM. · be71a179
      rick 提交于
      Support Andestech eth ftmac100 device tree flow on AG101P/AE3XX platform.
      Verification:
       Boot linux kernel via dhcp and bootm ok.
      
       NDS32 # setenv bootm_size 0x2000000;setenv fdt_high 0x1f00000;
       NDS32 # dhcp 0x600000 10.0.4.97:boomimage-310y-ae300-spi.bin
       BOOTP broadcast 1
       BOOTP broadcast 2
       BOOTP broadcast 3
       BOOTP broadcast 4
       DHCP client bound to address 10.0.4.178 (4899 ms)
      	Using mac@e0100000 device
      	TFTP from server 10.0.4.97; our IP address is 10.0.4.178
      	Filename 'boomimage-310y-ae300-spi.bin'.
      	Load address: 0x600000
      	Loading: #################################################################
      	         #################################################################
      	         #################################################################
      ...
      ...
      	         ###################################
      	         233.4 KiB/s
      					 done
      					 Bytes transferred = 13872076 (d3abcc hex)
      	NDS32 # dhcp 0x2000000 10.0.4.97:ae300.dtb
      	BOOTP broadcast 1
      	BOOTP broadcast 2
      	BOOTP broadcast 3
      	BOOTP broadcast 4
      	DHCP client bound to address 10.0.4.178 (4592 ms)
      	Using mac@e0100000 device
      	TFTP from server 10.0.4.97; our IP address is 10.0.4.178
      	Filename 'ae300.dtb'.
      	Load address: 0x2000000
      	Loading: #
      	         82 KiB/s
      					 done
      					 Bytes transferred = 2378 (94a hex)
      	NDS32 # bootm 0x600000 - 0x2000000
      	 Image Name:
      	 Created:      2017-03-22   6:52:03 UTC
      	 Image Type:   NDS32 Linux Kernel Image (uncompressed)
      	 Data Size:    13872012 Bytes = 13.2 MiB
      	 Load Address: 0000c000
      	 Entry Point:  0000c000
      	 Verifying Checksum ... OK
      	 Booting using the fdt blob at 0x2000000
      	 Loading Kernel Image ... OK
      	 Loading Device Tree to 01efc000, end 01eff949 ... OK
      	 Linux version 3.10.102-20375-gb0034c1-dirty (rick@app09)
      	(gcc version 4.9.3 (2016-07-06_nds32le-linux-glibc-v3_experimental) )
        #293 PREEMPT Wed Mar 22 14:49:28 CST 2017
      	CPU: NDS32 N13, AndesCore ID(wb), CPU_VER 0x0d11103f(id 13, rev 17, cfg 4159)
      ...
      ...
      Signed-off-by: Nrick <rick@andestech.com>
      be71a179
  5. 22 5月, 2017 3 次提交
  6. 01 5月, 2017 1 次提交
  7. 20 3月, 2017 1 次提交
  8. 14 3月, 2017 1 次提交
  9. 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
  10. 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
  11. 10 6月, 2016 1 次提交
  12. 26 4月, 2016 2 次提交
  13. 22 11月, 2015 1 次提交
  14. 28 9月, 2015 1 次提交
  15. 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
  16. 26 6月, 2015 1 次提交
  17. 01 6月, 2015 1 次提交
  18. 30 7月, 2014 1 次提交
    • M
      kconfig: add board Kconfig and defconfig files · dd84058d
      Masahiro Yamada 提交于
      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: NMasahiro Yamada <yamada.m@jp.panasonic.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      dd84058d