uniphier_tsp_setup.c 443 Bytes
Newer Older
Masahiro Yamada's avatar
Masahiro Yamada committed
1
/*
2
 * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
Masahiro Yamada's avatar
Masahiro Yamada committed
3
4
5
6
7
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#include <platform_def.h>
8

9
#include <common/bl_common.h>
10
#include <lib/xlat_tables/xlat_mmu_helpers.h>
Masahiro Yamada's avatar
Masahiro Yamada committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#include "../uniphier.h"

void tsp_early_platform_setup(void)
{
	uniphier_console_setup();
}

void tsp_platform_setup(void)
{
}

void tsp_plat_arch_setup(void)
{
25
	uniphier_mmap_setup();
Masahiro Yamada's avatar
Masahiro Yamada committed
26
27
	enable_mmu_el1(0);
}