xref: /rk3399_ARM-atf/plat/socionext/uniphier/tsp/uniphier_tsp_setup.c (revision 62c9be71d6b6356e021e3640000e4e30f4cbb3e5)
1 /*
2  * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #include <platform_def.h>
8 
9 #include <common/bl_common.h>
10 #include <lib/xlat_tables/xlat_mmu_helpers.h>
11 
12 #include "../uniphier.h"
13 
14 void tsp_early_platform_setup(void)
15 {
16 	uniphier_console_setup();
17 }
18 
19 void tsp_platform_setup(void)
20 {
21 }
22 
23 void tsp_plat_arch_setup(void)
24 {
25 	uniphier_mmap_setup();
26 	enable_mmu_el1(0);
27 }
28