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

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
19 lines
452 B
C
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);
|