Commit graph

2 commits

Author SHA1 Message Date
Nicolas Le Bayon
372f459255 refactor(st): change method to get GIC base addresses
GIC DT node structure depends on system architecture, notably around
"reg" property. A generic way to retrieve base address is needed. Use
fdt_node_offset_by_compatible() helper.

Change-Id: Ibb47864bd5e8a76a48b9346fdcf87d31281517ce
Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
2024-06-21 09:29:58 +02:00
Yann Gautier
c27d8c00fd refactor(st): move GIC code to common directory
The GIC v2 initialization code could be shared to other ST platforms.
The stm32mp1_gic.c file is then moved to common directory, and renamed
stm32mp_gic.c.
The functions are also prefixed with stm32mp_gic.

Change-Id: I60820823b470217d3a95cc569f941c2cb923dfa9
Signed-off-by: Yann Gautier <yann.gautier@st.com>
2023-01-04 16:43:12 +01:00
Renamed from plat/st/stm32mp1/stm32mp1_gic.c (Browse further)