- 05 Jun, 2014 8 commits
-
-
Sandrine Bailleux authored
Juno code can re-use the enable_mmu_elX() functions from lib/aarch64/xlat_tables.c. Because the Juno port now includes plat/common/aarch64/plat_common.c the juno specific 'plat_common.c' needs to be renamed to avoid name conflicts at build time. Change-Id: I1e9cc6484643fbf516dfac0236573e0474ccc0a2
-
Sandrine Bailleux authored
Change-Id: I0837d787837a40a724a8b7f2e3abd82287f403f3
-
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
-
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
-
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
-
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
-
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
-
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
-
- 04 Jun, 2014 8 commits
-
-
Sandrine Bailleux authored
These changes are necessary because of commit 2bf28e62. Change-Id: I3e42e97638fe895c885bcbf44392a899284956f8
-
Sandrine Bailleux authored
Remove the hard coding of all the MMU related registers with 0 and disable MMU by clearing the M and C bit in SCTLR_ELx. Also remove use of partially qualified asm helper functions. Change-Id: I383083f93a0a53143e58f146faf7755198f6a6ca
-
Sandrine Bailleux authored
Change-Id: I6d7c040d7569df601a12007dd2413c39f40f07ce
-
Sandrine Bailleux authored
In the Juno port, this function returns the first entry of the frequency modes table from the memory mapped generic timer.
-
Jon Medhurst authored
Note, on Juno mailboxes are 16 bytes because any bigger and they would overlap the memory used for MHU payload data for SCP->AP transfers. Signed-off-by:
Jon Medhurst <tixy@linaro.org>
-
Jon Medhurst authored
Signed-off-by:
Jon Medhurst <tixy@linaro.org>
-
Sandrine Bailleux authored
-
Jon Medhurst authored
Signed-off-by:
Jon Medhurst <tixy@linaro.org>
-