On Wed, Jul 30, 2025 at 03:05:59PM +0200, Heinrich Schuchardt wrote:
> On 30.07.25 14:58, Quentin Schulz wrote:
> > Hi Heinrich,
> > 
> > On 7/30/25 2:54 PM, Heinrich Schuchardt wrote:
> > > %s/restict/restrict/
> > > 
> > > SPL and TPL have separate options (plural).
> > > 
> > 
> > Looks good to me.
> > 
> > Wondering if we couldn't add which options are to be used for TPL/SPL
> > Would that be TPL_MAX_SIZE and SPL_MAX_SIZE maybe?
> > 
> > Reviewed-by: Quentin Schulz <quentin.sch...@cherry.de>
> > 
> > Thanks!
> > Quentin
> 
> Thanks for reviewing.
> 
> With VPL_SIZE_LIMIT and a patch for UBOOT_WITH_SPL_SIZE_LIMIT pending things
> get even more involved.
> 
> We should think about a documentation page on size limits:
> 
> CONFIG_HAS_BOARD_SIZE_LIMIT
> CONFIG_BOARD_SIZE_LIMIT
> CONFIG_SPL_SIZE_LIMIT
> CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD
> CONFIG_SPL_SIZE_LIMIT_SUBTRACT_MALLOC
> CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK
> CONFIG_TPL_SIZE_LIMIT
> CONFIG_VPL_SIZE_LIMIT

As Philip has hit adding a new MIPS board and need for specific size
check, yes, better documentation (and then perhaps adjusting and
cleanup) of our various size checks is much needed and would be
appreciated.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to