Hi, > From: Marek Vasut <ma...@denx.de> > Sent: mercredi 22 avril 2020 13:18 > > Add support for multiple DRAM configuration subnodes, while retaining the > support for a single flat DRAM configuration node. This is useful on systems > which can be manufactured in multiple configurations and where the DRAM > configuration can be determined at runtime. > > The code is augmented by a function which can be overridden on board level, > allowing a match on the configuration node name, very much like the fitImage > configuration node name matching works. The default match is on the single > top- > level DRAM configuration, if matching on subnodes is required, then this > board_stm32mp1_ddr_config_name_match() must be overridden. > > Signed-off-by: Marek Vasut <ma...@denx.de> > Cc: Manivannan Sadhasivam <manivannan.sadhasi...@linaro.org> > Cc: Patrick Delaunay <patrick.delau...@st.com> > Cc: Patrice Chotard <patrice.chot...@st.com> > --- > V2: Match on compatible string > V3: Rework the stm32mp1_ddr_get_ofnode() function > --- > drivers/ram/stm32mp1/stm32mp1_ram.c | 33 ++++++++++++++++++++++++----- > 1 file changed, 28 insertions(+), 5 deletions(-) >
Reviewed-by: Patrick Delaunay <patrick.delau...@st.com> Thanks Patrick