diff options
author | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-10-15 16:56:03 +0100 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2014-10-21 10:16:44 +0100 |
commit | 2902b1ddf6101cd4c3cffc0443326bdea3bda0a6 (patch) | |
tree | 23b5dbde95529a519668c248198984d2d42f4308 /plat/juno/plat_setup.c | |
parent | 99565ab9d814d9c5844fbe2a4daba74848a95cc3 (diff) |
Restructure framework's directory hierarchy
This is a first, rough attempt at cleaning the framework's directory
hierarchy.
Basically, almost everything is moved to individual directories
under lib/. What's left under framework/ are the core features of
the framework, i.e. things that test cases won't ever need.
This patch also introduces some cleanups.
The following functions are removed:
- tftf_platform_get_time()
We'll need such a function in the future to measure tests execution
time but there's no reason for it to be platform-specific, we can
use the Generic Timer instead when we get to it.
Tracked by GENFW-506.
- tftf_platform_reset()
We'll need a function to reset the platform in the future but at
the moment it is not used.
Tracked by GENFW-500.
- tftf_platform_core_whoami()
Not needed. A CPU can just call read_mpidr_el1() to get its MPID,
then platform_get_core_pos() to get the corresponding linear ID.
See GENFW-483.
- tftf_is_core_enabled()
Superseded by plat_get_aff_state().
- tftf_core_participates_in_testcase()
Superseded by the platform API to query the platform topology.
Move the following defintions out of framework/helpers.c:
- Move mp_printf() in lib/utils/mp_printf.c
- Move MMU functions into plat_common.c as default implementations
of these platform functions.
What's left in helpers.c then are helper functions to write test
results into NVM so rename the file into nvm_results_helpers.c.
Remove bl_common.h as it contains only Trusted Firmware specific
definitions.
Rename tests_api.h into tftf_lib.h. Also move some of its
declarations into new header files: irq.h, systimer.h, sgi.h.
Remove tftf_common.h and move its declarations to tftf_lib.h.
Rename rt_services/ into runtime_services/.
The test cases' directory hierarchy needs to be restructured as well,
this will come in a subsequent patch.
Change-Id: I143c4c888586301594f6b6339d6e48cbbd817570
Diffstat (limited to 'plat/juno/plat_setup.c')
-rw-r--r-- | plat/juno/plat_setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/juno/plat_setup.c b/plat/juno/plat_setup.c index 3c450c5..50f3fa7 100644 --- a/plat/juno/plat_setup.c +++ b/plat/juno/plat_setup.c @@ -105,5 +105,5 @@ void tftf_early_platform_setup(void) void tftf_plat_arch_setup(void) { - tftf_configure_mmu(); + tftf_plat_configure_mmu(); } |