]> git.sur5r.net Git - u-boot/commit
pinctrl: Avoid binding all pinconfig nodes before relocation
authorSimon Glass <sjg@chromium.org>
Tue, 29 Dec 2015 12:22:52 +0000 (05:22 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:06:22 +0000 (19:06 -0700)
commit5589a8182957054f8ac4ec3d91492710e718e44d
tree206a385c799c38cc3328281e2529b24acb26b13f
parent4fbd258e69373a60cdf24c9a64065b486f8748c9
pinctrl: Avoid binding all pinconfig nodes before relocation

This can create a large number of pinctrl devices. It chews up early
malloc() memory and takes time. Only bind those which are marked as needed
before relocation.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pinctrl/pinctrl-uclass.c