blob: 4f58b683c8b0738d0c45d41f0ac0c273fdfedb81 [file] [log] [blame]
Masahiro Yamadad9cf7bb2017-05-15 13:00:00 +09001/*
Masahiro Yamadae30ec7f2020-01-17 13:46:38 +09002 * Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
Masahiro Yamadad9cf7bb2017-05-15 13:00:00 +09003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <platform_def.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00008
Antonio Nino Diazde97ff32019-01-25 13:28:38 +00009#include <common/bl_common.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000010#include <lib/xlat_tables/xlat_mmu_helpers.h>
Masahiro Yamadad9cf7bb2017-05-15 13:00:00 +090011
12#include "../uniphier.h"
13
Masahiro Yamadad9cf7bb2017-05-15 13:00:00 +090014void tsp_early_platform_setup(void)
15{
16 uniphier_console_setup();
17}
18
19void tsp_platform_setup(void)
20{
21}
22
23void tsp_plat_arch_setup(void)
24{
Masahiro Yamadae30ec7f2020-01-17 13:46:38 +090025 uniphier_mmap_setup();
Masahiro Yamadad9cf7bb2017-05-15 13:00:00 +090026 enable_mmu_el1(0);
27}