aboutsummaryrefslogtreecommitdiff
path: root/cmd/spl.c
diff options
context:
space:
mode:
authorPatrick Delaunay2021-09-03 10:24:39 +0200
committerTom Rini2021-09-24 14:30:46 -0400
commit6493fa4c3da3299ecf5fcbdb10de967162f12856 (patch)
tree625b1760756012a4a1b78ea202e8f969392280cf /cmd/spl.c
parent7d1fcaea128ff689aea75deaf7f75d75d1b553d3 (diff)
arm: use CONFIG_SUPPORT_PASSING_ATAGS
Simplify the bootm and the spl code by using the new config CONFIG_SUPPORT_PASSING_ATAGS. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'cmd/spl.c')
-rw-r--r--cmd/spl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cmd/spl.c b/cmd/spl.c
index 472703f8fe1..8a2ded72be9 100644
--- a/cmd/spl.c
+++ b/cmd/spl.c
@@ -32,11 +32,7 @@ static const char **subcmd_list[] = {
NULL,
},
[SPL_EXPORT_ATAGS] = (const char * []) {
-#if defined(CONFIG_SETUP_MEMORY_TAGS) || \
- defined(CONFIG_CMDLINE_TAG) || \
- defined(CONFIG_INITRD_TAG) || \
- defined(CONFIG_SERIAL_TAG) || \
- defined(CONFIG_REVISION_TAG)
+#ifdef CONFIG_SUPPORT_PASSING_ATAGS
"start",
"loados",
#ifdef CONFIG_SYS_BOOT_RAMDISK_HIGH