blob: 0b232e0674f10d50a0b1e3b96e5c3c2fb952c470 [file] [log] [blame]
Masahiro Yamadad9cf7bb2017-05-15 13:00:00 +09001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
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 +090014#define BL32_SIZE ((BL32_END) - (BL32_BASE))
15
16void tsp_early_platform_setup(void)
17{
18 uniphier_console_setup();
19}
20
21void tsp_platform_setup(void)
22{
23}
24
25void tsp_plat_arch_setup(void)
26{
27 uniphier_mmap_setup(BL32_BASE, BL32_SIZE, NULL);
28 enable_mmu_el1(0);
29}