From: Tom Rini Date: Fri, 21 Feb 2014 14:14:58 -0500 Subject: [U-Boot] omap4_common: config: remove I2C for SPL mode In-Reply-To: <1389146816-5056-1-git-send-email-nm@ti.com> References: <1389146816-5056-1-git-send-email-nm@ti.com> Message-ID: <20140221191458.GD16805@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 Tue, Jan 07, 2014 at 08:06:56PM -0600, Nishanth Menon wrote: > Commit 6789e84ecaa8f45d053084e08c381284a04abff7 (i2c, omap24xx: > convert driver to new mutlibus/mutliadapter framework) intended to > make I2C driver compatible with latest changes. It unfortunately has > had a impact on size on SPL as well. For example on SDP4430, > 32032 bytes before/MLO > 35416 bytes after/MLO > > With this mentioned commit, MLO stops booting on SDP4430 as only 32K > is accessible for non-secure (bootloader) s/w on GP devices and the size > increase to 56K fails boot. > > On the latest u-boot commit e7be18225fbea76d1f0034b224f0d1e60f07cfcf, > MLO is now at size 35592 bytes, However, I2C is not necessary for SPL > to function as we use SR_I2C for controlling the PMIC. > Disabling I2C reduces MLO to 32224 bytes which allows > OMAP4 GP platform to boot up. > > Since this is common for all OMAP4 platforms, remove the need for I2C > for SPL builds in the common config. > > Signed-off-by: Nishanth Menon > Reviewed-by: Sricharan R Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: