1. 28 Mar, 2013 4 commits
    • Vincent Stehlé's avatar
      armv7: do not relocate _start twice · d53e340e
      Vincent Stehlé authored
      
      
      The _start symbol is already relocated, so do not add the relocation the second
      time in c_runtime_cpu_setup.
      
      This fixes e.g. the abort exception handling path, which ended in double fault
      due to bad address in VBAR.
      Signed-off-by: default avatarVincent Stehlé <v-stehle@ti.com>
      Reported-by: default avatarLubomir Popov <lpopov@mm-sol.com>
      d53e340e
    • R Sricharan's avatar
      ARM: mmu: Set domain permissions to client access · de63ac27
      R Sricharan authored
      
      
       The 'XN' execute never bit is set in the pagetables. This will
       prevent speculative prefetches to non executable regions. But the
       domain permissions are set as master in the DACR register.
       So the pagetable attribute for 'XN' is not effective. Change the
       permissions to client.
      
       This fixes lot of speculative prefetch aborts seen on OMAP5
       secure devices.
      Signed-off-by: default avatarR Sricharan <r.sricharan@ti.com>
      Tested-by: default avatarVincent Stehle <v-stehle@ti.com>
      Cc: Vincent Stehle <v-stehle@ti.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      de63ac27
    • R Sricharan's avatar
      ARM: mmu: Introduce weak dram_bank_setup function · 96fdbec2
      R Sricharan authored
      
      
      Introduce a weak version of dram_bank_setup function
      to allow a platform specific function.
      
      This is used in the subsequent patch to setup dram region
      without 'XN' attribute in order to enable the region
      under client permissions.
      Signed-off-by: default avatarR Sricharan <r.sricharan@ti.com>
      Cc: Vincent Stehle <v-stehle@ti.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      96fdbec2
    • Vincent Stehlé's avatar
      ARM: cache: declare set_section_dcache · dfa41387
      Vincent Stehlé authored
      We declare the set_section_dcache function globally in the cache header, for
      later use by e.g. machine specific code.
      
      Signed-off-by: Vincent Stehlé <v-stehle <at> ti.com>
      Cc: Tom Rini <trini <at> ti.com>
      Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
      dfa41387
  2. 26 Mar, 2013 2 commits
  3. 25 Mar, 2013 17 commits
  4. 24 Mar, 2013 17 commits