arm-trusted-firmware/plat/mediatek/common/lpm_v2/mt_lp_mmap.c
Wenzhen Yu da8cc41bc8 feat(mt8196): add LPM v2 support
LPM means low power module, it will connect idle and SPM to achieve
lower power consumption in some scenarios, and this patch is LPM
second version

Signed-off-by: Wenzhen Yu <wenzhen.yu@mediatek.corp-partner.google.com>
Change-Id: I6ae5b5b4c2056d08c29efab5116be3a92351d8f1
2025-01-22 15:28:08 +08:00

19 lines
452 B
C

/*
* Copyright (c) 2025, MediaTek Inc. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <platform_def.h>
#include <mtk_mmap_pool.h>
static const mmap_region_t lpm_sram_mmap[] MTK_MMAP_SECTION = {
#if (MTK_LPM_SRAM_BASE && MTK_LPM_SRAM_MAP_SIZE)
/* LPM used syssram */
MAP_REGION_FLAT(MTK_LPM_SRAM_BASE, MTK_LPM_SRAM_MAP_SIZE,
MT_DEVICE | MT_RW | MT_SECURE),
#endif
{0}
};
DECLARE_MTK_MMAP_REGIONS(lpm_sram_mmap);