From: Tom Rini Date: Thu, 28 Feb 2019 13:51:29 -0500 Subject: [U-Boot] [PATCH v3 1/1] configs: rk3288: Tinker Board SPL file must fit into 32 KiB In-Reply-To: <867f6021-0ed8-b335-7126-10e6334d351e@gmail.com> References: <20190214062549.19481-1-xypron.glpk@gmx.de> <20190227185539.GD12046@bill-the-cat> <867f6021-0ed8-b335-7126-10e6334d351e@gmail.com> Message-ID: <20190228185129.GQ12046@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 Thu, Feb 28, 2019 at 07:14:08PM +0100, Simon Goldschmidt wrote: > Am 27.02.2019 um 19:55 schrieb Tom Rini: > >On Wed, Feb 27, 2019 at 11:15:23AM +0100, Simon Goldschmidt wrote: > >>Tom, > >> > >>On Thu, Feb 14, 2019 at 10:20 AM Simon Goldschmidt > >> wrote: > >>> > >>>On Thu, Feb 14, 2019 at 7:26 AM Heinrich Schuchardt wrote: > >>>> > >>>>The SPL image for the Tinker Board has to fit into 32 KiB. This includes > >>>>up to 2 KiB for the file header. > >>>> > >>>>A new configuration variable CONFIG_SPL_WITH_DTB_SIZE_LIMIT is introduced > >>>>to define the board specific limit. > >>>> > >>>>Signed-off-by: Heinrich Schuchardt > >>> > >>>Reviewed-by: Simon Goldschmidt > >> > >>Is this planned for v2019.04? I know we're in rc phase, but this patch > >>adds a new config > >>option so shouldn't interfere with boards not using it. > >> > >>Plus if we have this SPL size check in v2019.04, it would probably > >>enable more board > >>maintainers testing/fixing the SPL size check after the release. > > > >I really want to get the generic version of this in, yes. > > Which generic version? Was there some kind of generic follow-up patch I > missed? No, there wasn't I believe which is why nothing has been applied. I don't want to add a 3rd copy of the BOARD_SIZE_CHECK logic, I want it to be re-usable and then used by CONFIG_SPL_MAX_SIZE / CONFIG_TPL_MAX_SIZE because as with the switch (compared to when these checks were first introduced, pre-SPL-DM) we now have image content that's not caught by the linker check, so we need to use those variables in the right place now. -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: