aboutsummaryrefslogtreecommitdiff
path: root/include/config_fallbacks.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-05-16 17:20:26 -0400
committerTom Rini <trini@konsulko.com>2022-06-06 12:09:06 -0400
commitca8a329a1b7f3195ee56fee4c0906ee883383dfa (patch)
tree8672fcf56ab0cfdf16945cdcaca4b2b1ac72a4a5 /include/config_fallbacks.h
parent4a11e34bc9c0f3818f3e847ac51c82d1c9bbb807 (diff)
Convert CONFIG_SPL_PAD_TO et al to Kconfig
This converts the following to Kconfig: CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE CONFIG_TPL_PAD_TO CONFIG_TPL_MAX_SIZE Note that we need to make TPL_MAX_SIZE be hex, and so move and convert the existing places. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r--include/config_fallbacks.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h
index 4fb74e7568..17c76bcf3d 100644
--- a/include/config_fallbacks.h
+++ b/include/config_fallbacks.h
@@ -9,20 +9,12 @@
#ifndef __CONFIG_FALLBACKS_H
#define __CONFIG_FALLBACKS_H
-#ifdef CONFIG_SPL
#ifdef CONFIG_SPL_PAD_TO
#ifdef CONFIG_SPL_MAX_SIZE
#if CONFIG_SPL_PAD_TO && CONFIG_SPL_PAD_TO < CONFIG_SPL_MAX_SIZE
#error CONFIG_SPL_PAD_TO < CONFIG_SPL_MAX_SIZE
#endif
#endif
-#else
-#ifdef CONFIG_SPL_MAX_SIZE
-#define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE
-#else
-#define CONFIG_SPL_PAD_TO 0
-#endif
-#endif
#endif
#ifndef CONFIG_SYS_BAUDRATE_TABLE