diff options
| author | Tom Rini <[email protected]> | 2023-01-10 11:19:28 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-20 12:27:06 -0500 |
| commit | a3fda0d30afa5e931520006351752cfb9c0103dd (patch) | |
| tree | fd6901713763ad44a013fc514e3f02f3fa8b6411 /common/spl | |
| parent | 8bd3c0a7e17ee17c771cabc0e548a1a436ac021d (diff) | |
global: Remove unused CONFIG defines
Remove some CONFIG symbols and related comments, etc, that are unused
within the code itself at this point.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'common/spl')
| -rw-r--r-- | common/spl/spl_fit.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/common/spl/spl_fit.c b/common/spl/spl_fit.c index 0e026bb3d8e..9ae3e5e35d4 100644 --- a/common/spl/spl_fit.c +++ b/common/spl/spl_fit.c @@ -20,14 +20,6 @@ DECLARE_GLOBAL_DATA_PTR; -#ifndef CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ -#define CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY_BUF_SZ (64 * 1024) -#endif - -#ifndef CONFIG_SYS_BOOTM_LEN -#define CONFIG_SYS_BOOTM_LEN (64 << 20) -#endif - struct spl_fit_info { const void *fit; /* Pointer to a valid FIT blob */ size_t ext_data_offset; /* Offset to FIT external data (end of FIT) */ @@ -408,7 +400,7 @@ static int spl_fit_append_fdt(struct spl_image_info *spl_image, if (CONFIG_IS_ENABLED(FIT_IMAGE_TINY)) return 0; - if (CONFIG_IS_ENABLED(LOAD_FIT_APPLY_OVERLAY)) { +#if CONFIG_IS_ENABLED(LOAD_FIT_APPLY_OVERLAY) void *tmpbuffer = NULL; for (; ; index++) { @@ -462,7 +454,7 @@ static int spl_fit_append_fdt(struct spl_image_info *spl_image, free(tmpbuffer); if (ret) return ret; - } +#endif /* Try to make space, so we can inject details on the loadables */ ret = fdt_shrink_to_minimum(spl_image->fdt_addr, 8192); if (ret < 0) |
