[PATCH v2 164/169] Correct SPL use of VIDEO_ANSI
Simon Glass
sjg at chromium.org
Sun Feb 5 23:44:28 CET 2023
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_VIDEO_ANSI defined in Kconfig
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
cmd/cls.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/cls.c b/cmd/cls.c
index 787c7edbee3..40a32eeab63 100644
--- a/cmd/cls.c
+++ b/cmd/cls.c
@@ -19,7 +19,7 @@ static int do_video_clear(struct cmd_tbl *cmdtp, int flag, int argc,
/* Send clear screen and home */
printf(CSI "2J" CSI "1;1H");
- if (IS_ENABLED(CONFIG_VIDEO) && !CONFIG_IS_ENABLED(VIDEO_ANSI)) {
+ if (IS_ENABLED(CONFIG_VIDEO) && !IS_ENABLED(CONFIG_VIDEO_ANSI)) {
if (uclass_first_device_err(UCLASS_VIDEO, &dev))
return CMD_RET_FAILURE;
if (video_clear(dev))
--
2.39.1.519.gcb327c4b5f-goog
More information about the U-Boot
mailing list