From: Simon Glass <sjg@chromium.org>
Date: Sun, 5 Feb 2023 22:40:06 +0000 (-0700)
Subject: Correct SPL use of HUSH_PARSER
X-Git-Tag: v2025.01-rc5-pxa1908~1114^2~63
X-Git-Url: http://git.dujemihanovic.xyz/%22mailto:Murray.Jensen%40csiro.au/static/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=b84d23d0cdb6367888ef9edd3c427ad1f7e9f7bc;p=u-boot.git

Correct SPL use of HUSH_PARSER

This converts 1 usage of this option to the non-SPL form, since there is
no SPL_HUSH_PARSER defined in Kconfig

Signed-off-by: Simon Glass <sjg@chromium.org>
---

diff --git a/common/cli.c b/common/cli.c
index ba45dad2db..9451e6a142 100644
--- a/common/cli.c
+++ b/common/cli.c
@@ -31,7 +31,7 @@
  */
 int run_command(const char *cmd, int flag)
 {
-#if !CONFIG_IS_ENABLED(HUSH_PARSER)
+#if !IS_ENABLED(CONFIG_HUSH_PARSER)
 	/*
 	 * cli_run_command can return 0 or 1 for success, so clean up
 	 * its result.