Re: [U-Boot] [PATCH] syscon: update syscon_node_to_regmap to use the DM functions

2018-10-31 Thread Patrick DELAUNAY
Hi Simon, > From: s...@google.com On Behalf Of Simon Glass > Sent: mercredi 31 octobre 2018 01:11 > > HI Patrick, > > On 30 October 2018 at 07:44, Patrick Delaunay > wrote: > > > > + Update the function syscon_node_to_regmap() to force bound on > > syscon uclass and directly use the list of

Re: [U-Boot] [PATCH] syscon: update syscon_node_to_regmap to use the DM functions

2018-10-30 Thread Simon Glass
HI Patrick, On 30 October 2018 at 07:44, Patrick Delaunay wrote: > > + Update the function syscon_node_to_regmap() to force bound on > syscon uclass and directly use the list of device from DM. > + Remove the static list syscon_list. > > This patch avoid issue (crash) when

Re: [U-Boot] [PATCH] syscon: update syscon_node_to_regmap to use the DM functions

2018-10-30 Thread Patrick DELAUNAY
Hi Tom > From: Tom Rini > Sent: mardi 30 octobre 2018 14:52 > Subject: Re: [PATCH] syscon: update syscon_node_to_regmap to use the DM > functions > > On Tue, Oct 30, 2018 at 02:44:29PM +0100, Patrick Delaunay wrote: > > + Update the function syscon_node_to_regmap() to force bound on > >

Re: [U-Boot] [PATCH] syscon: update syscon_node_to_regmap to use the DM functions

2018-10-30 Thread Tom Rini
On Tue, Oct 30, 2018 at 02:44:29PM +0100, Patrick Delaunay wrote: > + Update the function syscon_node_to_regmap() to force bound on > syscon uclass and directly use the list of device from DM. > + Remove the static list syscon_list. > > This patch avoid issue (crash) when

[U-Boot] [PATCH] syscon: update syscon_node_to_regmap to use the DM functions

2018-10-30 Thread Patrick Delaunay
+ Update the function syscon_node_to_regmap() to force bound on syscon uclass and directly use the list of device from DM. + Remove the static list syscon_list. This patch avoid issue (crash) when syscon_node_to_regmap() is called before and after reallocation (list content is invalid).