Hi, On 26.07.22 10:40, Peng Fan (OSS) wrote: > From: Peng Fan <[email protected]> > > The CONFIG_SPL_MAX_SIZE could be 0x27000 for i.MX8MM when SPL_TEXT_BASE > set to 0x7E1000. > > The DDR firmware max uses 96KB, there is a 4KB padding header before > SPL_TEXT_BASE, so the SPL MAX SIZE is `256KB - 96KB - 4KB`.
Am I right to assume that setting CONFIG_SPL_MAX_SIZE to 0x27000 is more restricting nowadays than it would need to be? If I understand correctly nowadays the DDR firmware doesn't need a fixed 96 KiB area with padding anymore, but rather takes up only the space it needs (~ 57 KiB) due to "binman magic". If this is correct, is it safe to increase CONFIG_SPL_MAX_SIZE? Is there a sane default that we could use instead of 0x27000? Thanks Frieder

