diff options
author | Hugo Villeneuve <hvilleneuve@dimonoff.com> | 2025-06-12 09:35:18 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-12 08:43:20 -0600 |
commit | 461f357fa9fa29886c787583d42e7a8d2cd14feb (patch) | |
tree | 937ae73f95539ddace5d42e88fadfd81d450d4ec /scripts/dtc/pylibfdt/setup.py | |
parent | 02a2cbfee83df3eddf619d01e5153c3239a3984d (diff) |
board: var-som-mx8mn: Fix alloc space exhausted in SPL
After enabling some options to support EEPROM read in SPL
(CONFIG_SPL_I2C_EEPROM), the following error appears:
alloc space exhausted
Increasing SYS_MALLOC_F_LEN from 8kB to 64kB fixes the problem.
But instead of manually increasing the value, adopt method used in
commit ce3f23404c19 ("board: bsh: imx8mn_bsh_smm_s2/s2pro: enlarge
CONFIG_SPL_SYS_MALLOC_F_LEN"):
Dropping CONFIG_SPL_SYS_MALLOC_F_LEN option allows it to be set to the
default value of CONFIG_SYS_MALLOC_F_LEN, which is set by default to 64kB
(0x10000) on i.MX8M platforms.
Suggested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
0 files changed, 0 insertions, 0 deletions