Files
u-boot/include/configs
Simon Glass 9458e39c65 mccmon6: Quote recovery_status in bootcmd test
The mccmon6 bootcmd starts with:

    if test -n ${recovery_status}; then run boot_recovery; ...

The default state is "no recovery requested", i.e. recovery_status
unset.  The expression then expands to 'test -n' with no operand and
relies on a U-Boot 'test' quirk that treats a missing operand as
false to skip recovery.

Quote the variable so an unset recovery_status expands to 'test -n ""'
and the emptiness check is explicit.

Fixes: 8b0619579b ("cmd: test: fix handling of single-argument form of test")
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Łukasz Majewski <lukma@nabladev.com>
2026-05-14 15:39:09 -06:00
..
2025-07-22 13:53:03 -06:00
2024-08-30 22:47:04 -03:00
2024-04-22 11:02:08 -06:00
2025-09-18 18:10:11 -06:00
2024-08-30 22:47:04 -03:00
2024-09-10 13:12:32 -06:00
2023-02-10 11:24:08 -05:00
2023-02-10 11:24:08 -05:00
2025-04-16 15:39:48 +02:00
2023-05-04 12:40:47 +02:00
2023-04-28 17:52:23 +02:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2023-11-06 10:20:21 -05:00
2023-02-06 13:04:53 -05:00
2025-07-22 13:53:03 -06:00
2024-08-13 06:12:33 +02:00
2024-08-13 06:12:33 +02:00
2024-08-13 06:12:33 +02:00
2024-09-19 00:13:20 -03:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2023-05-04 12:40:47 +02:00
2024-08-30 22:47:04 -03:00
2022-04-18 11:25:13 +08:00
2024-07-05 13:57:01 -06:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:46:58 -03:00
2024-08-30 22:47:04 -03:00
2024-08-30 22:47:04 -03:00
2023-01-18 19:41:16 -05:00
2024-08-30 22:47:04 -03:00
2023-02-06 13:04:53 -05:00
2023-09-03 23:33:04 +01:00
2025-06-26 13:45:33 -06:00
2024-10-03 09:29:23 -06:00
2024-10-03 09:29:23 -06:00
2024-10-03 09:29:23 -06:00
2024-07-05 13:57:01 -06:00
2024-08-13 06:07:31 +02:00
2022-03-03 16:51:19 -05:00
2024-07-05 13:57:01 -06:00
2026-04-27 11:26:40 -06:00
2026-04-27 11:26:40 -06:00
2026-04-27 11:26:40 -06:00
2024-07-05 13:57:01 -06:00
2025-07-27 23:11:31 +01:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2025-05-08 08:31:12 +03:00
2024-07-05 13:57:01 -06:00
2024-08-30 22:47:04 -03:00
2023-01-09 11:30:08 -05:00
2022-12-23 10:15:12 -05:00
2024-11-26 13:20:03 +01:00
2024-07-05 13:57:01 -06:00