blob: 7df17d3cdf6572454b5a416d410ad7248ef0e29e [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>
8#include <xlat_mmu_helpers.h>
9
10#include "../uniphier.h"
11
12#define BL32_END (unsigned long)(&__BL32_END__)
13#define BL32_SIZE ((BL32_END) - (BL32_BASE))
14
15void tsp_early_platform_setup(void)
16{
17 uniphier_console_setup();
18}
19
20void tsp_platform_setup(void)
21{
22}
23
24void tsp_plat_arch_setup(void)
25{
26 uniphier_mmap_setup(BL32_BASE, BL32_SIZE, NULL);
27 enable_mmu_el1(0);
28}