Re: [PATCH 2/4] [RFC] ram: stm32mp1: Add support for multiple configs

2020-04-08 Thread Marek Vasut
On 4/8/20 12:17 PM, Patrick DELAUNAY wrote: > Hi Marek, Hi, >> From: Marek Vasut >> Sent: mardi 7 avril 2020 21:58 >> >> On 4/7/20 3:04 PM, Patrick DELAUNAY wrote: >>> Hi Marek, >> >> Hi, >> >> [...] >> +__weak int board_stm32mp1_ddr_config_name_match(struct udevice *dev, +

RE: [PATCH 2/4] [RFC] ram: stm32mp1: Add support for multiple configs

2020-04-08 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mardi 7 avril 2020 21:58 > > On 4/7/20 3:04 PM, Patrick DELAUNAY wrote: > > Hi Marek, > > Hi, > > [...] > > >> +__weak int board_stm32mp1_ddr_config_name_match(struct udevice *dev, > >> + const char *name) > >> +{

Re: [PATCH 2/4] [RFC] ram: stm32mp1: Add support for multiple configs

2020-04-07 Thread Marek Vasut
On 4/7/20 3:04 PM, Patrick DELAUNAY wrote: > Hi Marek, Hi, [...] >> +__weak int board_stm32mp1_ddr_config_name_match(struct udevice *dev, >> +const char *name) >> +{ >> +return 0; /* Always match */ >> +} >> + >> +static ofnode stm32mp1_ddr_g

RE: [PATCH 2/4] [RFC] ram: stm32mp1: Add support for multiple configs

2020-04-07 Thread Patrick DELAUNAY
Hi Marek, > From: Marek Vasut > Sent: mercredi 1 avril 2020 01:48 > > 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

[PATCH 2/4] [RFC] ram: stm32mp1: Add support for multiple configs

2020-03-31 Thread Marek Vasut
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 func