1. 05 Jun, 2014 6 commits
    • Sandrine Bailleux's avatar
      juno: Use the reworked handover interface between BL stages · 7c7f0515
      Sandrine Bailleux authored
      Propagate FVP changes introduced by these 3 commits:
       - 29fb905d Rework handover interface between BL stages
       - 4112bfa0 Populate BL31 input parameters as per new spec
       - 6871c5d3 Rework memory information passing to BL3-x images
      
      Change-Id: If024f575782d9c74db4cf929a2ab40563921dedd
      7c7f0515
    • Sandrine Bailleux's avatar
      juno: Provide per-EL MMU setup functions · a90bfa33
      Sandrine Bailleux authored
      Instead of having a single version of the MMU setup functions for all
      bootloader images that can execute either in EL3 or in EL1, provide
      separate functions for EL1 and EL3. Each bootloader image can then
      call the appropriate version of these functions. The aim is to reduce
      the amount of code compiled in each BL image by embedding only what's
      needed (e.g. BL1 to embed only EL3 variants).
      
      Change-Id: Ie3f6fb58f7d9ea4e4085b5069e27d6b9dceaa286
      a90bfa33
    • Sandrine Bailleux's avatar
      juno: Correct usage of mem. barriers in MMU setup code · dcb3a563
      Sandrine Bailleux authored
      Add memory barriers to ensure that all translation table writes
      have drained into memory, the TLB invalidation is complete,
      and translation register writes are committed before enabling
      the MMU.
      
      Also ensure the MMU enable takes effect immediately.
      
      These changes are necessary because of commit 8cec598b.
      
      Change-Id: I65b5c3593af27f19da3fd2170c55f631f1ce7b81
      dcb3a563
    • Sandrine Bailleux's avatar
      juno: Remove unused disable_mmu() function · d3f26246
      Sandrine Bailleux authored
      disable_mmu() cannot work as a C function as there is no control
      over data accesses generated by the compiler between disabling and
      cleaning the data cache. This results in reading stale data from
      main memory.
      
      This patch removes the C version of this function in juno code.
      An assembly version has been introduced in commit 2f5dcfef.
      
      Change-Id: I0de10dbe2db8d22855bf1f60f1e48540a4861cb6
      d3f26246
    • Sandrine Bailleux's avatar
      juno: Fix build errors due to recent changes · 65a42f57
      Sandrine Bailleux authored
      This is a miscellaneous commit that fixes all build
      errors introduced by the rebase of the Juno codebase
      on the latest trusted firmware.
      
       - Make codebase consistent in its use of #include "" syntax
         for user includes and #include <> syntax for system includes.
      
       - Sort header files alphabetically
      
       - Use tag names for structure types.
         Replace instances of the former io_handle and io_dev_handle
         types with uintptr_t.
      
       - Review the .c and .S files for which header files really need
         including and reorder the #include statements alphabetically.
      
      Change-Id: I1d409fafb6dc257a38992ee15b22b0e890d040b0
      65a42f57
    • Sandrine Bailleux's avatar
      juno: Rename Juno "mmap" array to avoid name confusion · 61cb163b
      Sandrine Bailleux authored
      Rename the array "mmap" in plat/juno/aarch64/plat_common.c to
      "juno_mmap", to avoid confusion with the array of the same name
      in lib/arch/aarch64/xlat_tables.c
      
      Change-Id: If2f2976b1bc9177a14625a2a4559c32c5236090f
      61cb163b
  2. 04 Jun, 2014 8 commits