GK SDK 源码库: XMIPCLinuxV100R005C00SPC030 (kernel/tools/open_source excluded)
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Copyright (c) 2019, ARM Limited. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <drivers/arm/scu.h>
|
||||
#include <plat/arm/common/plat_arm.h>
|
||||
|
||||
|
||||
void plat_arm_sp_min_early_platform_setup(u_register_t arg0, u_register_t arg1,
|
||||
u_register_t arg2, u_register_t arg3)
|
||||
{
|
||||
arm_sp_min_early_platform_setup((void *)arg0, arg1, arg2, (void *)arg3);
|
||||
|
||||
/* enable snoop control unit */
|
||||
enable_snoop_ctrl_unit(A5DS_SCU_BASE);
|
||||
}
|
||||
|
||||
/*
|
||||
* A5DS will only have one always-on power domain and there
|
||||
* is no power control present.
|
||||
*/
|
||||
void plat_arm_pwrc_setup(void)
|
||||
{
|
||||
}
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# Copyright (c) 2019, ARM Limited. All rights reserved.
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
#
|
||||
|
||||
# SP_MIN source files specific to A5DS platform
|
||||
BL32_SOURCES += drivers/arm/scu/scu.c \
|
||||
drivers/cfi/v2m/v2m_flash.c \
|
||||
lib/utils/mem_region.c \
|
||||
lib/aarch32/arm32_aeabi_divmod.c \
|
||||
lib/aarch32/arm32_aeabi_divmod_a32.S \
|
||||
plat/arm/board/a5ds/aarch32/a5ds_helpers.S \
|
||||
plat/arm/board/a5ds/a5ds_pm.c \
|
||||
plat/arm/board/a5ds/a5ds_topology.c \
|
||||
plat/arm/board/a5ds/sp_min/a5ds_sp_min_setup.c \
|
||||
plat/arm/common/sp_min/arm_sp_min_setup.c \
|
||||
plat/common/aarch32/platform_mp_stack.S \
|
||||
plat/common/plat_psci_common.c \
|
||||
${A5DS_CPU_LIBS} \
|
||||
${A5DS_GIC_SOURCES} \
|
||||
${A5DS_SECURITY_SOURCES}
|
||||
Reference in New Issue
Block a user