GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
BL32_SOURCES += plat/common/plat_gicv3.c \
|
||||
plat/common/aarch64/platform_mp_stack.S \
|
||||
$(PLAT_PATH)/tsp/uniphier_tsp_setup.c
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2020, ARM Limited and Contributors. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include <platform_def.h>
|
||||
|
||||
#include <common/bl_common.h>
|
||||
#include <plat/common/platform.h>
|
||||
|
||||
#include "../uniphier.h"
|
||||
|
||||
static unsigned int uniphier_soc = UNIPHIER_SOC_UNKNOWN;
|
||||
|
||||
void tsp_early_platform_setup(void)
|
||||
{
|
||||
uniphier_soc = uniphier_get_soc_id();
|
||||
if (uniphier_soc == UNIPHIER_SOC_UNKNOWN)
|
||||
plat_error_handler(-ENOTSUP);
|
||||
|
||||
uniphier_console_setup(uniphier_soc);
|
||||
}
|
||||
|
||||
void tsp_platform_setup(void)
|
||||
{
|
||||
}
|
||||
|
||||
void tsp_plat_arch_setup(void)
|
||||
{
|
||||
uniphier_mmap_setup(uniphier_soc);
|
||||
}
|
||||
Reference in New Issue
Block a user