Files
u-boot/include/configs
Tom Rini 9a13d08732 Merge patch series "test: Quote variables in 'test -n' expressions across boards"
Simon Glass <sjg@chromium.org> says:

Several boards use 'test -n ${var}' (unquoted) in env scripts to detect
an empty variable and trigger a fallback or skip a hook. That works only
because of a U-Boot 'test' quirk where calls with argc < 3 returned
false; an empty variable made the expression 'test -n' (one operand) and
hit that path.

Commit 8b0619579b ("cmd: test: fix handling of single-argument form of
test") aligned 'test' with POSIX so those expressions flipped to true.
f7e7c55e53 ("cmd: test: add bug-compatibility special case for 'test
-n'") restored the old behaviour for the exact 'test -n' (one arg) case,
so the boards are not broken at runtime today, but the reliance on a
bug-compat path isn't great.

This series updates various boards to quote each affected variable so
the emptiness check is explicit and does not depend on the
special-case path.

Each commit carries a Fixes: tag pointing at 8b0619579b

Link: https://lore.kernel.org/r/20260503204936.3151124-1-sjg@chromium.org
2026-05-14 15:39:22 -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-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
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
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
2026-05-04 22:19:49 +02: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