1. 31 Dec, 2020 3 commits
    • Andre Przywara's avatar
      fel: H6: Allow bigger SPL size · 2f59b574
      Andre Przywara authored
      
      
      The H6 has quite a large chunk of continuous SRAM, and also the BROM
      allows to load eGON images far bigger than 32KB.
      
      Move the FEL stack backup buffers and the thunk address towards the end
      of SRAM C, so that we have a larger chunk of continuous SRAM available
      for the SPL.
      Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
      2f59b574
    • Andre Przywara's avatar
      fel: H616: Allow bigger SPL size · 2a2af190
      Andre Przywara authored
      
      
      The H616 has quite a large chunk of continuous SRAM, and also the BROM
      allows to load eGON images far bigger than 32KB. U-Boot's SPL is
      actually relying on this, as we need more code for the PMIC and DRAM
      driver.
      
      Move the FEL stack backup buffers and the thunk address towards the end
      of SRAM C, so that we have a larger chunk of continuous SRAM available
      for the SPL.
      Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
      2a2af190
    • Andre Przywara's avatar
      soc_info: Introduce SRAM size · 276a97da
      Andre Przywara authored
      
      
      At the moment we assume the SPL load size to be limited to 32KB, even
      though many SoCs have more SRAM A1 or a large SRAM C directly after SRAM
      A1.
      
      To later allow to extend the SPL load size, let's introduce a SoC
      specific variable to hold the SRAM size after the SPL load address. This
      could either cover the whole of SRAM A1, or even SRAM C, if that is
      contiguous to SRAM A1.
      
      Eventually this variable is meant to hold the *usable* SRAM size, so not
      including regions that are used by the BROM code. However this value is
      very SoC specific and not documented, and the SPL size is limited by the
      thunk and stack buffers anyway at the moment, so the values used here
      right now are just taken from the respective manuals.
      Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
      276a97da
  2. 08 Nov, 2020 1 commit
  3. 02 Oct, 2020 1 commit
  4. 29 Sep, 2020 1 commit
  5. 14 Jun, 2020 2 commits
  6. 20 Apr, 2020 1 commit
  7. 09 Jul, 2018 1 commit
  8. 27 Feb, 2018 1 commit
  9. 28 Feb, 2017 1 commit
  10. 28 Dec, 2016 3 commits
  11. 01 Dec, 2016 1 commit
  12. 29 Nov, 2016 3 commits
  13. 16 Nov, 2016 1 commit
  14. 13 Nov, 2016 1 commit