aboutsummaryrefslogtreecommitdiffstats
path: root/include/system-constants.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-09-26 08:14:16 -0600
committerTom Rini <trini@konsulko.com>2023-10-06 14:38:11 -0400
commit82e26e0d6883673bdedbcdb0ddd4bc967ce6ce70 (patch)
tree2e89f03140db4e7818f83cc492a1040fc9ae69a3 /include/system-constants.h
parentbe2abe73df58a35da9e8d5afb13fccdf1b0faa8e (diff)
downloadu-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.h6
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