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

Tom Rini trini at konsulko.com
Mon Dec 17 12:11:25 UTC 2018


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 <patrick.delaunay at st.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20181217/4e6cabb5/attachment.sig>


More information about the U-Boot mailing list