1. 08 Aug, 2016 1 commit
  2. 17 May, 2016 1 commit
    • Marek Vasut's avatar
      SPL: Let spl_parse_image_header() return value · 7e0f2267
      Marek Vasut authored
      
      
      Allow the spl_parse_image_header() to return value. This is convenient
      for controlling the SPL boot flow if the loaded image is corrupted.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Cc: Peng Fan <van.freenix@gmail.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Tom Rini <trini@konsulko.com>
      7e0f2267
  3. 16 Mar, 2016 1 commit
  4. 18 Nov, 2015 1 commit
    • 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>
      36afd451
  5. 16 Feb, 2015 1 commit
    • Heiko Schocher's avatar
      spl, spl_nor: fix compiler warning · b9ea0c3a
      Heiko Schocher authored
      
      
      executing "tools/buildman/buildman mpc5xx" drops this warning:
      
      common/spl/spl_nor.c: In function 'spl_nor_load_image':
      common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
      
      fix this.
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      b9ea0c3a
  6. 14 Jan, 2015 1 commit
  7. 24 Jul, 2013 1 commit
  8. 27 Sep, 2012 1 commit
    • Stefan Roese's avatar
      SPL: Add NOR flash booting support · 33d34646
      Stefan Roese authored
      
      
      SPL NOR flash booting support is quite simple. Only copying of the
      images is needed.
      
      On MPC5xxx we need to make sure to only use the standard memcpy()
      implementation and not the MPC5xxx specific one. As the MPC5xxx
      version has some complexity which is not needed for this SPL
      booting.
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      33d34646