1. 02 2月, 2016 6 次提交
  2. 25 1月, 2016 1 次提交
    • S
      Move all command code into its own directory · 72a8cf8d
      Simon Glass 提交于
      There are a lot of unrelated files in common, including all of the commands.
      Moving them into their own directory makes them easier to find and is more
      logical.
      
      Some commands include non-command code, such as cmd_scsi.c. This should be
      sorted out at some point so that the function can be enabled with or without
      the associated command.
      
      Unfortunately, with m68k I get this error:
      
      m68k:  +   M5329AFEE
      +arch/m68k/cpu/mcf532x/start.o: In function `_start':
      +arch/m68k/cpu/mcf532x/start.S:159:(.text+0x452): relocation truncated to fit: R_68K_PC16 against symbol `board_init_f' defined in .text.board_init_f section in common/built-in.o
      
      I hope someone can shed some light on what this means. I hope it isn't
      depending on the position of code in the image.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Acked-by: NStefan Roese <sr@denx.de>
      Acked-by: NPrzemyslaw Marczak <p.marczak@samsung.com>
      72a8cf8d
  3. 20 1月, 2016 1 次提交
  4. 14 1月, 2016 1 次提交
    • S
      arm: mvebu: Add runtime detection of UART (xmodem) boot-mode · f4db6c97
      Stefan Roese 提交于
      This patch adds runtime detection of the Marvell UART boot-mode (xmodem
      protocol). If this boot-mode is detected, SPL will return to the
      BootROM to continue the UART booting.
      
      With this patch its now possible, to generate a U-Boot image that
      can be booted either from the strapped boot-device (e.g. SPI NOR, MMC,
      etc) or via the xmodem protocol from the UART. In the UART case,
      the kwboot tool will dynamically insert the UART boot-device type
      into the image. And also patch the load address in the header, so
      that the mkimage header will be skipped (as its not expected by the
      Marvell BootROM).
      
      This simplifies the development for Armada XP / 38x based boards.
      As no special images need to be generated by selecting the
      MVEBU_BOOTROM_UARTBOOT Kconfig option.
      
      Since the Kconfig option MVEBU_BOOTROM_UARTBOOT is not needed any
      more, its now completely removed.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Dirk Eibach <dirk.eibach@gdsys.cc>
      Cc: Phil Sutter <phil@nwl.cc>
      Cc: Kevin Smith <kevin.smith@elecsyscorp.com>
      f4db6c97
  5. 12 1月, 2016 1 次提交
  6. 08 1月, 2016 1 次提交
  7. 05 1月, 2016 1 次提交
  8. 22 12月, 2015 1 次提交
  9. 08 12月, 2015 1 次提交
  10. 19 11月, 2015 1 次提交
  11. 17 11月, 2015 1 次提交
  12. 10 11月, 2015 2 次提交
    • T
      Various Makefiles: Add SPDX-License-Identifier tags · da58dec8
      Tom Rini 提交于
      After consulting with some of the SPDX team, the conclusion is that
      Makefiles are worth adding SPDX-License-Identifier tags too, and most of
      ours have one.  This adds tags to ones that lack them and converts a few
      that had full (or in one case, very partial) license blobs into the
      equivalent tag.
      
      Cc: Kate Stewart <kstewart@linuxfoundation.org>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      da58dec8
    • A
      arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD · 62e92077
      Albert ARIBAUD 提交于
      When building a Thumb-1-only target with CONFIG_SYS_THUMB_BUILD,
      some files fail to build, most of the time because they include
      mcr instructions, which only exist for Thumb-2.
      
      This patch introduces a Kconfig option CONFIG_THUMB2 and uses
      it to select between Thumb-2 and ARM mode for the aforementioned
      files.
      Signed-off-by: NAlbert ARIBAUD <albert.u.boot@aribaud.net>
      62e92077
  13. 27 10月, 2015 1 次提交
  14. 21 10月, 2015 3 次提交
    • B
      Makefile: Generate U_BOOT_DMI_DATE for SMBIOS · a34b4676
      Bin Meng 提交于
      Add U_BOOT_DMI_DATE (format mm/dd/yyyy) generation to be used by
      SMBIOS tables, as required by SMBIOS spec 3.0 [1]. See chapter 7.1,
      BIOS information structure offset 08h for details.
      
      [1] http://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.0.0.pdfSigned-off-by: NBin Meng <bmeng.cn@gmail.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      a34b4676
    • S
      arm: mvebu: Add DM (driver model) support · 9cffb233
      Stefan Roese 提交于
      This patch adds driver model support for some Marvell MVEBU SoC's. Including
      Armada XP and 38x. All 3 currently mainlined boards are converted. DM is now
      selected automatically for MVEBU platforms.
      
      With this DM support now available for MVEBU, hardcoding the base addresses
      and other information is not necessary any more. Probing should be done
      by using the values provided via the device tree now instead. For this
      the driver also need to be converted to DM. Patches for some of the drivers
      will follow.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      9cffb233
    • S
      arm: mvebu: Add option to use UART xmodem protocol via kwboot · 944c7a31
      Stefan Roese 提交于
      This patch enables the use of the kwboot tool, to boot mainline U-Boot
      on the Marvell Armada XP/38x SoC's. This is done by returning to the
      SoC's BootROM after SPL has initialized the SDRAM. We need to make sure
      to not reconfigure the internal register space and MBARs. Otherwise
      the BootROM will not be able to continue after SPL jumps back to it.
      
      To use this feature, please don't forget to change the BOOT_FROM line
      in your board specfic kwbimage.cfg file this way:
      
          BOOT_FROM uart
      
      Tested on these Marvell eval boards:
      DB-MV784MP-GP - Armada XP
      DB-88F6820-GP - Armada 38x
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: Kevin Smith <kevin.smith@elecsyscorp.com>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      944c7a31
  15. 20 10月, 2015 1 次提交
  16. 12 10月, 2015 1 次提交
  17. 29 9月, 2015 1 次提交
  18. 07 9月, 2015 1 次提交
  19. 29 8月, 2015 3 次提交
  20. 26 8月, 2015 1 次提交
    • S
      x86: ifdtool: Support collating microcode into one place · b0980323
      Simon Glass 提交于
      The Intel Firmware Support Package (FSP) requires that microcode be provided
      very early before the device tree can be scanned. We already support adding
      a pointer to the microcode data in a place where early init code can access.
      
      However this just points into the device tree and can only point to a single
      lot of microcode. For boards which may have different CPU types we must
      support multiple microcodes and pass all of them to the FSP in one place.
      
      Enhance ifdtool to scan all the microcode, place it together in the ROM and
      update the microcode pointer to point there. This allows us to pass multiple
      microcode blocks to the FSP using its existing API.
      
      Enable the flag in the Makefile so that this feature is used by default for
      all boards.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      Tested-by: NBin Meng <bmeng.cn@gmail.com>
      b0980323
  21. 18 8月, 2015 1 次提交
  22. 08 8月, 2015 2 次提交
  23. 05 8月, 2015 4 次提交
  24. 03 8月, 2015 1 次提交
  25. 31 7月, 2015 1 次提交
  26. 28 7月, 2015 1 次提交
    • P
      Reproducible U-Boot build support, using SOURCE_DATE_EPOCH · f3f431a7
      Paul Kocialkowski 提交于
      In order to achieve reproducible builds in U-Boot, timestamps that are defined
      at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH environment
      variable allows setting a fixed value for those timestamps.
      
      Simply by setting SOURCE_DATE_EPOCH to a fixed value, a number of targets can be
      built reproducibly. This is the case for e.g. sunxi devices.
      
      However, some other devices might need some more tweaks, especially regarding
      the image generation tools.
      Signed-off-by: NPaul Kocialkowski <contact@paulk.fr>
      f3f431a7