1. 17 Dec, 2019 2 commits
    • Heiko Stuebner's avatar
      rockchip: really use base+size for secure ddr regions · 7f0b2e78
      Heiko Stuebner authored
      
      
      The calls to secure ddr regions on rk3288 and rk3399 use parameters of
      base and size - as it custom for specifying memory regions, but the
      functions themself expect start and endpoints of the area.
      
      This only works by chance for the TZRAM, as it starts a 0x0 and therefore
      its end location is the same as its size.
      
      To not fall into a trap later on adapt the functions to really take
      base+size parameters.
      Signed-off-by: default avatarHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
      Change-Id: Idb9fab38aa081f3335a4eca971e7b7f6757fbbab
      7f0b2e78
    • Heiko Stuebner's avatar
      rockchip: bring TZRAM_SIZE values in line · c6ee020e
      Heiko Stuebner authored
      
      
      The agreed upon division of early boot locations is 0x40000 for bl31
      to leave enough room for u-boot-spl and 0x100000 for bl33 (u-boot).
      
      rk3288 and rk3399 already correctly secure the ddr up to the 1MB boundary
      so pull the other platforms along to also give the Rockchip TF-A enough
      room to comfortably live in.
      Signed-off-by: default avatarHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
      Change-Id: Ie9e0c927d3074a418b6fd23b599d2ed7c15c8c6f
      c6ee020e
  2. 13 Dec, 2019 1 commit
    • Joshua Watt's avatar
      rockchip: Prevent macro expansion in paths · 39a97dce
      Joshua Watt authored
      
      
      Instead of stringizing the paths to binary files, add them as string
      defines on the command line (e.g. -DFOO=\"BAR\" instead of -DFOO=BAR).
      This prevents macros from being expanded inside the string value itself.
      For example, -DFOO=/path/with-linux-in-it would have been expanded to
      "/path/with-1-in-it" because `linux=1` is one of the standard GCC
      defines.
      
      Change-Id: I7b65df3c9930faed4f1aff75ad726982ae3671e6
      Signed-off-by: default avatarJoshua Watt <JPEWhacker@gmail.com>
      39a97dce
  3. 12 Dec, 2019 1 commit
  4. 10 Dec, 2019 4 commits
  5. 09 Dec, 2019 2 commits
  6. 04 Dec, 2019 3 commits
  7. 28 Nov, 2019 27 commits