1. 12 7月, 2017 1 次提交
  2. 11 7月, 2017 2 次提交
  3. 16 6月, 2017 1 次提交
  4. 06 6月, 2017 3 次提交
    • S
      bootstage: Support SPL · 824bb1b4
      Simon Glass 提交于
      At present bootstage only supports U-Boot proper. But SPL can also consume
      boot time so it is useful to have the record start there.
      
      Add bootstage support to SPL. Also support stashing the timing information
      when SPL finishes so that it can be picked up and reported by U-Boot
      proper. This provides a full boot time record, excluding only the time
      taken by the boot ROM.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      824bb1b4
    • S
      bootstage: Use rec_count as the array index · 03ecac31
      Simon Glass 提交于
      At present bootstage has a large array with all possible bootstage IDs
      recorded. It adds times to the array element indexed by the ID. This is
      inefficient because many IDs are not used during boot. We can save space
      by only recording those IDs which actually have timestamps.
      
      Update the array to use a record count, which increments with each
      addition of a new timestamp. This takes longer to record a time, since it
      may involve an array search. Such a search may be particularly expensive
      before relocation when the CPU is running slowly or the cache is off. But
      at that stage there should be very few records.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      03ecac31
    • S
      bootstage: Change CONFIG_BOOTSTAGE_USER_COUNT to an int · 5a0e275c
      Simon Glass 提交于
      There is no good read to make this hex, and integer is more natural for
      this type of setting. Update it.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      5a0e275c
  5. 23 5月, 2017 1 次提交
  6. 08 4月, 2017 1 次提交
  7. 07 4月, 2017 1 次提交
  8. 06 4月, 2017 2 次提交
    • T
      SPARC: Remove · 936478e7
      Tom Rini 提交于
      The SPARC architecture is currently unmaintained, remove.
      
      Cc: Francois Retief <fgretief@spaceteq.co.za>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      936478e7
    • T
      Blackfin: Remove · ea3310e8
      Tom Rini 提交于
      The architecture is currently unmaintained, remove.
      
      Cc: Benjamin Matthews <mben12@gmail.com>
      Cc: Chong Huang <chuang@ucrobotics.com>
      Cc: Dimitar Penev <dpn@switchfin.org>
      Cc: Haitao Zhang <hzhang@ucrobotics.com>
      Cc: I-SYST Micromodule <support@i-syst.com>
      Cc: M.Hasewinkel (MHA) <info@ssv-embedded.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Martin Strubel <strubel@section5.ch>
      Cc: Peter Meerwald <devel@bct-electronic.com>
      Cc: Sonic Zhang <sonic.adi@gmail.com>
      Cc: Valentin Yakovenkov <yakovenkov@niistt.ru>
      Cc: Wojtek Skulski <info@skutek.com>
      Cc: Wojtek Skulski <skulski@pas.rochester.edu>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      ea3310e8
  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. 26 1月, 2017 4 次提交
  11. 24 1月, 2017 1 次提交
  12. 21 1月, 2017 1 次提交
  13. 04 12月, 2016 1 次提交
  14. 26 10月, 2016 1 次提交
  15. 24 10月, 2016 7 次提交
  16. 12 10月, 2016 2 次提交
  17. 20 9月, 2016 1 次提交
  18. 17 9月, 2016 1 次提交
  19. 10 9月, 2016 1 次提交
  20. 07 9月, 2016 1 次提交
  21. 22 7月, 2016 1 次提交
  22. 02 7月, 2016 2 次提交
  23. 28 6月, 2016 2 次提交
    • P
      common: add new boot media kconfig entry · faaef73f
      Peng Fan 提交于
      Add CONFIG_{SD|NAND|ONENAND|SPI|QSPI|SATA}_BOOT kconfig entries.
      
      SoCs supports loading U-Boot from different medias to DRAM, such as
      i.MX6/7 supports loading U-Boot to DRAM from sd/emmc/nand/qspi/spi/sata
      and etc. For i.MX, imximage will generate different IVT headers according
      to boot medias.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Christophe Ricard <christophe-h.ricard@st.com>
      Cc: Nikita Kiryanov <nikita@compulab.co.il>
      Cc: Francois Retief <fgretief@spaceteq.co.za>
      Cc: Tom Rini <trini@konsulko.com>
      faaef73f
    • P
      Kconfig: make NOR_BOOT a common option · d14739ff
      Peng Fan 提交于
      Not only am335x supports booting from NOR, i.MX6 SoCs also
      supports booting from NOR. Make NOR_BOOT a common
      option to let different SoCs share it.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Heiko Schocher <hs@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Christophe Ricard <christophe-h.ricard@st.com>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Cc: Francois Retief <fgretief@spaceteq.co.za>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      d14739ff
  24. 20 6月, 2016 1 次提交
    • M
      autoboot: add CONFIG_AUTOBOOT to allow to not compile autoboot.c · 41598c82
      Masahiro Yamada 提交于
      Since commit bb597c0e ("common: bootdelay: move CONFIG_BOOTDELAY
      into a Kconfig option"), CONFIG_BOOTDELAY is defined for all boards.
      
      Prior to that commit, it was allowed to unset CONFIG_BOOTDELAY to
      not compile common/autoboot.c, as described in common/Makefile:
      
        # This option is not just y/n - it can have a numeric value
        ifdef CONFIG_BOOTDELAY
        obj-y += autoboot.o
        endif
      
      It was a bit odd to enable/disable code with an integer type option,
      but it was how this option worked before that commit, and several
      boards actually unset it to opt out of the autoboot feature.
      
      This commit adds a new bool option, CONFIG_AUTOBOOT, and makes
      CONFIG_BOOTDELAY depend on it.
      
      I chose "default y" for this option because most boards use the
      autoboot.  I added "# CONFIG_AUTOBOOT is not set" for the boards that
      had not set CONFIG_BOOTDELAY prior to the bad commit.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      41598c82