Skip to content
Snippets Groups Projects
  1. Apr 13, 2017
  2. Jun 26, 2016
  3. Jun 12, 2016
  4. May 24, 2016
    • Marek Vasut's avatar
      ARM: sama5d2: Implement boot device autodetection · bb0c63a5
      Marek Vasut authored
      
      Implement support for saving ARM register R4 early during boot using
      save_boot_params . Implement support for decoding the stored register
      R4 value in spl_boot_device() to obtain boot device from which the
      SoC booted. This way, the SPL will always load U-Boot from the same
      device from which the SPL itself booted instead of using hard-coded
      boot device.
      
      This functionality is useful for example when booting sama5d2-xplained
      from SD card, where by default the SPL would try loading the U-Boot
      from eMMC and fail. This is because eMMC is on SDHCI0 (BOOT_DEVICE_MMC1),
      while SD slot is on SDHCI1 (BOOT_DEVICE_MMC2) and the SPL was hard-wired
      to always boot from BOOT_DEVICE_MMC1.
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Andreas Bießmann <andreas.devel@googlemail.com>
      Cc: Wenyou Yang <wenyou.yang@atmel.com>
      Reviewed-by: default avatarAndreas Bießmann <andreas@biessmann.org>
      bb0c63a5
  5. Mar 31, 2015
  6. Feb 21, 2015
  7. Feb 07, 2015
  8. Nov 17, 2014
  9. Oct 27, 2014
  10. May 26, 2014
  11. Mar 09, 2014
  12. Dec 01, 2013
Loading