From 6493fa4c3da3299ecf5fcbdb10de967162f12856 Mon Sep 17 00:00:00 2001 From: Patrick Delaunay Date: Fri, 3 Sep 2021 10:24:39 +0200 Subject: 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 Reviewed-by: Tom Rini --- cmd/spl.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'cmd') 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 -- cgit v1.3.1