diff options
Diffstat (limited to 'tools/spl_size_limit.c')
-rw-r--r-- | tools/spl_size_limit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/spl_size_limit.c b/tools/spl_size_limit.c index 98ff491867a..c6c139e834f 100644 --- a/tools/spl_size_limit.c +++ b/tools/spl_size_limit.c @@ -14,6 +14,9 @@ int main(int argc, char *argv[]) #ifdef CONFIG_SPL_SIZE_LIMIT spl_size_limit = CONFIG_SPL_SIZE_LIMIT; +#if defined(CONFIG_IMX_HAB) && defined(CONFIG_CSF_SIZE) + spl_size_limit -= CONFIG_CSF_SIZE; +#endif #ifdef CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD spl_size_limit -= GENERATED_GBL_DATA_SIZE; #endif |