1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-04 21:27:09 +01:00
Files
u-boot-megous/common
Stefan Herbrechtsmeier 930ef10992 common: cli_hush: Restore clear local variable support
The u-boot hush shell doesn’t support the unset command to clear a
variable and therefore an empty value ("c=") should be a valid value
for the set_local_var function to clear the variable. This partial
reverts commit aa72252963 ("common: cli_hush: avoid dead code") and
only checks for a `=` in the string. Additionally explicit call the
unset_local_var function to remove the variable if the value is empty.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-05-03 18:30:46 -04:00
..
2022-10-31 11:02:44 -04:00
2023-04-27 13:51:06 -04:00
2023-03-30 15:09:59 -04:00
2022-11-02 08:42:03 +01:00
2013-04-01 16:33:52 -04:00
2022-01-19 18:11:34 +01:00
2023-02-10 07:41:39 -05:00
2022-08-04 16:18:47 -04:00
2023-02-09 16:32:26 -05:00
2023-05-02 10:57:32 +02:00
2023-02-06 13:04:53 -05:00
2023-03-14 16:08:51 -06:00
2023-03-10 17:31:31 +01:00
2023-01-09 11:30:08 -05:00
2021-04-20 07:31:12 -04:00
2023-02-07 14:33:50 -05:00