1. 14 Mar, 2016 2 commits
  2. 18 Nov, 2015 2 commits
    • Nikita Kiryanov's avatar
      spl: mmc: add support for BOOT_DEVICE_MMC2 · a1e56cf6
      Nikita Kiryanov authored
      Currently the mmc device that SPL looks at is always mmc0, regardless
      of the BOOT_DEVICE_MMCx value. This forces some boards to
      implement hacks in order to boot from other mmc devices.
      Make SPL take into account the correct mmc device.
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
    • Nikita Kiryanov's avatar
      spl: change return values of spl_*_load_image() · 36afd451
      Nikita Kiryanov authored
      Make spl_*_load_image() functions return a value instead of
      hanging if a problem is encountered. This enables main spl code
      to make the decision whether to hang or not, thus preparing
      it to support alternative boot devices.
      Some boot devices (namely nand and spi) do not hang on error.
      Instead, they return normally and SPL proceeds to boot the
      contents of the load address. This is considered a bug and
      is rectified by hanging on error for these devices as well.
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      Cc: Igor Grinberg <grinberg@compulab.co.il>
      Cc: Tom Rini <trini@konsulko.com>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Ian Campbell <ijc@hellion.org.uk>
      Cc: Hans De Goede <hdegoede@redhat.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Jagan Teki <jteki@openedev.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
  3. 21 Jul, 2015 1 commit
    • Simon Glass's avatar
      dm: spl: Allow device tree/driver model in board_init_f() · 070d00b8
      Simon Glass authored
      Add an spl_init() function that does basic init such that board_init_f() can
      use simple malloc(), device tree and driver model. Each one is set up only
      if enabled for SPL.
      Note: We really should refactor SPL such that there is a single
      board_init_f() and rename the existing weak board_init_f() functions
      provided by boards, calling them from the single board_init_f().
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  4. 11 Jun, 2015 1 commit
    • Simon Glass's avatar
      arm: spl: Add an API to detect when U-Boot is started from SPL · 32ba8952
      Simon Glass authored
      For secure boot systems it is common to have a read-only U-Boot which starts
      the machine and jumps to a read-write U-Boot for actual booting the OS. This
      allows the read-write U-Boot to be upgraded without risk of permanently
      bricking the machine. In the event that the read-write U-Boot is corrupted,
      the read-only U-Boot can detect this with a checksum and boot into a
      recovery flow.
      To support this, add a way to detect when U-Boot is run from SPL as opposed
      to some other method, such as booted directly (no SPL) or started from
      another source (e.g. a primary U-Boot). This works by putting a special value
      in r0.
      For now we rely on board-specific code to actually check the register and
      set a flag. At some point this could be generalised, perhaps by using a spare
      register and passing a flag to _main and/or board_init_f().
      This commit does not implement any feature, but merely provides the API for
      boards to implement.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
  5. 17 Nov, 2014 1 commit
  6. 27 Oct, 2014 2 commits
  7. 25 Oct, 2014 1 commit
  8. 19 Feb, 2014 1 commit
  9. 07 Feb, 2014 1 commit
  10. 24 Jan, 2014 2 commits
  11. 24 Jul, 2013 1 commit
  12. 10 May, 2013 1 commit
  13. 11 Mar, 2013 1 commit
  14. 01 Oct, 2012 1 commit
  15. 27 Sep, 2012 8 commits
  16. 07 Jul, 2012 1 commit
  17. 15 May, 2012 1 commit
  18. 08 Sep, 2010 1 commit
  19. 06 Jul, 2010 1 commit
  20. 05 Jul, 2010 1 commit
  21. 13 Apr, 2010 1 commit
  22. 22 Jul, 2009 1 commit
  23. 25 Jun, 2009 1 commit
  24. 27 Jun, 2003 1 commit
    • wdenk's avatar
      * Code cleanup: · 8bde7f77
      wdenk authored
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
  25. 19 Nov, 2002 1 commit
    • wdenk's avatar
      * Patch by Thomas Frieden, 13 Nov 2002: · c7de829c
      wdenk authored
        Add code for AmigaOne board
        (preliminary merge to U-Boot, still WIP)
      * Patch by Jon Diekema, 12 Nov 2002:
        - Adding URL for IEEE OUI lookup
        - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED
          being defined.
        - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and
          root-on-nfs macros are designed to switch how the default boot
          method gets defined.
  26. 08 Sep, 2002 2 commits
  27. 14 Dec, 2000 1 commit
  28. 12 Nov, 2000 1 commit