From: Tom Rini Date: Wed, 5 Jun 2019 15:51:27 -0400 Subject: [U-Boot] [PATCH V2] arm: omap3: Manually initialize GPIO if OF_CONTROL doesn't In-Reply-To: <20190529204253.2061-1-aford173@gmail.com> References: <20190529204253.2061-1-aford173@gmail.com> Message-ID: <20190605195127.GK10942@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, May 29, 2019 at 03:42:53PM -0500, Adam Ford wrote: > The commong initialization code manually initializes the GPIO > even when OF_CONTROL does it, so we can reduce the code size a > bit by not doing it manually when we have device tree support. > > Using the omap3_logic board (dm3730), the sizes shrunk: > > Before: > > text data bss dec hex filename > 561066 28596 116880 706542 ac7ee u-boot > 55245 1605 1888 58738 e572 spl/u-boot-spl > > After > text data bss dec hex filename > 560898 28548 116872 706318 ac70e u-boot > 55121 1557 1888 58566 e4c6 spl/u-boot-spl > > Signed-off-by: Adam Ford 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: