Skip to content
Snippets Groups Projects
  1. Nov 12, 2014
    • Nikita Kiryanov's avatar
      arm: imx: make bmode command work with SPL/U-Boot combo · f2863ff3
      Nikita Kiryanov authored
      
      The bmode command forces the SoC to use a specific boot device
      by writing its boot mode into SRC_GPR9, and notifying the SoC of
      the change using SRC_GPR10[28] bit: if the bit is on, bootROM
      uses the value in SRC_GPR9 instead of SRC_SMBR1 to determine
      the boot device.
      
      SPL on the other hand is oblivious to this distinction, so once
      the bootROM loads SPL from the device configured in SRC_GPR10,
      SPL will attempt to load U-Boot from the device configured in
      SRC_SMBR1, which is not updated by the bootROM to the value in
      SRC_GPR9.
      
      The result is that the selected boot device is not used across all
      the boot stages.
      
      Update spl_boot_device() to look at gpr9 when necessary.
      
      Signed-off-by: default avatarNikita Kiryanov <nikita@compulab.co.il>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Troy Kisky <troy.kisky@boundarydevices.com>
      Cc: Tim Harvey <tharvey@gateworks.com>
      Cc: Eric Nelson <eric.nelson@boundarydevices.com>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Heiko Schocher <hs@denx.de>
      f2863ff3
  2. Nov 11, 2014
  3. Nov 10, 2014
  4. Nov 07, 2014
    • Wolfgang Denk's avatar
      cppcheck cleanup: fix nullPointer errors · 0060517a
      Wolfgang Denk authored
      
      There are a number of places where U-Boot intentionally and legally
      accesses physical address 0x0000, for example when installing
      exception vectors on systems where these are located in low memory.
      
      Add "cppcheck-suppress nullPointer" comments to silence cppcheck
      where this is intentional and legal.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      0060517a
  5. Nov 06, 2014
  6. Nov 05, 2014
  7. Nov 04, 2014
  8. Nov 03, 2014
  9. Oct 30, 2014
Loading