summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-05-18 10:48:20 -0600
committerTom Rini <[email protected]>2026-05-18 10:48:20 -0600
commit11e1be868cbf119203445a2a4b1bf6a56dece031 (patch)
tree4f028e4c0c6b41ea3244a4effd46406fb5d5a2f5 /cmd
parentdc4dd589269d0c3fbaee6be41241b66d685686b2 (diff)
parent0d131b3b06023c3fe0d1a98588e17a7894e318f0 (diff)
Merge tag 'qcom-next-18May2026' of https://source.denx.de/u-boot/custodians/u-boot-snapdragon into next
- SM6125 gains initial support - The qcom clock drivers get better support for configuring UFS clocks - ufetch gets some aesthetic improvements - A minor bug in the qcm2290 clock driver is fixed - A few qcom drivers get static/constified - The GENI serial driver has the RX watermark register properly set
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ufetch.c29
1 files changed, 20 insertions, 9 deletions
diff --git a/cmd/ufetch.c b/cmd/ufetch.c
index f8dc904bdd0..e7b5d773f5e 100644
--- a/cmd/ufetch.c
+++ b/cmd/ufetch.c
@@ -157,26 +157,37 @@ static int do_ufetch(struct cmd_tbl *cmdtp, int flag, int argc,
printf(" (%d baud)", gd->baudrate);
putc('\n');
break;
- case FEATURES:
+ case FEATURES: {
+ const char *sep = "";
+
printf("Features:" RESET " ");
- if (IS_ENABLED(CONFIG_NET_LEGACY))
- printf("Net");
- if (IS_ENABLED(CONFIG_EFI_LOADER))
- printf(", EFI");
- if (IS_ENABLED(CONFIG_CMD_CAT))
- printf(", cat :3");
+ if (IS_ENABLED(CONFIG_NET)) {
+ printf("%sNet", sep);
+ sep = ", ";
+ }
+ if (IS_ENABLED(CONFIG_EFI_LOADER)) {
+ printf("%sEFI", sep);
+ sep = ", ";
+ }
+ if (IS_ENABLED(CONFIG_CMD_CAT)) {
+ printf("%scat :3", sep);
+ sep = ", ";
+ }
#ifdef CONFIG_ARM64
switch (current_el()) {
case 2:
- printf(", VMs");
+ printf("%sVMs", sep);
+ sep = ", ";
break;
case 3:
- printf(", full control!");
+ printf("%sfull control!", sep);
+ sep = ", ";
break;
}
#endif
printf("\n");
break;
+ }
case RELOCATION:
if (gd->flags & GD_FLG_SKIP_RELOC)
printf("Relocated:" RESET " no\n");