summaryrefslogtreecommitdiff
path: root/common/spl
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-12-04 18:14:20 +0300
committerTom Rini <trini@konsulko.com>2022-12-23 21:01:13 +0300
commit90c7888c9d6b3223c32f068668f3bc5a81010f8e (patch)
treed6e95e03385c33f5d99775cc44710fc6f540b094 /common/spl
parent648d675a2fa2cd14526da676c020590fd546ac63 (diff)
downloadu-boot-90c7888c9d6b3223c32f068668f3bc5a81010f8e.tar.xz
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 2b1ac19152..5753bd228f 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)
{