[U-Boot] [U-Boot, 2/2] DM: OMAP24XX_I2C: Reduce overhead when used with OF_PLATDATA

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


On Mon, Aug 20, 2018 at 08:24:35PM -0500, Adam Ford wrote:

> Platforms with limited resources in SPL may enably 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>
> 
> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
> index 0759585c9e..54bf35e552 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/93df6f96/attachment.sig>


More information about the U-Boot mailing list