diff --git a/cmd/spl.c b/cmd/spl.c index 76fe33762df..379b512f1ff 100644 --- a/cmd/spl.c +++ b/cmd/spl.c @@ -60,8 +60,10 @@ static int call_bootm(int argc, char *const argv[], const char *subcommand[]) switch (argc) { case 3: bootm_argv[4] = argv[2]; /* fdt addr */ + fallthrough; case 2: bootm_argv[3] = argv[1]; /* initrd addr */ + fallthrough; case 1: bootm_argv[2] = argv[0]; /* kernel addr */ }