1. 05 Jun, 2014 4 commits
    • 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