Hi, > From: Marek Vasut <[email protected]> > 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 <[email protected]> > Cc: Manivannan Sadhasivam <[email protected]> > Cc: Patrick Delaunay <[email protected]> > Cc: Patrice Chotard <[email protected]> > --- > 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(-) >
Applied to u-boot-stm/master, thanks! Regards Patrick

