From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 18 Sep 2018 17:25:25 -0400 Subject: [U-Boot] DM: omap_gpio: Reduce overhead when used with OF_PLATDATA In-Reply-To: <20180821012748.20816-1-aford173@gmail.com> References: <20180821012748.20816-1-aford173@gmail.com> Message-ID: <20180918212525.GL4642@opus> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Reviewed-by: Simon Glass > > 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: