mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-15 00:54:22 +00:00

Many parts of the code were duplicating symbols that are defined in include/common/bl_common.h. It is better to only use the definitions in this header. As all the symbols refer to virtual addresses, they have to be uintptr_t, not unsigned long. This has also been fixed in bl_common.h. Change-Id: I204081af78326ced03fb05f69846f229d324c711 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
29 lines
511 B
C
29 lines
511 B
C
/*
|
|
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <platform_def.h>
|
|
|
|
#include <common/bl_common.h>
|
|
#include <lib/xlat_tables/xlat_mmu_helpers.h>
|
|
|
|
#include "../uniphier.h"
|
|
|
|
#define BL32_SIZE ((BL32_END) - (BL32_BASE))
|
|
|
|
void tsp_early_platform_setup(void)
|
|
{
|
|
uniphier_console_setup();
|
|
}
|
|
|
|
void tsp_platform_setup(void)
|
|
{
|
|
}
|
|
|
|
void tsp_plat_arch_setup(void)
|
|
{
|
|
uniphier_mmap_setup(BL32_BASE, BL32_SIZE, NULL);
|
|
enable_mmu_el1(0);
|
|
}
|