mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 09:34:18 +00:00

Add armv8.2 support for MT8188. Signed-off-by: Edward-JW Yang <edward-jw.yang@mediatek.com> Change-Id: I0ac865949ba864fb207ee1f0937092cbabd550de
28 lines
822 B
C
28 lines
822 B
C
/*
|
|
* Copyright (c) 2022, Mediatek Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <arch.h>
|
|
#include <lib/psci/psci.h>
|
|
#include <platform_def.h>
|
|
|
|
#pragma weak plat_get_power_domain_tree_desc
|
|
|
|
static const unsigned char mtk_power_domain_tree_desc[] = {
|
|
/* Number of root nodes */
|
|
PLATFORM_SYSTEM_COUNT,
|
|
/* Number of children for the root node */
|
|
PLATFORM_CLUSTER_COUNT,
|
|
/* Number of children for the first cluster node */
|
|
PLATFORM_CLUSTER0_CORE_COUNT,
|
|
};
|
|
|
|
/*******************************************************************************
|
|
* This function returns the default topology tree information.
|
|
******************************************************************************/
|
|
const unsigned char *plat_get_power_domain_tree_desc(void)
|
|
{
|
|
return mtk_power_domain_tree_desc;
|
|
}
|