aboutsummaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorTom Rini2022-12-04 10:14:20 -0500
committerTom Rini2022-12-23 13:01:13 -0500
commit90c7888c9d6b3223c32f068668f3bc5a81010f8e (patch)
treed6e95e03385c33f5d99775cc44710fc6f540b094 /common/spl
parent648d675a2fa2cd14526da676c020590fd546ac63 (diff)
common/spl/spl_ram: Remove unused default
We ask for CONFIG_SPL_LOAD_FIT_ADDRESS in Kconfig, so we cannot define it in C as a fall-back. However, this option previously was buried under "if ... endif" Kconfig logic. Rework a number of config options to now have more robust dependency lines so that we can ask this address when needed. With that done, we can remove the fallback in spl_ram.c. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/spl')
-rw-r--r--common/spl/spl_ram.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/spl/spl_ram.c b/common/spl/spl_ram.c
index 2b1ac191523..5753bd228f7 100644
--- a/common/spl/spl_ram.c
+++ b/common/spl/spl_ram.c
@@ -17,10 +17,6 @@
#include <spl.h>
#include <linux/libfdt.h>
-#ifndef CONFIG_SPL_LOAD_FIT_ADDRESS
-# define CONFIG_SPL_LOAD_FIT_ADDRESS 0
-#endif
-
static ulong spl_ram_load_read(struct spl_load_info *load, ulong sector,
ulong count, void *buf)
{