diff options
author | Simon Glass <sjg@chromium.org> | 2023-09-26 08:14:16 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-06 14:38:11 -0400 |
commit | 82e26e0d6883673bdedbcdb0ddd4bc967ce6ce70 (patch) | |
tree | 2e89f03140db4e7818f83cc492a1040fc9ae69a3 /include/system-constants.h | |
parent | be2abe73df58a35da9e8d5afb13fccdf1b0faa8e (diff) | |
download | u-boot-82e26e0d6883673bdedbcdb0ddd4bc967ce6ce70.tar.gz |
spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...
We like to put the SPL first so it is clear that it relates to SPL. Rename
various malloc-related options which have crept in, to stick to this
convention.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Martyn Welch <martyn.welch@collabora.com>
Reviewed-by: Svyatoslav Ryhel <clamor95@gmail.com>
Diffstat (limited to 'include/system-constants.h')
-rw-r--r-- | include/system-constants.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/system-constants.h b/include/system-constants.h index 0d6b71b35a0..f0a191be590 100644 --- a/include/system-constants.h +++ b/include/system-constants.h @@ -22,10 +22,10 @@ /* * Typically, we have the SPL malloc pool at the end of the BSS area. */ -#ifdef CONFIG_HAS_CUSTOM_SPL_MALLOC_START -#define SYS_SPL_MALLOC_START CONFIG_CUSTOM_SYS_SPL_MALLOC_ADDR +#ifdef CONFIG_SPL_HAS_CUSTOM_MALLOC_START +#define SPL_SYS_MALLOC_START CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR #else -#define SYS_SPL_MALLOC_START (CONFIG_SPL_BSS_START_ADDR + \ +#define SPL_SYS_MALLOC_START (CONFIG_SPL_BSS_START_ADDR + \ CONFIG_SPL_BSS_MAX_SIZE) #endif |