1 /* 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 tsp_early_platform_setup(void)15void tsp_early_platform_setup(void) 16 { 17 uniphier_console_setup(); 18 } 19 tsp_platform_setup(void)20void tsp_platform_setup(void) 21 { 22 } 23 tsp_plat_arch_setup(void)24void tsp_plat_arch_setup(void) 25 { 26 uniphier_mmap_setup(BL32_BASE, BL32_SIZE, NULL); 27 enable_mmu_el1(0); 28 } 29