Skip to content
Snippets Groups Projects
  1. Mar 16, 2016
    • Tom Rini's avatar
      ARM: keystone2: Split monitor code / command code · aadd3360
      Tom Rini authored
      
      When we switch to including all linker lists in SPL it is important
      to not include commands as that may lead to link errors due to other
      things we have already discarded.  In this case, we split the code for
      supporting the monitor out from the code for loading it.
      
      Cc: Vitaly Andrianov <vitalya@ti.com>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Lokesh Vutla <lokeshvutla@ti.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      aadd3360
    • Nishanth Menon's avatar
      ARM: DRA7: DDR: Enable SR in Power Management Control · 3eb80d10
      Nishanth Menon authored
      
      If EMIF is idle for certain amount of DDR cycles, EMIF will put the
      DDR in self refresh mode to save power if EMIF_PWR_MGMT_CTRL register
      is programmed. And also before entering suspend-resume ddr needs to
      be put in self-refresh. Linux kernel does not program this register
      before entering suspend and relies on u-boot setting.
      So configuring it in u-boot.
      
      Signed-off-by: default avatarNishanth Menon <nm@ti.com>
      Signed-off-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
      Tested-by: default avatarTom Rini <trini@konsulko.com>
      Reviewed-by: default avatarTom Rini <trini@konsulko.com>
      3eb80d10
    • Alexander Graf's avatar
      arm: Allow EFI payload code to take exceptions · cc4a4748
      Alexander Graf authored
      
      There are 2 ways an EFI payload could return into u-boot:
      
        - Callback function
        - Exception
      
      While in EFI payload mode, r9 is owned by the payload and may not contain
      a valid pointer to gd, so we need to fix it up. We do that properly for the
      payload to callback path already.
      
      This patch also adds gd pointer restoral for the exception path.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      cc4a4748
    • Alexander Graf's avatar
      arm64: Allow EFI payload code to take exceptions · 64982915
      Alexander Graf authored
      
      There are 2 ways an EFI payload could return into u-boot:
      
        - Callback function
        - Exception
      
      While in EFI payload mode, x18 is owned by the payload and may not contain
      a valid pointer to gd, so we need to fix it up. We do that properly for the
      payload to callback path already.
      
      This patch also adds gd pointer restoral for the exception path.
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      64982915
    • Alexander Graf's avatar
      arm64: Allow exceptions to return · 4c2cc7c4
      Alexander Graf authored
      
      Our current arm64 exception handlers all panic and never return to the
      exception triggering code.
      
      But if any handler wanted to continue execution after fixups, it would
      need help from the exception handling code to restore all registers.
      
      This patch implements that help. With this code, exception handlers on
      aarch64 can successfully return to the place the exception happened (or
      somewhere else if they modify elr).
      
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      4c2cc7c4
  2. Mar 15, 2016
  3. Mar 14, 2016
Loading