From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 17 Dec 2018 07:11:25 -0500 Subject: [U-Boot] [U-Boot, v2] syscon: update syscon_node_to_regmap to use the DM functions In-Reply-To: <1541000943-24251-1-git-send-email-patrick.delaunay@st.com> References: <1541000943-24251-1-git-send-email-patrick.delaunay@st.com> Message-ID: <20181217121125.GL8702@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 31, 2018 at 04:49:03PM +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 syscon_node_to_regmap() is called > before and after reallocation (list content is invalid). > > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: