Gavin Liu | 6c60901 | 2024-11-11 09:32:19 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2025, MediaTek Inc. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
| 7 | #include <stdint.h> |
| 8 | |
| 9 | #include <mtk_mmap_pool.h> |
| 10 | #include <platform_def.h> |
| 11 | |
| 12 | static const mmap_region_t plat_mmap[] = { |
| 13 | MAP_REGION_FLAT(MTK_DEV_RNG0_BASE, MTK_DEV_RNG0_SIZE, |
| 14 | MT_DEVICE | MT_RW | MT_SECURE), |
| 15 | MAP_REGION_FLAT(MTK_DEV_RNG1_BASE, MTK_DEV_RNG1_SIZE, |
| 16 | MT_DEVICE | MT_RW | MT_SECURE), |
| 17 | { 0 } |
| 18 | }; |
| 19 | DECLARE_MTK_MMAP_REGIONS(plat_mmap); |