1. 13 Mar, 2017 1 commit
  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. 25 Jan, 2017 1 commit
  4. 29 Dec, 2016 1 commit
    • Masahiro Yamada's avatar
      mmc: complete unfinished move of CONFIG_MMC · c2726995
      Masahiro Yamada authored
      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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
      c2726995
  5. 12 Oct, 2016 1 commit
  6. 16 Sep, 2016 5 commits
  7. 09 Sep, 2016 3 commits
  8. 17 Jun, 2016 1 commit
  9. 25 Apr, 2016 2 commits
  10. 14 Mar, 2016 1 commit
  11. 14 Jan, 2016 2 commits
    • Vladimir Zapolskiy's avatar
      arm: lpc32xx: switch SPL builds to driver model · 1222305b
      Vladimir Zapolskiy authored
      For NXP LPC32xx boards the change enables SPL_DM option, this allows
      to use any driver model UART driver in SPL images, hence a restriction
      on HSUART in SPL image is removed and well as definitions for non-DM
      NS16550 driver, its DM version is used instead.
      
      Because SPL_DM requires malloc(), enable CONFIG_SPL_SYS_MALLOC_SIMPLE
      for LPC32xx boards.
      
      The change adds about 5KB to the resulting SPL image (for devkit3250
      board SPL image is increased from 10672 to 15608 bytes).
      Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      1222305b
    • Vladimir Zapolskiy's avatar
      arm: lpc32xx: switch serial console to driver model · d25ba89e
      Vladimir Zapolskiy authored
      On NXP LPC32xx platform for non-SPL builds the change adds
      standard (NS16550) and high-speed UARTs to driver model.
      Due to specific of DM NS16550 device description UART clock can not be
      got in runtime and by default it is set to 13MHz, if board PERIPH_CLK
      is different, this should be specified in board configuration file.
      
      For SPL builds HSUARTs are disabled and non-DM NS16550 driver is
      compiled, if needed.
      
      The change also updates default configs of devkit3250 and work_92105
      boards to reflect updates in platform files.
      Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      d25ba89e
  12. 22 Nov, 2015 1 commit
  13. 18 Nov, 2015 1 commit
  14. 28 Sep, 2015 1 commit
  15. 13 Aug, 2015 2 commits
    • Vladimir Zapolskiy's avatar
      lpc32xx: devkit3250: add spl build support · e9b3ce3f
      Vladimir Zapolskiy authored
      The change adds SPL build support to Timll DevKit3250 board, the
      generated SPL image can be uploaded over UART5, JTAG or stored on
      NAND. SPL is designed to load U-boot image from NAND.
      
      All new NAND chip defines in board configuration are needed by
      SPL NAND "simple" framework, the framework is used to reduce
      potentially duplicated code from LPC32xx SLC NAND driver.
      Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      e9b3ce3f
    • Vladimir Zapolskiy's avatar
      lpc32xx: devkit3250: update of board configuration · 768ddeee
      Vladimir Zapolskiy authored
      This change adds more peripherals to Timll DevKit3250 board, namely
      MAC and SMSC phy, SLC NAND, GPIO, SPI and I2C.
      
      Also the default serial console is changed to UART5, added an option
      to pass device tree blob by means of bootm, predefined environment
      variables are slightly extended and reserved space on NAND to store
      user defined U-boot environment.
      Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
      768ddeee
  16. 26 Jun, 2015 1 commit
  17. 01 Jun, 2015 1 commit
  18. 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