blob: 64380f07a19c2e7ca73188d8a3d1b628599ab5fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Copyright (c) 2006-2025, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2025-08-10 Siwei Xu Add i.MX91 SDK
*/
#include "imx91.h"
#include "MIMX9131.h"
#include <rtconfig.h>
#include <ioremap.h>
rt_base_t platform_get_gic_dist_base(void)
{
return (rt_base_t)rt_ioremap((void *)GIC_DISTRIBUTOR_BASE, GIC_DISTRIBUTOR_SIZE);
}
rt_base_t platform_get_gic_redist_base(void)
{
return (rt_base_t)rt_ioremap((void *)GIC_REDISTRIBUTOR_BASE, GIC_REDISTRIBUTOR_SIZE);
}
rt_base_t platform_get_gic_cpu_base(void)
{
return (rt_base_t)rt_ioremap((void *)GIC_REDISTRIBUTOR_BASE, GIC_REDISTRIBUTOR_SIZE);
}
|