[U-Boot] [PATCH] omap4_common: config: remove I2C for SPL mode

Michael Trimarchi michael at amarulasolutions.com
Wed Jan 8 14:02:24 CET 2014


HI

On Wed, Jan 8, 2014 at 1:58 PM, Tom Rini <trini at ti.com> wrote:
> 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
>
> Ah toolchain fun, that's why I hadn't seen this, all of mine build
> around 32KiB.
>
> So, where is the 38KiB max size we set valid, on OMAP4 devices?
>

I'm working on a different version of u-boot for omap4460 and my spl
is very big

/* Defines for SPL */
#define CONFIG_SPL
#if 0
#define CONFIG_SPL_TEXT_BASE           0x40303080
#define CONFIG_SPL_MAX_SIZE            (38 * 1024)
#else
#define CONFIG_SPL_TEXT_BASE            0x40303080
#define CONFIG_SPL_MAX_SIZE             ((40 * 1024) + 512)
#endif

With this size I can boot from serial and from sdcard.

Michael

> --
> Tom
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list