1. 05 Apr, 2017 4 commits
  2. 12 Feb, 2017 1 commit
    • 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
  3. 24 Jan, 2017 1 commit
  4. 21 Jan, 2017 1 commit
  5. 23 Oct, 2016 4 commits
  6. 27 Sep, 2016 1 commit
    • Tom Rini's avatar
      dfu: Migrate to Kconfig · 6828e602
      Tom Rini authored
      Introduce a hidden USB_FUNCTION_DFU Kconfig option and select it for
      CMD_DFU (as we must have the DFU command enabled to do anything DFU).
      Make all of the entries in drivers/dfu/Kconfig depend on CMD_DFU and add
      options for all of the back end choices that DFU can make use of.
      
      Cc: Lukasz Majewski <l.majewski@samsung.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      6828e602
  7. 09 Sep, 2016 1 commit
  8. 17 Jun, 2016 1 commit
  9. 25 Apr, 2016 3 commits
  10. 20 Apr, 2016 3 commits
  11. 25 Mar, 2016 1 commit
  12. 14 Mar, 2016 1 commit
  13. 25 Nov, 2015 1 commit
  14. 18 Nov, 2015 1 commit
  15. 02 Sep, 2015 1 commit
    • Peng Fan's avatar
      imx: mx6 move TARGET_xx Kconfig option to mx6 specific Kconfig file · 21782828
      Peng Fan authored
      Move TARGET_xx Kconfig option based on mx6 to arch/arm/cpu/armv7/mx6/Kconfig.
      Add enable "CONFIG_ARCH_MX6" for boards based on mx6.
      Then we can choose target boards using "make ARCH=arm menuconfig"
      with ARCH_MX6 defined.
      
      If using original way, we have no chance to enable ARCH_MX6 when
      "make menuconfig". Even define CONFIG_ARCH_MX6=y in xx_defconfig,
      kconfig will complains "arch/../configs/platinum_titanium_defconfig:3:
      warning: override: TARGET_PLATINUM_TITANIUM changes choice state"
      Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Tim Harvey <tharvey@gateworks.com>
      Cc: Eric Bénard <eric@eukrea.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Eric Nelson <eric.nelson@boundarydevices.com>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Soeren Moch <smoch@web.de>
      Cc: Otavio Salvador <otavio@ossystems.com.br>
      Acked-by: default avatarStefano Babic <sbabic@denx.de>
      Acked-by: default avatarSoeren Moch <smoch@web.de>
      Acked-by: default avatarOtavio Salvador <otavio@ossystems.com.br>
      Acked-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
      21782828
  16. 02 Aug, 2015 1 commit
    • Peng Fan's avatar
      imx: mx6qpsabreauto: Add MX6QP SABREAUTO CPU3 board support · 361b715b
      Peng Fan authored
      1. Add DDR script for mx6qpsabreauto board.
      2. On CPU3 board, enet RGMII tx clock is from internal PLL. Set the GPR5[9]
         and init the enet pll output to 125Mhz.
      3. On CPU3 board, SW1ABC=VDDSOC_IN, SW2=VDDARM_IN.
      
      Build target: mx6qpsabreauto_config
      
      Boot Log:
      U-Boot 2015.07-rc2-00071-gfd985ff (Jun 29 2015 - 22:10:55 +0800)
      
      CPU:   Freescale i.MX6QP rev1.0 996 MHz (running at 792 MHz)
      CPU:   Automotive temperature grade (-40C to 125C) at 34C
      Reset cause: POR
      Board: MX6Q-Sabreauto revA
      I2C:   ready
      DRAM:  2 GiB
      PMIC:  PFUZE100 ID=0x10
      Flash: 32 MiB
      NAND:  0 MiB
      MMC:   FSL_SDHC: 0
      *** Warning - bad CRC, using default environment
      
      No panel detected: default to HDMI
      Display: HDMI (1024x768)
      In:    serial
      Out:   serial
      Err:   serial
      Net:   FEC [PRIME]
      Hit any key to stop autoboot:  0
      
      Note:
      In this patch, we still add a new config mx6qpsabreauto_config,
      since SPL is not supported now, and IMX_CONFIG is needed at
      build time, so add this config. Future, when SPL is converted,
      this config can be removed.
      Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
      Signed-off-by: default avatarRobin Gong <b38343@freescale.com>
      Signed-off-by: default avatarYe.Li <B37916@freescale.com>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
      361b715b
  17. 26 Jun, 2015 2 commits
  18. 01 Jun, 2015 2 commits
  19. 12 May, 2015 1 commit
  20. 18 Apr, 2015 1 commit
  21. 28 Mar, 2015 2 commits
  22. 13 Feb, 2015 1 commit
  23. 12 Feb, 2015 1 commit
  24. 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