[U-Boot] DM: omap_gpio: Reduce overhead when used with OF_PLATDATA

Tom Rini trini at konsulko.com
Tue Sep 18 21:25:25 UTC 2018


On Mon, Aug 20, 2018 at 08:27:48PM -0500, Adam Ford wrote:

> Platforms with limited resources in SPL may enable OF_PLATDATA,
> this limits some of the library functions and cannot extract data
> from the device tree.  This patch adds additional wrappers around
> these functions to only allow them when OF_CONTROL is enabled and
> OF_PLATDATA is not.
> 
> Signed-off-by: Adam Ford <aford173 at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> 
> diff --git a/drivers/gpio/omap_gpio.c b/drivers/gpio/omap_gpio.c
> index 651f6994e4..fcf25fc5a4 100644

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/20180918/7e21bc43/attachment.sig>


More information about the U-Boot mailing list