From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 7 Jun 2019 18:05:01 -0400 Subject: [U-Boot] [PATCH v4 3/4] configs: define CONFIG_SPL_SIZE_LIMIT In-Reply-To: <20190402171907.17929-4-xypron.glpk@gmx.de> References: <20190402171907.17929-1-xypron.glpk@gmx.de> <20190402171907.17929-4-xypron.glpk@gmx.de> Message-ID: <20190607220501.GD7461@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, Apr 02, 2019 at 07:19:06PM +0200, Heinrich Schuchardt wrote: > A new configuration variable CONFIG_SPL_SIZE_LIMIT is introduced to define > the board specific maximum size for the SPL file. > > Use Makefile function size_check() to implement the test. > > Depending on the size of CONFIG_SPL_SIZE_LIMIT an error like the following > is thrown: > > spl/u-boot-spl.bin exceeds file size limit: > limit: 30720 bytes > actual: 33426 bytes > excess: 2706 bytes > make: *** [Makefile:1663: spl/u-boot-spl.bin] Error 1 > > Signed-off-by: Heinrich Schuchardt 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: