summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-04-26 13:29:49 -0400
committerTom Rini <[email protected]>2023-04-26 13:29:49 -0400
commitcaf0a88d9f317aecada0cece5d7f9df371058805 (patch)
tree3b7384c980d3b1eab26b088a26d0ad1f83452026 /cmd
parent2356053a945899687e894a3e3b3de09dd9814bb8 (diff)
parent4204c50cbb5ac85e12a6a5a738d6d80b28147a88 (diff)
Merge branch '2023-04-26-enable-bootstd-for-all-rockchip'
- Merge Simon's series that enables bootstd and the distro bootmeth there for all of Rockchip.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bootflow.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/bootflow.c b/cmd/bootflow.c
index 42f6e14a437..aa06999e3db 100644
--- a/cmd/bootflow.c
+++ b/cmd/bootflow.c
@@ -181,6 +181,9 @@ static int do_bootflow_scan(struct cmd_tbl *cmdtp, int flag, int argc,
if (list)
show_footer(i, num_valid);
+ if (IS_ENABLED(CONFIG_CMD_BOOTFLOW_FULL) && !num_valid && !list)
+ printf("No bootflows found; try again with -l\n");
+
return 0;
}